Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Arm Trusted Firmware
Commits
ec92cbcb
Commit
ec92cbcb
authored
5 years ago
by
John Tsichritzis
Committed by
TrustedFirmware Code Review
5 years ago
Browse files
Options
Download
Plain Diff
Merge "plat/intel: Fix SMPLSEL for MMC" into integration
parents
f15d7e83
0943ea37
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
plat/intel/soc/stratix10/include/s10_system_manager.h
+5
-0
plat/intel/soc/stratix10/include/s10_system_manager.h
plat/intel/soc/stratix10/soc/s10_system_manager.c
+3
-0
plat/intel/soc/stratix10/soc/s10_system_manager.c
with
8 additions
and
0 deletions
+8
-0
plat/intel/soc/stratix10/include/s10_system_manager.h
View file @
ec92cbcb
...
...
@@ -59,6 +59,11 @@
#define S10_CCU_NOC_CPU0_RAMSPACE0_0 0xf7004688
#define S10_CCU_NOC_IOM_RAMSPACE0_0 0xf7018628
#define S10_SYSMGR_CORE(x) (0xffd12000 + (x))
#define SYSMGR_MMC 0x28
#define SYSMGR_MMC_DRVSEL(x) (((x) & 0x7) << 0)
#define DISABLE_L4_FIREWALL (BIT(0) | BIT(16) | BIT(24))
void
enable_nonsecure_access
(
void
);
...
...
This diff is collapsed.
Click to expand it.
plat/intel/soc/stratix10/soc/s10_system_manager.c
View file @
ec92cbcb
...
...
@@ -86,5 +86,8 @@ void enable_nonsecure_access(void)
mmio_clrbits_32
(
S10_CCU_NOC_CPU0_RAMSPACE0_0
,
0x03
);
mmio_clrbits_32
(
S10_CCU_NOC_IOM_RAMSPACE0_0
,
0x03
);
mmio_write_32
(
S10_SYSMGR_CORE
(
SYSMGR_MMC
),
SYSMGR_MMC_DRVSEL
(
3
));
}
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help