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
ddc5bfdb
Commit
ddc5bfdb
authored
Jul 31, 2017
by
davidcunado-arm
Committed by
GitHub
Jul 31, 2017
Browse files
Merge pull request #1035 from sandrine-bailleux-arm/sb/xlat-lib-ctx
Translation table library v2 improvements
parents
2252c67d
de3d704d
Changes
22
Hide whitespace changes
Inline
Side-by-side
plat/arm/board/fvp/fvp_common.c
View file @
ddc5bfdb
...
...
@@ -36,6 +36,10 @@ arm_config_t arm_config;
DEVICE1_SIZE, \
MT_DEVICE | MT_RW | MT_SECURE)
/*
* Need to be mapped with write permissions in order to set a new non-volatile
* counter value.
*/
#define MAP_DEVICE2 MAP_REGION_FLAT(DEVICE2_BASE, \
DEVICE2_SIZE, \
MT_DEVICE | MT_RW | MT_SECURE)
...
...
@@ -56,8 +60,10 @@ const mmap_region_t plat_arm_mmap[] = {
V2M_MAP_IOFPGA
,
MAP_DEVICE0
,
MAP_DEVICE1
,
MAP_DEVICE2
,
#if TRUSTED_BOARD_BOOT
/* To access the Root of Trust Public Key registers. */
MAP_DEVICE2
,
/* Map DRAM to authenticate NS_BL2U image. */
ARM_MAP_NS_DRAM1
,
#endif
{
0
}
...
...
@@ -70,9 +76,12 @@ const mmap_region_t plat_arm_mmap[] = {
V2M_MAP_IOFPGA
,
MAP_DEVICE0
,
MAP_DEVICE1
,
MAP_DEVICE2
,
ARM_MAP_NS_DRAM1
,
ARM_MAP_TSP_SEC_MEM
,
#if TRUSTED_BOARD_BOOT
/* To access the Root of Trust Public Key registers. */
MAP_DEVICE2
,
#endif
#if ARM_BL31_IN_DRAM
ARM_MAP_BL31_SEC_DRAM
,
#endif
...
...
plat/socionext/uniphier/platform.mk
View file @
ddc5bfdb
...
...
@@ -38,7 +38,6 @@ IO_SOURCES := drivers/io/io_block.c \
# common sources for BL1, BL2, BL31
PLAT_BL_COMMON_SOURCES
+=
drivers/console/aarch64/console.S
\
lib/xlat_tables_v2/aarch64/xlat_tables_arch.c
\
lib/xlat_tables_v2/xlat_tables_common.c
\
lib/xlat_tables_v2/xlat_tables_internal.c
\
$(PLAT_PATH)
/uniphier_console.S
\
$(PLAT_PATH)
/uniphier_helpers.S
\
...
...
Prev
1
2
Next
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