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

Alison Wang b18965 at freescale.com
Tue Dec 9 10:37:34 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>
---
Change log:
 v2: Rebase the patch.

 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 e49abe5..f906215 100644
--- a/include/configs/ls1021aqds.h
+++ b/include/configs/ls1021aqds.h
@@ -312,6 +312,9 @@ unsigned long get_board_ddr_clk(void);
 #define CONFIG_FSL_ESDHC
 #define CONFIG_GENERIC_MMC
 
+#define CONFIG_CMD_FAT
+#define CONFIG_DOS_PARTITION
+
 /*
  * USB
  */
diff --git a/include/configs/ls1021atwr.h b/include/configs/ls1021atwr.h
index e84a1b5..db93201 100644
--- a/include/configs/ls1021atwr.h
+++ b/include/configs/ls1021atwr.h
@@ -240,6 +240,9 @@
 #define CONFIG_FSL_ESDHC
 #define CONFIG_GENERIC_MMC
 
+#define CONFIG_CMD_FAT
+#define CONFIG_DOS_PARTITION
+
 /*
  * Video
  */
-- 
2.1.0.27.g96db324



More information about the U-Boot mailing list