aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSreeja Vadakattu <svadakat@xilinx.com>2018-08-15 13:07:38 -0700
committerManjukumar Matha <manjukumar.harthikote-matha@xilinx.com>2019-01-01 20:03:46 -0800
commitda492eac34bd3c319f2e538b2e93e73c9a255ec7 (patch)
treee122abed78ae7cf73bfee5c277b72913df3184cb
parent9859aeef1c529ec21d53276907ce72901c4cee6c (diff)
downloadmeta-xilinx-da492eac34bd3c319f2e538b2e93e73c9a255ec7.tar.gz
meta-xilinx-da492eac34bd3c319f2e538b2e93e73c9a255ec7.tar.bz2
meta-xilinx-da492eac34bd3c319f2e538b2e93e73c9a255ec7.zip
arm-trusted-firmware.inc: define ATF_MEM_BASE/SIZE
Define ATF_MEM_BASE & ATF_MEM_SIZE. Add ZYNQMP_ATF_MEM_BASE='ATF_MEM_BASE' to extra_oemake flag for zynqmp platform Similarly for ATF_MEM_SIZE According to atf documentation, ATF_MEM_BASE & SIZE have to be defined together. For more info refer: arm-trusted-firmware-src/docs/plat/<platform>.md's Signed-off-by: Sreeja Vadakattu <svadakat@xilinx.com> Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
-rw-r--r--meta-xilinx-bsp/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta-xilinx-bsp/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware.inc b/meta-xilinx-bsp/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware.inc
index 1f99bd2..d64fad9 100644
--- a/meta-xilinx-bsp/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware.inc
+++ b/meta-xilinx-bsp/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware.inc
@@ -47,6 +47,11 @@ EXTRA_OEMAKE_append = " ${@bb.utils.contains('DEBUG', '1', ' DEBUG=${DEBUG}', ''
OUTPUT_DIR = "${@bb.utils.contains('DEBUG', '1', '${B}/${PLATFORM}/debug', '${B}/${PLATFORM}/release', d)}"
+ATF_MEM_BASE ?= ""
+ATF_MEM_SIZE ?= ""
+
+EXTRA_OEMAKE_zynqmp_append = "${@' ZYNQMP_ATF_MEM_BASE=${ATF_MEM_BASE}' if d.getVar('ATF_MEM_BASE', True) != '' else ''}"
+EXTRA_OEMAKE_zynqmp_append = "${@' ZYNQMP_ATF_MEM_SIZE=${ATF_MEM_SIZE}' if d.getVar('ATF_MEM_SIZE', True) != '' else ''}"
do_configure() {
oe_runmake clean -C ${S} BUILD_BASE=${B} PLAT=${PLATFORM}