mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
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>
17 lines
493 B
Plaintext
17 lines
493 B
Plaintext
#include <configs/am62x_evm_a53_defconfig>
|
|
|
|
CONFIG_ARM=y
|
|
CONFIG_ARCH_K3=y
|
|
CONFIG_SOC_K3_AM625=y
|
|
CONFIG_TARGET_AM625_A53_EVM=y
|
|
CONFIG_TEXT_BASE=0x82f80000
|
|
CONFIG_SPL_TEXT_BASE=0x82000000
|
|
CONFIG_SPL_STACK_R_ADDR=0x83f80000
|
|
CONFIG_K3_OPTEE_LOAD_ADDR=0x80080000
|
|
CONFIG_SPL_BSS_START_ADDR=0x82c00000
|
|
CONFIG_SPL_HAS_LOAD_FIT_ADDRESS=y
|
|
CONFIG_SPL_LOAD_FIT_ADDRESS=0x82f80000
|
|
CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x82b00000
|
|
CONFIG_DEFAULT_DEVICE_TREE="ti/k3-am6254atl-sk"
|
|
CONFIG_ENV_SOURCE_FILE="am6254atl"
|