mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-13 16:14:20 +00:00
uniphier: define PLAT_XLAT_TABLES_DYNAMIC only for BL2
This is not used in BL31 or Bl32 for this platform. Pass it to BL2_CPPFLAGS instead of defining it for all BL images. This will produce slightly smaller BL31 and Bl32. Change-Id: I66ec5179f8dc5b112e65547335e7dd0a0f4074cd Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
This commit is contained in:
parent
1dc1756946
commit
46e2c853d6
2 changed files with 3 additions and 1 deletions
|
@ -62,7 +62,6 @@
|
|||
#define PLAT_PHY_ADDR_SPACE_SIZE (1ULL << 32)
|
||||
#define PLAT_VIRT_ADDR_SPACE_SIZE (1ULL << 32)
|
||||
|
||||
#define PLAT_XLAT_TABLES_DYNAMIC 1
|
||||
#define MAX_XLAT_TABLES 9
|
||||
#define MAX_MMAP_REGIONS 13
|
||||
|
||||
|
|
|
@ -21,6 +21,9 @@ BL31_CPPFLAGS += -DPLAT_RO_XLAT_TABLES
|
|||
BL32_CPPFLAGS += -DPLAT_RO_XLAT_TABLES
|
||||
endif
|
||||
|
||||
# The dynamic xlat table is only used in BL2
|
||||
BL2_CPPFLAGS += -DPLAT_XLAT_TABLES_DYNAMIC
|
||||
|
||||
# Cortex-A53 revision r0p4-51rel0
|
||||
# needed for LD20, unneeded for LD11, PXs3 (no ACE)
|
||||
ERRATA_A53_855873 := 1
|
||||
|
|
Loading…
Add table
Reference in a new issue