diff options
-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 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 | ||
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 e20d3f2a..1e8146a8 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 d6778caa..eba4ac9f 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 0f886c00..1404abd2 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 fccfe0aa..3e98d3c1 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" |