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>
68 lines
2.0 KiB
Plaintext
68 lines
2.0 KiB
Plaintext
#include <configs/renesas_rcar4.config>
|
|
|
|
CONFIG_ARM=y
|
|
CONFIG_ARCH_RENESAS=y
|
|
CONFIG_RCAR_GEN4=y
|
|
CONFIG_ARM_SMCCC=y
|
|
CONFIG_ARMV8_PSCI=y
|
|
CONFIG_ENV_SIZE=0x20000
|
|
CONFIG_ENV_OFFSET=0xFFFE0000
|
|
CONFIG_DEFAULT_DEVICE_TREE="renesas/r8a779g0-white-hawk"
|
|
CONFIG_TARGET_WHITEHAWK=y
|
|
CONFIG_SYS_CLK_FREQ=16666666
|
|
CONFIG_SYS_BOOT_GET_CMDLINE=y
|
|
CONFIG_SYS_BARGSIZE=2048
|
|
CONFIG_BINMAN=y
|
|
CONFIG_BOOTCOMMAND="setexpr dloadaddr ${loadaddr} + 0x200000 && setexpr dloadaddr ${dloadaddr} \\\\& 0xffc00000 && setexpr kloadaddr ${dloadaddr} + 0x200000 && tftp ${dloadaddr} Image-r8a779g0-white-hawk.dtb && tftp ${kloadaddr} Image && booti ${kloadaddr} - ${dloadaddr}"
|
|
CONFIG_DEFAULT_FDT_FILE="r8a779g0-white-hawk.dtb"
|
|
CONFIG_CMD_REMOTEPROC=y
|
|
CONFIG_REMOTEPROC_RENESAS_APMU=y
|
|
CONFIG_SYS_CBSIZE=2048
|
|
CONFIG_ENV_IS_IN_MMC=y
|
|
CONFIG_ENV_MMC_EMMC_HW_PARTITION=2
|
|
CONFIG_BITBANGMII=y
|
|
CONFIG_PHY_MICREL=y
|
|
CONFIG_PHY_MICREL_KSZ90X1=y
|
|
CONFIG_RENESAS_RAVB=y
|
|
CONFIG_BAUDRATE=921600
|
|
|
|
# CONFIG_SPL_SHARES_INIT_SP_ADDR is not set
|
|
CONFIG_SPL_HAVE_INIT_STACK=y
|
|
CONFIG_SPL_STACK=0xe6400000
|
|
CONFIG_SPL_DM_SPI=y
|
|
CONFIG_SPL_TEXT_BASE=0xeb210000
|
|
CONFIG_SPL_STACK_R_ADDR=0x44000000
|
|
CONFIG_SPL_SYS_MALLOC_F_LEN=0x20000
|
|
CONFIG_SPL_STACK_R=y
|
|
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
|
|
# CONFIG_SPL_SEPARATE_BSS is not set
|
|
CONFIG_SPL_DM_SPI_FLASH=y
|
|
CONFIG_SPL_DM_RESET=y
|
|
CONFIG_SPL_SPI_LOAD=y
|
|
CONFIG_SPL_OF_CONTROL=y
|
|
CONFIG_SPL_DM=y
|
|
CONFIG_SPL_CLK=y
|
|
CONFIG_SPL_PINCTRL=y
|
|
CONFIG_SPL_PINCONF=y
|
|
CONFIG_SPL_RAM=y
|
|
# CONFIG_SPL_USE_TINY_PRINTF is not set
|
|
CONFIG_RAM=y
|
|
CONFIG_RAM_RENESAS_DBSC5=y
|
|
CONFIG_SPL_MAX_SIZE=0x40000
|
|
CONFIG_ENABLE_ARM_SOC_BOOT0_HOOK=y
|
|
CONFIG_SYS_SPI_U_BOOT_OFFS=0x80000
|
|
CONFIG_SPL_BSS_MAX_SIZE=0x10000
|
|
CONFIG_SF_DEFAULT_SPEED=40000000
|
|
# CONFIG_SPL_PARTITIONS is not set
|
|
# CONFIG_SPL_DOS_PARTITION is not set
|
|
# CONFIG_SPL_EFI_PARTITION is not set
|
|
# CONFIG_SPL_PARTITION_UUIDS is not set
|
|
# CONFIG_SPL_DM_MMC is not set
|