summaryrefslogtreecommitdiff
path: root/configs/sifive_fu540_defconfig
diff options
context:
space:
mode:
authorJagan Teki <jagan@amarulasolutions.com>2020-07-15 13:08:59 +0300
committerAndes <uboot@andestech.com>2020-07-24 09:55:19 +0300
commit4243ff11fe73bef0d60b2a48c8663e02975ebb6b (patch)
tree0d245e583769b973444e0d10215802874d6c23d4 /configs/sifive_fu540_defconfig
parent868e295ef72535300037fc264e770cfdca3f5894 (diff)
downloadu-boot-4243ff11fe73bef0d60b2a48c8663e02975ebb6b.tar.xz
sifive: fu540: Add Booting from SPI
Add booting from SPI for SiFive Unleashed board. Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> Reviewed-by: Bin Meng <bin.meng@windriver.com> Tested-by: Bin Meng <bin.meng@windriver.com>
Diffstat (limited to 'configs/sifive_fu540_defconfig')
-rw-r--r--configs/sifive_fu540_defconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/configs/sifive_fu540_defconfig b/configs/sifive_fu540_defconfig
index 9e00a56ce6..06e17860c6 100644
--- a/configs/sifive_fu540_defconfig
+++ b/configs/sifive_fu540_defconfig
@@ -6,6 +6,7 @@ CONFIG_SPL_DM_SPI=y
CONFIG_SPL_MMC_SUPPORT=y
CONFIG_NR_DRAM_BANKS=1
CONFIG_SPL=y
+CONFIG_SPL_SPI_FLASH_SUPPORT=y
CONFIG_SPL_SPI_SUPPORT=y
CONFIG_TARGET_SIFIVE_FU540=y
CONFIG_ARCH_RV64I=y
@@ -16,8 +17,11 @@ CONFIG_MISC_INIT_R=y
CONFIG_DISPLAY_CPUINFO=y
CONFIG_DISPLAY_BOARDINFO=y
CONFIG_SPL_SEPARATE_BSS=y
+CONFIG_SPL_DM_SPI_FLASH=y
+CONFIG_SPL_SPI_LOAD=y
CONFIG_SPL_YMODEM_SUPPORT=y
CONFIG_DEFAULT_DEVICE_TREE="hifive-unleashed-a00"
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
+CONFIG_SPL_DM_SEQ_ALIAS=y
CONFIG_SPL_CLK=y
CONFIG_DM_MTD=y