[U-Boot] [PATCH v2] 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.
Signed-off-by: Alison Wang alison.wang@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 */

On 12/09/2014 01:37 AM, Alison Wang wrote:
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@freescale.com
Change log: v2: Rebase the patch.
Applied to u-boot-fsl-qoriq master, awaiting upstream.
York
participants (2)
-
Alison Wang
-
York Sun