mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-18 10:48:51 +00:00
fe01f41d57
Set default fdtfile names for unleashed and unmatched boards, as used in the upstream Linux kernel. This allows sysboot command to find and load appropriate dtb for the matching kernel from universal stock Ubuntu RISC-V rootfs images based on fdtdir setting in extlinux.conf. Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com> Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> cc: Paul Walmsley <paul.walmsley@sifive.com> cc: Palmer Dabbelt <palmer@dabbelt.com> cc: Anup Patel <anup.patel@wdc.com> cc: Atish Patra <atish.patra@wdc.com> cc: Pragnesh Patel <pragnesh.patel@sifive.com> cc: Green Wan <green.wan@sifive.com>
30 lines
773 B
Text
30 lines
773 B
Text
CONFIG_RISCV=y
|
|
CONFIG_SPL_GPIO_SUPPORT=y
|
|
CONFIG_SYS_MALLOC_F_LEN=0x3000
|
|
CONFIG_NR_DRAM_BANKS=1
|
|
CONFIG_SPL_DM_SPI=y
|
|
CONFIG_DEFAULT_DEVICE_TREE="hifive-unleashed-a00"
|
|
CONFIG_SPL_MMC_SUPPORT=y
|
|
CONFIG_SPL=y
|
|
CONFIG_SPL_SPI_FLASH_SUPPORT=y
|
|
CONFIG_SPL_SPI_SUPPORT=y
|
|
CONFIG_TARGET_SIFIVE_UNLEASHED=y
|
|
CONFIG_ARCH_RV64I=y
|
|
CONFIG_RISCV_SMODE=y
|
|
CONFIG_DISTRO_DEFAULTS=y
|
|
CONFIG_FIT=y
|
|
CONFIG_SPL_LOAD_FIT_ADDRESS=0x84000000
|
|
CONFIG_DEFAULT_FDT_FILE="sifive/hifive-unleashed-a00.dtb"
|
|
CONFIG_DISPLAY_CPUINFO=y
|
|
CONFIG_DISPLAY_BOARDINFO=y
|
|
CONFIG_MISC_INIT_R=y
|
|
CONFIG_SPL_SEPARATE_BSS=y
|
|
CONFIG_SPL_DM_SPI_FLASH=y
|
|
CONFIG_SPL_DM_RESET=y
|
|
CONFIG_SPL_SPI_LOAD=y
|
|
CONFIG_SPL_YMODEM_SUPPORT=y
|
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
|
CONFIG_SPL_DM_SEQ_ALIAS=y
|
|
CONFIG_SPL_CLK=y
|
|
CONFIG_DM_MTD=y
|
|
CONFIG_DM_RESET=y
|