mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-29 22:43:10 +00:00
2e8d2f8843
At some point back in 2018 prior_stage_fdt_address and OF_PRIOR_STAGE got introduced, in order to support a DTB handed over by an earlier stage boo loader. However we have another option in the Kconfig (OF_BOARD) which has identical semantics. On RISC-V some of the boards pick up the DTB from a1 and copy it in their private gd_t. Apart from that they copy it to prior_stage_fdt_address, if the Kconfig option is selected, which is unnecessary. So let's switch the config option for those boards to OF_BOARD and define the required board_fdt_blob_setup() for them. Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
20 lines
485 B
Text
20 lines
485 B
Text
CONFIG_RISCV=y
|
|
CONFIG_NR_DRAM_BANKS=1
|
|
CONFIG_ENV_SIZE=0x20000
|
|
CONFIG_SYS_MALLOC_LEN=0x800000
|
|
CONFIG_DEFAULT_DEVICE_TREE="qemu-virt"
|
|
CONFIG_SPL=y
|
|
CONFIG_TARGET_QEMU_VIRT=y
|
|
CONFIG_RISCV_SMODE=y
|
|
CONFIG_DISTRO_DEFAULTS=y
|
|
CONFIG_SYS_LOAD_ADDR=0x80200000
|
|
CONFIG_FIT=y
|
|
CONFIG_SPL_LOAD_FIT_ADDRESS=0x80200000
|
|
CONFIG_DISPLAY_CPUINFO=y
|
|
CONFIG_DISPLAY_BOARDINFO=y
|
|
CONFIG_CMD_SBI=y
|
|
# CONFIG_CMD_MII is not set
|
|
CONFIG_OF_BOARD=y
|
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
|
CONFIG_DM_MTD=y
|
|
CONFIG_SYSRESET_SBI=y
|