[U-Boot] [PATCH] arm: ls1021a: Add CONFIG_DOS_PARTITION and CONFIG_CMD_FAT support

Alison Wang b18965 at freescale.com
Fri Nov 14 07:11:21 CET 2014


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.

Signed-off-by: Alison Wang <alison.wang at freescale.com>
---
 include/configs/ls1021aqds.h | 3 +++
 include/configs/ls1021atwr.h | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/include/configs/ls1021aqds.h b/include/configs/ls1021aqds.h
index d49696d..1201221 100644
--- a/include/configs/ls1021aqds.h
+++ b/include/configs/ls1021aqds.h
@@ -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
diff --git a/include/configs/ls1021atwr.h b/include/configs/ls1021atwr.h
index ba2d8a7..bbbe4b2 100644
--- a/include/configs/ls1021atwr.h
+++ b/include/configs/ls1021atwr.h
@@ -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
-- 
2.1.0.27.g96db324



More information about the U-Boot mailing list