Skip to contentSkip to conversation

arm: ls1021a: Add CONFIG_DOS_PARTITION and CONFIG_CMD_FAT support

PATCH Superseded Alison Wang 1 participant 1 message Nov 14, 2014

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: ls1021a: Add CONFIG_DOS_PARTITION and CONFIG_CMD_FAT support

This patch will fix the bug that the partitions on the SD card could not be accessed and add the support for the FAT fs.

---
 include/configs/ls1021aqds.h | 3 +++
 include/configs/ls1021atwr.h | 3 +++
 2 files changed, 6 insertions(+)
include/configs/ls1021aqds.h +3 -0
index d49696d..1201221 100644
@@ -409,6 +409,9 @@ unsigned long get_board_ddr_clk(void);
 #define CONFIG_FSL_ESDHC
 #define CONFIG_GENERIC_MMC
 
+#define CONFIG_CMD_FAT
+#define CONFIG_DOS_PARTITION
+
 /*SPI device */
 #define CONFIG_CMD_SF
 #define CONFIG_SPI_FLASH_SPANSION
include/configs/ls1021atwr.h +3 -0
index ba2d8a7..bbbe4b2 100644
@@ -261,6 +261,9 @@
 #define CONFIG_FSL_ESDHC
 #define CONFIG_GENERIC_MMC
 
+#define CONFIG_CMD_FAT
+#define CONFIG_DOS_PARTITION
+
 /*SPI device */
 #define CONFIG_CMD_SF
 #define CONFIG_SPI_FLASH
Signature · 1 line
2.1.0.27.g96db324