summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRogerio Guerra Borin <[email protected]>2024-08-29 08:23:57 -0300
committerFabio Estevam <[email protected]>2024-08-30 22:32:35 -0300
commit4707913ebe4084f0ef129419ddd8205f2b7fd0db (patch)
treef994fbf3dbb2efc12994def98f725055b48ee682
parent75e8b677b7cc9a4ffddcf90d5c41afa7b7a19658 (diff)
configs: verdin-imx8m[mp]: set CONFIG_SPL_LOAD_FIT_ADDRESS
Set the CONFIG_SPL_LOAD_FIT_ADDRESS for both verdin-imx8mm and verdin-imx8mp configurations to specify the load address for FIT images loaded by the SPL. As per lastest instructions from NXP, the generation of a HABv4 CSF (Command Sequence File) requires the U-Boot FIT image (u-boot.itb) load address to be set to a fixed value when binman is used. The address is defined by CONFIG_SPL_LOAD_FIT_ADDRESS. Here we set CONFIG_SPL_LOAD_FIT_ADDRESS to an address 64MB past the start of the DDR memory leaving plenty of room for the various DDR- residing artifacts to be moved to their usual load addresses which are close to the start of the DDR. Signed-off-by: Rogerio Guerra Borin <[email protected]> Signed-off-by: Hiago De Franco <[email protected]> Acked-by: Francesco Dolcini <[email protected]>
-rw-r--r--configs/verdin-imx8mm_defconfig1
-rw-r--r--configs/verdin-imx8mp_defconfig1
2 files changed, 2 insertions, 0 deletions
diff --git a/configs/verdin-imx8mm_defconfig b/configs/verdin-imx8mm_defconfig
index 9ca205586a0..a7e969d3cfc 100644
--- a/configs/verdin-imx8mm_defconfig
+++ b/configs/verdin-imx8mm_defconfig
@@ -29,6 +29,7 @@ CONFIG_FIT=y
CONFIG_FIT_EXTERNAL_OFFSET=0x3000
CONFIG_FIT_VERBOSE=y
CONFIG_SPL_LOAD_FIT=y
+CONFIG_SPL_LOAD_FIT_ADDRESS=0x44000000
CONFIG_DISTRO_DEFAULTS=y
CONFIG_BOOTDELAY=1
CONFIG_OF_SYSTEM_SETUP=y
diff --git a/configs/verdin-imx8mp_defconfig b/configs/verdin-imx8mp_defconfig
index c74398f4f8b..15cfe2c48ac 100644
--- a/configs/verdin-imx8mp_defconfig
+++ b/configs/verdin-imx8mp_defconfig
@@ -38,6 +38,7 @@ CONFIG_FIT=y
CONFIG_FIT_EXTERNAL_OFFSET=0x3000
CONFIG_FIT_VERBOSE=y
CONFIG_SPL_LOAD_FIT=y
+CONFIG_SPL_LOAD_FIT_ADDRESS=0x44000000
CONFIG_DISTRO_DEFAULTS=y
CONFIG_BOOTDELAY=1
CONFIG_OF_SYSTEM_SETUP=y