3ce873b41a485356b9ab88dd30a95888152b60b1
[openwrt/staging/blogic.git] /
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
5 common
6
7 Makes FAT and EXT2 commands support common for LS1012A QDS,
8 RDB and FRDM.
9
10 Signed-off-by: Rajesh Bhagat <rajesh.bhagat@nxp.com>
11 ---
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(-)
17
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
22 @@ -184,6 +184,11 @@
23 #define CONFIG_CMD_BOOTZ
24 #define CONFIG_CMDLINE_TAG
25
26 +/* Used by SCSI, MMC and USB */
27 +#define CONFIG_CMD_FAT
28 +#define CONFIG_DOS_PARTITION
29 +#define CONFIG_CMD_EXT2
30 +
31 #include <asm/fsl_secure_boot.h>
32
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
38 @@ -38,7 +38,6 @@
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
43
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
50 @@ -34,8 +34,6 @@
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
56 #endif
57 #endif /* CONFIG_EMU */
58
59 @@ -45,9 +43,6 @@
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
67
68 #define CONFIG_SYS_SATA AHCI_BASE_ADDR
69 @@ -204,7 +199,6 @@
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
74
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
81 @@ -39,7 +39,6 @@
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
86
87 #define CONFIG_USB_DWC3
88 #define CONFIG_USB_DWC3_GADGET
89 @@ -67,8 +66,6 @@
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
95 #endif
96 #endif /* CONFIG_EMU */
97
98 @@ -78,9 +75,6 @@
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
106
107 #define CONFIG_SYS_SATA AHCI_BASE_ADDR
108 --
109 1.7.9.5
110