diff options
author | Jolly Shah <jollys@xilinx.com> | 2018-01-30 11:31:53 -0800 |
---|---|---|
committer | Jolly Shah <jollys@xilinx.com> | 2018-03-15 10:24:00 -0700 |
commit | 3077f8d96a6d8b92e6a6a8c9e57fefeed3a8a92f (patch) | |
tree | 6b98ebca7fa23362727d0ec15225e873aab5ea4d /plat | |
parent | bd99265b06fa337fa6f33d374967019e3e9a1bdf (diff) | |
download | platform_external_arm-trusted-firmware-3077f8d96a6d8b92e6a6a8c9e57fefeed3a8a92f.tar.gz platform_external_arm-trusted-firmware-3077f8d96a6d8b92e6a6a8c9e57fefeed3a8a92f.tar.bz2 platform_external_arm-trusted-firmware-3077f8d96a6d8b92e6a6a8c9e57fefeed3a8a92f.zip |
zynqmp: Use DDR memory when DEBUG is enabled
Define default DDR location to which ATF has to compiled
if DEBUG option is enabled. This is required now, as the ATF cant fit
in OCM with DEBUG option enabled. The default value is 0x1000 and can be
used till 0x7ffff. User can still override as per wish/requirement
using current commandline options.
Signed-off-by: Jolly Shah <jollys@xilinx.com>
Diffstat (limited to 'plat')
-rw-r--r-- | plat/xilinx/zynqmp/include/platform_def.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/plat/xilinx/zynqmp/include/platform_def.h b/plat/xilinx/zynqmp/include/platform_def.h index b44623548..e74b9bbfd 100644 --- a/plat/xilinx/zynqmp/include/platform_def.h +++ b/plat/xilinx/zynqmp/include/platform_def.h @@ -34,9 +34,14 @@ * little space for growth. */ #ifndef ZYNQMP_ATF_MEM_BASE +#if !DEBUG # define BL31_BASE 0xfffea000 # define BL31_LIMIT 0xffffffff #else +# define BL31_BASE 0x1000 +# define BL31_LIMIT 0x7ffff +#endif +#else # define BL31_BASE (ZYNQMP_ATF_MEM_BASE) # define BL31_LIMIT (ZYNQMP_ATF_MEM_BASE + ZYNQMP_ATF_MEM_SIZE - 1) # ifdef ZYNQMP_ATF_MEM_PROGBITS_SIZE |