Skip to content
GitLab
Menu
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
Jul 11, 2019
by
John Tsichritzis
Committed by
TrustedFirmware Code Review
Jul 11, 2019
Browse files
Merge "plat/intel: Fix SMPLSEL for MMC" into integration
parents
f15d7e83
0943ea37
Changes
2
Hide whitespace changes
Inline
Side-by-side
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
);
...
...
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
));
}
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