summaryrefslogtreecommitdiffstats
path: root/classes
diff options
context:
space:
mode:
authorAndrey Zhizhikin <andrey.z@gmail.com>2022-03-07 15:45:00 +0000
committerAndrey Zhizhikin <andrey.z@gmail.com>2022-03-07 15:45:00 +0000
commit5c9ada268fe67c27e3c64a17415bb3bdabc09748 (patch)
treefe55ea88d464878def6070af92d79464e3f10fa8 /classes
parentcebc5153a331f21173b93fbb5b79bc9c3975541f (diff)
downloadmeta-freescale-5c9ada268fe67c27e3c64a17415bb3bdabc09748.tar.gz
conf: machine: imx8m*: clean-up obsolete ATF load address
Upstream U-Boot commit d9a6f0eed66a ("tree: imx: remove old fit generator script") dropped the FIT generator script, which was using environment variable setting the ATF load address into the FIT ITS file. This has been replaced by binman node description, where ATF address is defined, hence the enviroment variable is not required anymore. Clean-up the layer's class and machine description to remove the variable, which is not used anymore. Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
Diffstat (limited to 'classes')
-rw-r--r--classes/imx-boot-container.bbclass7
1 files changed, 0 insertions, 7 deletions
diff --git a/classes/imx-boot-container.bbclass b/classes/imx-boot-container.bbclass
index 19b43312..a3496e8b 100644
--- a/classes/imx-boot-container.bbclass
+++ b/classes/imx-boot-container.bbclass
@@ -33,16 +33,9 @@ do_resolve_and_populate_binaries[depends] += " \
33 ${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'optee-os:do_deploy', '', d)} \ 33 ${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'optee-os:do_deploy', '', d)} \
34" 34"
35 35
36# Append make flags to include ATF load address
37EXTRA_OEMAKE += "ATF_LOAD_ADDR=${ATF_LOAD_ADDR}"
38
39# Define an additional task that collects binary output from dependent packages 36# Define an additional task that collects binary output from dependent packages
40# and deploys them into the U-Boot build folder 37# and deploys them into the U-Boot build folder
41do_resolve_and_populate_binaries() { 38do_resolve_and_populate_binaries() {
42 if [ ! -n "${ATF_LOAD_ADDR}" ]; then
43 bberror "ATF_LOAD_ADDR is undefined, result binary would be unusable!"
44 fi
45
46 if [ -n "${UBOOT_CONFIG}" ]; then 39 if [ -n "${UBOOT_CONFIG}" ]; then
47 for config in ${UBOOT_MACHINE}; do 40 for config in ${UBOOT_MACHINE}; do
48 i=$(expr $i + 1); 41 i=$(expr $i + 1);