]> git.baikalelectronics.ru Git - arm-tf.git/commit
fix(zynqmp): with DEBUG=1 move bl31 to DDR range
authorAkshay Belsare <akshay.belsare@amd.com>
Wed, 15 Feb 2023 05:19:52 +0000 (10:49 +0530)
committerAkshay Belsare <akshay.belsare@amd.com>
Wed, 15 Feb 2023 15:42:31 +0000 (21:12 +0530)
commit2537f0725ee7d8f46bef3e5b49134419b5c3367b
treed1def4c6f5cdebefc5bdf9bae04c2630217ce77a
parent12446ce89e351959aebb610eb2e35cdc7eb84d26
fix(zynqmp): with DEBUG=1 move bl31 to DDR range

Due to size constraints in OCM memory range keeping the bl31 with
DEBUG=1 overlaps with the memory range from other Firmware thus
affecting the bootflow on target.
bl31 binary can not be placed in OCM memory range when built with
DEBUG=1.
With DEBUG=1, by default bl31 is moved to DDR memory range
0x1000-0x7FFFF.
The user can provide a custom DDR memory range during build time using
the build parameters ZYNQMP_ATF_MEM_BASE and ZYNQMP_ATF_MEM_SIZE.

Change-Id: I167d5eadbae7c6d3ec9b32f494b0b1a819bea5b0
Signed-off-by: Akshay Belsare <akshay.belsare@amd.com>
docs/plat/xilinx-zynqmp.rst
plat/xilinx/zynqmp/include/platform_def.h