1 From 4df84c450d7ce450986e5f1dc5e7ab164b9e0e32 Mon Sep 17 00:00:00 2001
2 From: Rajesh Bhagat <rajesh.bhagat@nxp.com>
3 Date: Fri, 17 Jun 2016 10:04:34 +0530
4 Subject: [PATCH 59/93] armv8: ls1012a: Make FAT and EXT2 commands support
7 Makes FAT and EXT2 commands support common for LS1012A QDS,
10 Signed-off-by: Rajesh Bhagat <rajesh.bhagat@nxp.com>
12 include/configs/ls1012a_common.h | 5 +++++
13 include/configs/ls1012afrdm.h | 1 -
14 include/configs/ls1012aqds.h | 6 ------
15 include/configs/ls1012ardb.h | 6 ------
16 4 files changed, 5 insertions(+), 13 deletions(-)
18 diff --git a/include/configs/ls1012a_common.h b/include/configs/ls1012a_common.h
19 index 2895e7a..7c0e64f 100644
20 --- a/include/configs/ls1012a_common.h
21 +++ b/include/configs/ls1012a_common.h
23 #define CONFIG_CMD_BOOTZ
24 #define CONFIG_CMDLINE_TAG
26 +/* Used by SCSI, MMC and USB */
27 +#define CONFIG_CMD_FAT
28 +#define CONFIG_DOS_PARTITION
29 +#define CONFIG_CMD_EXT2
31 #include <asm/fsl_secure_boot.h>
33 #endif /* __LS1012A_COMMON_H */
34 diff --git a/include/configs/ls1012afrdm.h b/include/configs/ls1012afrdm.h
35 index 5e619c1..432317d 100644
36 --- a/include/configs/ls1012afrdm.h
37 +++ b/include/configs/ls1012afrdm.h
39 #define CONFIG_SYS_USB_XHCI_MAX_ROOT_PORTS 2
40 #define CONFIG_CMD_USB
41 #define CONFIG_USB_STORAGE
42 -#define CONFIG_CMD_EXT2
44 #define CONFIG_USB_DWC3
45 #define CONFIG_USB_DWC3_GADGET
46 diff --git a/include/configs/ls1012aqds.h b/include/configs/ls1012aqds.h
47 index cc8e0fc..c06cfbd 100644
48 --- a/include/configs/ls1012aqds.h
49 +++ b/include/configs/ls1012aqds.h
51 #define CONFIG_FSL_ESDHC_1_NON_REMOVABLE_CARD
52 #define CONFIG_SYS_FSL_MMC_HAS_CAPBLT_VS33
53 #define CONFIG_GENERIC_MMC
54 -#define CONFIG_CMD_FAT
55 -#define CONFIG_DOS_PARTITION
57 #endif /* CONFIG_EMU */
60 #define CONFIG_SCSI_AHCI
61 #define CONFIG_SCSI_AHCI_PLAT
62 #define CONFIG_CMD_SCSI
63 -#define CONFIG_CMD_FAT
64 -#define CONFIG_CMD_EXT2
65 -#define CONFIG_DOS_PARTITION
66 #define CONFIG_BOARD_LATE_INIT
68 #define CONFIG_SYS_SATA AHCI_BASE_ADDR
70 #if defined(CONFIG_HAS_FSL_DR_USB) || defined(CONFIG_HAS_FSL_XHCI_USB)
71 #define CONFIG_CMD_USB
72 #define CONFIG_USB_STORAGE
73 -#define CONFIG_CMD_EXT2
75 #define CONFIG_USB_DWC3
76 #define CONFIG_USB_DWC3_GADGET
77 diff --git a/include/configs/ls1012ardb.h b/include/configs/ls1012ardb.h
78 index e94df74..f6b3f28 100644
79 --- a/include/configs/ls1012ardb.h
80 +++ b/include/configs/ls1012ardb.h
82 #define CONFIG_SYS_USB_XHCI_MAX_ROOT_PORTS 2
83 #define CONFIG_CMD_USB
84 #define CONFIG_USB_STORAGE
85 -#define CONFIG_CMD_EXT2
87 #define CONFIG_USB_DWC3
88 #define CONFIG_USB_DWC3_GADGET
90 #define CONFIG_FSL_ESDHC_1_NON_REMOVABLE_CARD
91 #define CONFIG_SYS_FSL_MMC_HAS_CAPBLT_VS33
92 #define CONFIG_GENERIC_MMC
93 -#define CONFIG_CMD_FAT
94 -#define CONFIG_DOS_PARTITION
96 #endif /* CONFIG_EMU */
99 #define CONFIG_SCSI_AHCI
100 #define CONFIG_SCSI_AHCI_PLAT
101 #define CONFIG_CMD_SCSI
102 -#define CONFIG_CMD_FAT
103 -#define CONFIG_CMD_EXT2
104 -#define CONFIG_DOS_PARTITION
105 #define CONFIG_BOARD_LATE_INIT
107 #define CONFIG_SYS_SATA AHCI_BASE_ADDR