summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--classes/imx-boot-container.bbclass7
-rw-r--r--conf/machine/imx8mq-evk.conf1
-rw-r--r--conf/machine/include/imx8mm-evk.inc1
-rw-r--r--conf/machine/include/imx8mn-evk.inc1
-rw-r--r--conf/machine/include/imx8mp-evk.inc1
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
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);
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
69ATF_PLATFORM = "imx8mq" 69ATF_PLATFORM = "imx8mq"
70ATF_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
73IMX_EXTRA_FIRMWARE = "firmware-imx-8m" 72IMX_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"
39SPL_BINARY = "spl/u-boot-spl.bin" 39SPL_BINARY = "spl/u-boot-spl.bin"
40 40
41ATF_PLATFORM = "imx8mm" 41ATF_PLATFORM = "imx8mm"
42ATF_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
45IMX_EXTRA_FIRMWARE = "firmware-imx-8m" 44IMX_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"
40SPL_BINARY = "spl/u-boot-spl.bin" 40SPL_BINARY = "spl/u-boot-spl.bin"
41 41
42ATF_PLATFORM = "imx8mn" 42ATF_PLATFORM = "imx8mn"
43ATF_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
46IMX_EXTRA_FIRMWARE = "firmware-imx-8m" 45IMX_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"
36SPL_BINARY = "spl/u-boot-spl.bin" 36SPL_BINARY = "spl/u-boot-spl.bin"
37 37
38ATF_PLATFORM = "imx8mp" 38ATF_PLATFORM = "imx8mp"
39ATF_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
42IMX_EXTRA_FIRMWARE = "firmware-imx-8m" 41IMX_EXTRA_FIRMWARE = "firmware-imx-8m"