diff options
author | Wei Liang Lim <weiliang.lim@starfivetech.com> | 2021-11-15 09:34:27 +0300 |
---|---|---|
committer | Wei Liang Lim <weiliang.lim@starfivetech.com> | 2023-10-18 09:13:01 +0300 |
commit | e457f2beadda3a0078bbc642fed4f1ecb92cd281 (patch) | |
tree | e3cf2244663b45aa8207dbbb31252780dc602fc2 | |
parent | 6c2c53708d7cb3b3440a1b2c5ab020a322fb64c0 (diff) | |
download | u-boot-e457f2beadda3a0078bbc642fed4f1ecb92cd281.tar.xz |
Enable MMC support, FAT and EXT4 commands
-rw-r--r-- | arch/riscv/dts/dubhe-fpga-u-boot.dtsi | 4 | ||||
-rw-r--r-- | configs/starfive_dubhe_fpga_defconfig | 12 |
2 files changed, 16 insertions, 0 deletions
diff --git a/arch/riscv/dts/dubhe-fpga-u-boot.dtsi b/arch/riscv/dts/dubhe-fpga-u-boot.dtsi index 267a40401a..fdc3a96b2b 100644 --- a/arch/riscv/dts/dubhe-fpga-u-boot.dtsi +++ b/arch/riscv/dts/dubhe-fpga-u-boot.dtsi @@ -37,6 +37,10 @@ &spi0 { u-boot,dm-spl; + + mmc@0 { + u-boot,dm-spl; + }; }; &qspi1 { diff --git a/configs/starfive_dubhe_fpga_defconfig b/configs/starfive_dubhe_fpga_defconfig index 4550f0a378..519d2c8c04 100644 --- a/configs/starfive_dubhe_fpga_defconfig +++ b/configs/starfive_dubhe_fpga_defconfig @@ -38,3 +38,15 @@ CONFIG_RAM=y CONFIG_SPL_RAM=y CONFIG_SPI=y CONFIG_SPI_SIFIVE=y +CONFIG_CMD_MMC=y +CONFIG_CMD_FAT=y +CONFIG_MMC_WRITE=y +CONFIG_FAT_WRITE=y +CONFIG_SUPPORT_EMMC_BOOT=y +CONFIG_CMD_EXT4=y +CONFIG_CMD_EXT4_WRITE=y +CONFIG_MMC=y +CONFIG_MMC_SPI=y +CONFIG_SPL_MMC_SUPPORT=y + + |