summaryrefslogtreecommitdiff
path: root/configs/r8a779g0_whitehawk_defconfig
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2026-01-18 13:56:10 -0600
committerTom Rini <trini@konsulko.com>2026-01-27 16:19:11 -0600
commit272b8784faf33b0eded27ba78ad4251151ef357b (patch)
treeeaafdff167c6fcc0d3db0b6ac21fe14591e6a048 /configs/r8a779g0_whitehawk_defconfig
parentcfce859b16ffc43c6eb0afb6c49c95e1ec25f5f1 (diff)
fit: Rework SPL_LOAD_FIT_ADDRESS slightly
Options which deal with memory locations and have a default value of 0x0 are dangerous, as that is often not a valid memory location. Rework SPL_LOAD_FIT_ADDRESS as follows: - Add SPL_HAS_LOAD_FIT_ADDRESS to guard prompting the question as the case of loading a FIT image does not strictly require setting an address and allows for a malloc()'d area to be used. - For SPL_RAM_SUPPORT, select the new guard symbol if SPL_LOAD_FIT is enabled because in that case an address must be provided. - Update defconfigs for these new changes. Largely this means some defconfigs need to enable SPL_HAS_LOAD_FIT_ADDRESS to maintain their current status. In the case of sandbox, we also need to set SPL_LOAD_FIT_ADDRESS to 0x0. Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'configs/r8a779g0_whitehawk_defconfig')
-rw-r--r--configs/r8a779g0_whitehawk_defconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/r8a779g0_whitehawk_defconfig b/configs/r8a779g0_whitehawk_defconfig
index c0e8620b2f7..9be831720ed 100644
--- a/configs/r8a779g0_whitehawk_defconfig
+++ b/configs/r8a779g0_whitehawk_defconfig
@@ -38,6 +38,7 @@ CONFIG_SPL_SPI_FLASH_SUPPORT=y
CONFIG_SPL_SPI=y
CONFIG_SPL_FIT_PRINT=y
CONFIG_SPL_LOAD_FIT=y
+CONFIG_SPL_HAS_LOAD_FIT_ADDRESS=y
CONFIG_SPL_LOAD_FIT_ADDRESS=0x48000000
# CONFIG_SPL_BOARD_INIT is not set
# CONFIG_SPL_LEGACY_IMAGE_FORMAT is not set