diff options
author | Rasmus Villemoes <ravi@prevas.dk> | 2024-10-24 12:01:45 +0200 |
---|---|---|
committer | Fabio Estevam <festevam@gmail.com> | 2024-10-25 09:07:48 -0300 |
commit | 4f5c48d5fdab0fae189ae9d59a9266aceb261ecd (patch) | |
tree | c12177bc834f188f8dc386a00b89241e6e9c5726 /boot | |
parent | d7f27a4fb351132a0b2920a41a56c820274d90dd (diff) | |
download | u-boot-4f5c48d5fdab0fae189ae9d59a9266aceb261ecd.tar.gz |
imx8m: set sane default value for SPL_LOAD_FIT_ADDRESS
I enabled IMX_HAB on an imx8mp board, but even though I knew about the
implementation, I forgot that I had to provide a sane value for
SPL_LOAD_FIT_ADDRESS. The help text for IMX_HAB doesn't mention this
implicit requirement, and there's no build-time warning; the default
0x0 value just ends up being returned from
board_spl_fit_buffer_addr(), obviously resulting in a non-booting
board.
The existing imx8m* board configs that set a non-zero value currently
all use 0x44000000. The actual value doesn't matter too much, but 0 is
always wrong for imx8m platforms. So just use 0x44000000 as default
for those platforms.
Signed-off-by: Rasmus Villemoes <ravi@prevas.dk>
Diffstat (limited to 'boot')
-rw-r--r-- | boot/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/boot/Kconfig b/boot/Kconfig index b168b6bbcc2..b9287c60685 100644 --- a/boot/Kconfig +++ b/boot/Kconfig @@ -233,6 +233,7 @@ config SPL_LOAD_FIT config SPL_LOAD_FIT_ADDRESS hex "load address of fit image" depends on SPL_LOAD_FIT + default 0x44000000 if ARCH_IMX8M default 0x0 help Specify the load address of the fit image that will be loaded |