Fix build for SEPARATE_CODE_AND_RODATA=0
authorDaniel Boulby <daniel.boulby@arm.com>
Mon, 16 Jul 2018 13:09:15 +0000 (14:09 +0100)
committerDaniel Boulby <daniel.boulby@arm.com>
Wed, 1 Aug 2018 15:26:26 +0000 (16:26 +0100)
commit2ecaafd2e832593e3f5b0a14c166ff88e4bebe43
tree8de9abcb6c0669dc4ac1838c4e4ab0a01a47b801
parent60e062fb0e33f7d9825267cbfb397d7c7aca1169
Fix build for SEPARATE_CODE_AND_RODATA=0

TF won't build since no memory region is specified
for when SEPARATE_CODE_AND_RODATA=0 it still relies on
the ARM_MAP_BL_RO_DATA region which is never defined for
this case. Create memory region combining code and RO data for
when the build flag SEPARATE_CODE_AND_RODATA=0 to fix this

Change-Id: I6c129eb0833497710cce55e76b8908ce03e0a638
Signed-off-by: Daniel Boulby <daniel.boulby@arm.com>
include/plat/arm/common/arm_def.h
plat/arm/common/arm_bl1_setup.c
plat/arm/common/arm_bl2_el3_setup.c
plat/arm/common/arm_bl2_setup.c
plat/arm/common/arm_bl2u_setup.c
plat/arm/common/arm_bl31_setup.c
plat/arm/common/sp_min/arm_sp_min_setup.c
plat/arm/common/tsp/arm_tsp_setup.c