diff options
author | Andrey Zhizhikin <andrey.z@gmail.com> | 2022-03-07 15:45:00 +0000 |
---|---|---|
committer | Andrey Zhizhikin <andrey.z@gmail.com> | 2022-03-07 15:45:00 +0000 |
commit | 5c9ada268fe67c27e3c64a17415bb3bdabc09748 (patch) | |
tree | fe55ea88d464878def6070af92d79464e3f10fa8 | |
parent | cebc5153a331f21173b93fbb5b79bc9c3975541f (diff) | |
download | meta-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>
-rw-r--r-- | classes/imx-boot-container.bbclass | 7 | ||||
-rw-r--r-- | conf/machine/imx8mq-evk.conf | 1 | ||||
-rw-r--r-- | conf/machine/include/imx8mm-evk.inc | 1 | ||||
-rw-r--r-- | conf/machine/include/imx8mn-evk.inc | 1 | ||||
-rw-r--r-- | conf/machine/include/imx8mp-evk.inc | 1 |
5 files changed, 0 insertions, 11 deletions
diff --git a/classes/imx-boot-container.bbclass b/classes/imx-boot-container.bbclass index 19b433128..a3496e8b4 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 | ||
37 | EXTRA_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 |
41 | do_resolve_and_populate_binaries() { | 38 | do_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); |
diff --git a/conf/machine/imx8mq-evk.conf b/conf/machine/imx8mq-evk.conf index e20d3f2a5..1e8146a87 100644 --- a/conf/machine/imx8mq-evk.conf +++ b/conf/machine/imx8mq-evk.conf | |||
@@ -67,7 +67,6 @@ UBOOT_DTB_NAME = "imx8mq-evk.dtb" | |||
67 | 67 | ||
68 | # Set ATF platform name | 68 | # Set ATF platform name |
69 | ATF_PLATFORM = "imx8mq" | 69 | ATF_PLATFORM = "imx8mq" |
70 | ATF_LOAD_ADDR = "0x910000" | ||
71 | 70 | ||
72 | # Extra firmware package name, that is required to build boot container for fslc bsp | 71 | # Extra firmware package name, that is required to build boot container for fslc bsp |
73 | IMX_EXTRA_FIRMWARE = "firmware-imx-8m" | 72 | IMX_EXTRA_FIRMWARE = "firmware-imx-8m" |
diff --git a/conf/machine/include/imx8mm-evk.inc b/conf/machine/include/imx8mm-evk.inc index d6778caaa..eba4ac9f3 100644 --- a/conf/machine/include/imx8mm-evk.inc +++ b/conf/machine/include/imx8mm-evk.inc | |||
@@ -39,7 +39,6 @@ UBOOT_CONFIG[mfgtool] = "${UBOOT_CONFIG_BASENAME}_defconfig" | |||
39 | SPL_BINARY = "spl/u-boot-spl.bin" | 39 | SPL_BINARY = "spl/u-boot-spl.bin" |
40 | 40 | ||
41 | ATF_PLATFORM = "imx8mm" | 41 | ATF_PLATFORM = "imx8mm" |
42 | ATF_LOAD_ADDR = "0x920000" | ||
43 | 42 | ||
44 | # Extra firmware package name, that is required to build boot container for fslc bsp | 43 | # Extra firmware package name, that is required to build boot container for fslc bsp |
45 | IMX_EXTRA_FIRMWARE = "firmware-imx-8m" | 44 | IMX_EXTRA_FIRMWARE = "firmware-imx-8m" |
diff --git a/conf/machine/include/imx8mn-evk.inc b/conf/machine/include/imx8mn-evk.inc index 0f886c007..1404abd2d 100644 --- a/conf/machine/include/imx8mn-evk.inc +++ b/conf/machine/include/imx8mn-evk.inc | |||
@@ -40,7 +40,6 @@ UBOOT_CONFIG[mfgtool] = "${UBOOT_CONFIG_BASENAME}_defconfig" | |||
40 | SPL_BINARY = "spl/u-boot-spl.bin" | 40 | SPL_BINARY = "spl/u-boot-spl.bin" |
41 | 41 | ||
42 | ATF_PLATFORM = "imx8mn" | 42 | ATF_PLATFORM = "imx8mn" |
43 | ATF_LOAD_ADDR = "0x960000" | ||
44 | 43 | ||
45 | # Extra firmware package name, that is required to build boot container for fslc bsp | 44 | # Extra firmware package name, that is required to build boot container for fslc bsp |
46 | IMX_EXTRA_FIRMWARE = "firmware-imx-8m" | 45 | IMX_EXTRA_FIRMWARE = "firmware-imx-8m" |
diff --git a/conf/machine/include/imx8mp-evk.inc b/conf/machine/include/imx8mp-evk.inc index fccfe0aa4..3e98d3c17 100644 --- a/conf/machine/include/imx8mp-evk.inc +++ b/conf/machine/include/imx8mp-evk.inc | |||
@@ -36,7 +36,6 @@ UBOOT_CONFIG[mfgtool] = "${UBOOT_CONFIG_BASENAME}_defconfig" | |||
36 | SPL_BINARY = "spl/u-boot-spl.bin" | 36 | SPL_BINARY = "spl/u-boot-spl.bin" |
37 | 37 | ||
38 | ATF_PLATFORM = "imx8mp" | 38 | ATF_PLATFORM = "imx8mp" |
39 | ATF_LOAD_ADDR = "0x970000" | ||
40 | 39 | ||
41 | # Extra firmware package name, that is required to build boot container for fslc bsp | 40 | # Extra firmware package name, that is required to build boot container for fslc bsp |
42 | IMX_EXTRA_FIRMWARE = "firmware-imx-8m" | 41 | IMX_EXTRA_FIRMWARE = "firmware-imx-8m" |