diff options
author | Prabhakar Kushwaha <prabhakar@freescale.com> | 2013-03-18 04:31:23 -0400 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2013-03-18 15:00:11 -0400 |
commit | 5274bf9b986af91ea0378a504260aeb0e2a7d25f (patch) | |
tree | 154224e67316a71d658848fb6c9fb81f8dc85eaa | |
parent | 22aebe69e5b26e7a95abaa7246a4c12d66260b0b (diff) |
powerpc: add CONFIG(s) require for using flash controller
Add CONFIG(s) required for NAND and NOR flash controller usage.
It defines MTD, Jffs2 and UBIFS file system required for controllers.
It also enables IFC controller
Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
-rw-r--r-- | arch/powerpc/configs/corenet64_smp_defconfig | 35 | ||||
-rw-r--r-- | arch/powerpc/configs/mpc85xx_defconfig | 31 | ||||
-rw-r--r-- | arch/powerpc/configs/mpc85xx_smp_defconfig | 31 |
3 files changed, 96 insertions, 1 deletions
diff --git a/arch/powerpc/configs/corenet64_smp_defconfig b/arch/powerpc/configs/corenet64_smp_defconfig index 36a5c41449b1..1c6eb66c8c5b 100644 --- a/arch/powerpc/configs/corenet64_smp_defconfig +++ b/arch/powerpc/configs/corenet64_smp_defconfig | |||
@@ -26,6 +26,7 @@ CONFIG_P5040_DS=y | |||
26 | CONFIG_T4240_QDS=y | 26 | CONFIG_T4240_QDS=y |
27 | # CONFIG_PPC_OF_BOOT_TRAMPOLINE is not set | 27 | # CONFIG_PPC_OF_BOOT_TRAMPOLINE is not set |
28 | CONFIG_BINFMT_MISC=m | 28 | CONFIG_BINFMT_MISC=m |
29 | CONFIG_FSL_IFC=y | ||
29 | CONFIG_PCIEPORTBUS=y | 30 | CONFIG_PCIEPORTBUS=y |
30 | CONFIG_PCI_MSI=y | 31 | CONFIG_PCI_MSI=y |
31 | CONFIG_RAPIDIO=y | 32 | CONFIG_RAPIDIO=y |
@@ -58,16 +59,33 @@ CONFIG_IP_SCTP=m | |||
58 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | 59 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" |
59 | CONFIG_DEVTMPFS=y | 60 | CONFIG_DEVTMPFS=y |
60 | CONFIG_MTD=y | 61 | CONFIG_MTD=y |
62 | CONFIG_MTD_PARTITIONS=y | ||
63 | CONFIG_MTD_OF_PARTS=y | ||
61 | CONFIG_MTD_CMDLINE_PARTS=y | 64 | CONFIG_MTD_CMDLINE_PARTS=y |
62 | CONFIG_MTD_CHAR=y | 65 | CONFIG_MTD_CHAR=y |
66 | CONFIG_MTD_BLKDEVS=y | ||
63 | CONFIG_MTD_BLOCK=y | 67 | CONFIG_MTD_BLOCK=y |
68 | CONFIG_FTL=y | ||
64 | CONFIG_MTD_CFI=y | 69 | CONFIG_MTD_CFI=y |
70 | CONFIG_MTD_GEN_PROBE=y | ||
71 | CONFIG_MTD_MAP_BANK_WIDTH_1=y | ||
72 | CONFIG_MTD_MAP_BANK_WIDTH_2=y | ||
73 | CONFIG_MTD_MAP_BANK_WIDTH_4=y | ||
74 | CONFIG_MTD_CFI_I1=y | ||
75 | CONFIG_MTD_CFI_I2=y | ||
76 | CONFIG_MTD_CFI_INTELEXT=y | ||
65 | CONFIG_MTD_CFI_AMDSTD=y | 77 | CONFIG_MTD_CFI_AMDSTD=y |
66 | CONFIG_MTD_PHYSMAP_OF=y | 78 | CONFIG_MTD_PHYSMAP_OF=y |
67 | CONFIG_MTD_M25P80=y | 79 | CONFIG_MTD_M25P80=y |
80 | CONFIG_MTD_CFI_UTIL=y | ||
81 | CONFIG_MTD_NAND_ECC=y | ||
68 | CONFIG_MTD_NAND=y | 82 | CONFIG_MTD_NAND=y |
83 | CONFIG_MTD_NAND_IDS=y | ||
69 | CONFIG_MTD_NAND_FSL_ELBC=y | 84 | CONFIG_MTD_NAND_FSL_ELBC=y |
70 | CONFIG_MTD_NAND_FSL_IFC=y | 85 | CONFIG_MTD_NAND_FSL_IFC=y |
86 | CONFIG_MTD_UBI=y | ||
87 | CONFIG_MTD_UBI_WL_THRESHOLD=4096 | ||
88 | CONFIG_MTD_UBI_BEB_RESERVE=1 | ||
71 | CONFIG_PROC_DEVICETREE=y | 89 | CONFIG_PROC_DEVICETREE=y |
72 | CONFIG_BLK_DEV_LOOP=y | 90 | CONFIG_BLK_DEV_LOOP=y |
73 | CONFIG_BLK_DEV_RAM=y | 91 | CONFIG_BLK_DEV_RAM=y |
@@ -122,7 +140,16 @@ CONFIG_NTFS_FS=y | |||
122 | CONFIG_PROC_KCORE=y | 140 | CONFIG_PROC_KCORE=y |
123 | CONFIG_TMPFS=y | 141 | CONFIG_TMPFS=y |
124 | CONFIG_HUGETLBFS=y | 142 | CONFIG_HUGETLBFS=y |
125 | # CONFIG_MISC_FILESYSTEMS is not set | 143 | CONFIG_MISC_FILESYSTEMS=y |
144 | CONFIG_JFFS2_FS=y | ||
145 | CONFIG_JFFS2_FS_DEBUG=1 | ||
146 | CONFIG_JFFS2_FS_WRITEBUFFER=y | ||
147 | CONFIG_JFFS2_ZLIB=y | ||
148 | CONFIG_JFFS2_RTIME=y | ||
149 | CONFIG_UBIFS_FS=y | ||
150 | CONFIG_UBIFS_FS_XATTR=y | ||
151 | CONFIG_UBIFS_FS_LZO=y | ||
152 | CONFIG_UBIFS_FS_ZLIB=y | ||
126 | CONFIG_NFS_FS=y | 153 | CONFIG_NFS_FS=y |
127 | CONFIG_NFS_V4=y | 154 | CONFIG_NFS_V4=y |
128 | CONFIG_ROOT_NFS=y | 155 | CONFIG_ROOT_NFS=y |
@@ -130,6 +157,12 @@ CONFIG_NFSD=m | |||
130 | CONFIG_NLS_ISO8859_1=y | 157 | CONFIG_NLS_ISO8859_1=y |
131 | CONFIG_NLS_UTF8=m | 158 | CONFIG_NLS_UTF8=m |
132 | CONFIG_CRC_T10DIF=y | 159 | CONFIG_CRC_T10DIF=y |
160 | CONFIG_CRC16=y | ||
161 | CONFIG_ZLIB_DEFLATE=y | ||
162 | CONFIG_LZO_COMPRESS=y | ||
163 | CONFIG_LZO_DECOMPRESS=y | ||
164 | CONFIG_CRYPTO_DEFLATE=y | ||
165 | CONFIG_CRYPTO_LZO=y | ||
133 | CONFIG_FRAME_WARN=1024 | 166 | CONFIG_FRAME_WARN=1024 |
134 | CONFIG_MAGIC_SYSRQ=y | 167 | CONFIG_MAGIC_SYSRQ=y |
135 | CONFIG_DEBUG_FS=y | 168 | CONFIG_DEBUG_FS=y |
diff --git a/arch/powerpc/configs/mpc85xx_defconfig b/arch/powerpc/configs/mpc85xx_defconfig index e12146fda278..37812b4b777b 100644 --- a/arch/powerpc/configs/mpc85xx_defconfig +++ b/arch/powerpc/configs/mpc85xx_defconfig | |||
@@ -47,6 +47,7 @@ CONFIG_HIGHMEM=y | |||
47 | CONFIG_BINFMT_MISC=m | 47 | CONFIG_BINFMT_MISC=m |
48 | CONFIG_MATH_EMULATION=y | 48 | CONFIG_MATH_EMULATION=y |
49 | CONFIG_FORCE_MAX_ZONEORDER=12 | 49 | CONFIG_FORCE_MAX_ZONEORDER=12 |
50 | CONFIG_FSL_IFC=y | ||
50 | CONFIG_PCI=y | 51 | CONFIG_PCI=y |
51 | CONFIG_PCI_MSI=y | 52 | CONFIG_PCI_MSI=y |
52 | CONFIG_RAPIDIO=y | 53 | CONFIG_RAPIDIO=y |
@@ -78,18 +79,33 @@ CONFIG_IP_SCTP=m | |||
78 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | 79 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" |
79 | CONFIG_DEVTMPFS=y | 80 | CONFIG_DEVTMPFS=y |
80 | CONFIG_MTD=y | 81 | CONFIG_MTD=y |
82 | CONFIG_MTD_PARTITIONS=y | ||
83 | CONFIG_MTD_OF_PARTS=y | ||
81 | CONFIG_MTD_CMDLINE_PARTS=y | 84 | CONFIG_MTD_CMDLINE_PARTS=y |
82 | CONFIG_MTD_CHAR=y | 85 | CONFIG_MTD_CHAR=y |
86 | CONFIG_MTD_BLKDEVS=y | ||
83 | CONFIG_MTD_BLOCK=y | 87 | CONFIG_MTD_BLOCK=y |
84 | CONFIG_FTL=y | 88 | CONFIG_FTL=y |
85 | CONFIG_MTD_CFI=y | 89 | CONFIG_MTD_CFI=y |
90 | CONFIG_MTD_GEN_PROBE=y | ||
91 | CONFIG_MTD_MAP_BANK_WIDTH_1=y | ||
92 | CONFIG_MTD_MAP_BANK_WIDTH_2=y | ||
93 | CONFIG_MTD_MAP_BANK_WIDTH_4=y | ||
94 | CONFIG_MTD_CFI_I1=y | ||
95 | CONFIG_MTD_CFI_I2=y | ||
86 | CONFIG_MTD_CFI_INTELEXT=y | 96 | CONFIG_MTD_CFI_INTELEXT=y |
87 | CONFIG_MTD_CFI_AMDSTD=y | 97 | CONFIG_MTD_CFI_AMDSTD=y |
88 | CONFIG_MTD_PHYSMAP_OF=y | 98 | CONFIG_MTD_PHYSMAP_OF=y |
89 | CONFIG_MTD_M25P80=y | 99 | CONFIG_MTD_M25P80=y |
100 | CONFIG_MTD_CFI_UTIL=y | ||
101 | CONFIG_MTD_NAND_ECC=y | ||
90 | CONFIG_MTD_NAND=y | 102 | CONFIG_MTD_NAND=y |
103 | CONFIG_MTD_NAND_IDS=y | ||
91 | CONFIG_MTD_NAND_FSL_ELBC=y | 104 | CONFIG_MTD_NAND_FSL_ELBC=y |
92 | CONFIG_MTD_NAND_FSL_IFC=y | 105 | CONFIG_MTD_NAND_FSL_IFC=y |
106 | CONFIG_MTD_UBI=y | ||
107 | CONFIG_MTD_UBI_WL_THRESHOLD=4096 | ||
108 | CONFIG_MTD_UBI_BEB_RESERVE=1 | ||
93 | CONFIG_PROC_DEVICETREE=y | 109 | CONFIG_PROC_DEVICETREE=y |
94 | CONFIG_BLK_DEV_LOOP=y | 110 | CONFIG_BLK_DEV_LOOP=y |
95 | CONFIG_BLK_DEV_NBD=y | 111 | CONFIG_BLK_DEV_NBD=y |
@@ -207,6 +223,15 @@ CONFIG_NTFS_FS=y | |||
207 | CONFIG_PROC_KCORE=y | 223 | CONFIG_PROC_KCORE=y |
208 | CONFIG_TMPFS=y | 224 | CONFIG_TMPFS=y |
209 | CONFIG_HUGETLBFS=y | 225 | CONFIG_HUGETLBFS=y |
226 | CONFIG_JFFS2_FS=y | ||
227 | CONFIG_JFFS2_FS_DEBUG=1 | ||
228 | CONFIG_JFFS2_FS_WRITEBUFFER=y | ||
229 | CONFIG_JFFS2_ZLIB=y | ||
230 | CONFIG_JFFS2_RTIME=y | ||
231 | CONFIG_UBIFS_FS=y | ||
232 | CONFIG_UBIFS_FS_XATTR=y | ||
233 | CONFIG_UBIFS_FS_LZO=y | ||
234 | CONFIG_UBIFS_FS_ZLIB=y | ||
210 | CONFIG_ADFS_FS=m | 235 | CONFIG_ADFS_FS=m |
211 | CONFIG_AFFS_FS=m | 236 | CONFIG_AFFS_FS=m |
212 | CONFIG_HFS_FS=m | 237 | CONFIG_HFS_FS=m |
@@ -225,6 +250,12 @@ CONFIG_NFS_V4=y | |||
225 | CONFIG_ROOT_NFS=y | 250 | CONFIG_ROOT_NFS=y |
226 | CONFIG_NFSD=y | 251 | CONFIG_NFSD=y |
227 | CONFIG_CRC_T10DIF=y | 252 | CONFIG_CRC_T10DIF=y |
253 | CONFIG_CRC16=y | ||
254 | CONFIG_ZLIB_DEFLATE=y | ||
255 | CONFIG_LZO_COMPRESS=y | ||
256 | CONFIG_LZO_DECOMPRESS=y | ||
257 | CONFIG_CRYPTO_DEFLATE=y | ||
258 | CONFIG_CRYPTO_LZO=y | ||
228 | CONFIG_DEBUG_FS=y | 259 | CONFIG_DEBUG_FS=y |
229 | CONFIG_DETECT_HUNG_TASK=y | 260 | CONFIG_DETECT_HUNG_TASK=y |
230 | CONFIG_DEBUG_INFO=y | 261 | CONFIG_DEBUG_INFO=y |
diff --git a/arch/powerpc/configs/mpc85xx_smp_defconfig b/arch/powerpc/configs/mpc85xx_smp_defconfig index 8d00ea5b8a9f..7fc3e6ffe1cc 100644 --- a/arch/powerpc/configs/mpc85xx_smp_defconfig +++ b/arch/powerpc/configs/mpc85xx_smp_defconfig | |||
@@ -50,6 +50,7 @@ CONFIG_HIGHMEM=y | |||
50 | CONFIG_BINFMT_MISC=m | 50 | CONFIG_BINFMT_MISC=m |
51 | CONFIG_MATH_EMULATION=y | 51 | CONFIG_MATH_EMULATION=y |
52 | CONFIG_FORCE_MAX_ZONEORDER=12 | 52 | CONFIG_FORCE_MAX_ZONEORDER=12 |
53 | CONFIG_FSL_IFC=y | ||
53 | CONFIG_PCI=y | 54 | CONFIG_PCI=y |
54 | CONFIG_PCI_MSI=y | 55 | CONFIG_PCI_MSI=y |
55 | CONFIG_RAPIDIO=y | 56 | CONFIG_RAPIDIO=y |
@@ -81,18 +82,33 @@ CONFIG_IP_SCTP=m | |||
81 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | 82 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" |
82 | CONFIG_DEVTMPFS=y | 83 | CONFIG_DEVTMPFS=y |
83 | CONFIG_MTD=y | 84 | CONFIG_MTD=y |
85 | CONFIG_MTD_PARTITIONS=y | ||
86 | CONFIG_MTD_OF_PARTS=y | ||
84 | CONFIG_MTD_CMDLINE_PARTS=y | 87 | CONFIG_MTD_CMDLINE_PARTS=y |
85 | CONFIG_MTD_CHAR=y | 88 | CONFIG_MTD_CHAR=y |
89 | CONFIG_MTD_BLKDEVS=y | ||
86 | CONFIG_MTD_BLOCK=y | 90 | CONFIG_MTD_BLOCK=y |
87 | CONFIG_FTL=y | 91 | CONFIG_FTL=y |
88 | CONFIG_MTD_CFI=y | 92 | CONFIG_MTD_CFI=y |
93 | CONFIG_MTD_GEN_PROBE=y | ||
94 | CONFIG_MTD_MAP_BANK_WIDTH_1=y | ||
95 | CONFIG_MTD_MAP_BANK_WIDTH_2=y | ||
96 | CONFIG_MTD_MAP_BANK_WIDTH_4=y | ||
97 | CONFIG_MTD_CFI_I1=y | ||
98 | CONFIG_MTD_CFI_I2=y | ||
89 | CONFIG_MTD_CFI_INTELEXT=y | 99 | CONFIG_MTD_CFI_INTELEXT=y |
90 | CONFIG_MTD_CFI_AMDSTD=y | 100 | CONFIG_MTD_CFI_AMDSTD=y |
91 | CONFIG_MTD_PHYSMAP_OF=y | 101 | CONFIG_MTD_PHYSMAP_OF=y |
92 | CONFIG_MTD_M25P80=y | 102 | CONFIG_MTD_M25P80=y |
103 | CONFIG_MTD_CFI_UTIL=y | ||
104 | CONFIG_MTD_NAND_ECC=y | ||
93 | CONFIG_MTD_NAND=y | 105 | CONFIG_MTD_NAND=y |
106 | CONFIG_MTD_NAND_IDS=y | ||
94 | CONFIG_MTD_NAND_FSL_ELBC=y | 107 | CONFIG_MTD_NAND_FSL_ELBC=y |
95 | CONFIG_MTD_NAND_FSL_IFC=y | 108 | CONFIG_MTD_NAND_FSL_IFC=y |
109 | CONFIG_MTD_UBI=y | ||
110 | CONFIG_MTD_UBI_WL_THRESHOLD=4096 | ||
111 | CONFIG_MTD_UBI_BEB_RESERVE=1 | ||
96 | CONFIG_PROC_DEVICETREE=y | 112 | CONFIG_PROC_DEVICETREE=y |
97 | CONFIG_BLK_DEV_LOOP=y | 113 | CONFIG_BLK_DEV_LOOP=y |
98 | CONFIG_BLK_DEV_NBD=y | 114 | CONFIG_BLK_DEV_NBD=y |
@@ -207,6 +223,15 @@ CONFIG_NTFS_FS=y | |||
207 | CONFIG_PROC_KCORE=y | 223 | CONFIG_PROC_KCORE=y |
208 | CONFIG_TMPFS=y | 224 | CONFIG_TMPFS=y |
209 | CONFIG_HUGETLBFS=y | 225 | CONFIG_HUGETLBFS=y |
226 | CONFIG_JFFS2_FS=y | ||
227 | CONFIG_JFFS2_FS_DEBUG=1 | ||
228 | CONFIG_JFFS2_FS_WRITEBUFFER=y | ||
229 | CONFIG_JFFS2_ZLIB=y | ||
230 | CONFIG_JFFS2_RTIME=y | ||
231 | CONFIG_UBIFS_FS=y | ||
232 | CONFIG_UBIFS_FS_XATTR=y | ||
233 | CONFIG_UBIFS_FS_LZO=y | ||
234 | CONFIG_UBIFS_FS_ZLIB=y | ||
210 | CONFIG_ADFS_FS=m | 235 | CONFIG_ADFS_FS=m |
211 | CONFIG_AFFS_FS=m | 236 | CONFIG_AFFS_FS=m |
212 | CONFIG_HFS_FS=m | 237 | CONFIG_HFS_FS=m |
@@ -225,6 +250,12 @@ CONFIG_NFS_V4=y | |||
225 | CONFIG_ROOT_NFS=y | 250 | CONFIG_ROOT_NFS=y |
226 | CONFIG_NFSD=y | 251 | CONFIG_NFSD=y |
227 | CONFIG_CRC_T10DIF=y | 252 | CONFIG_CRC_T10DIF=y |
253 | CONFIG_CRC16=y | ||
254 | CONFIG_ZLIB_DEFLATE=y | ||
255 | CONFIG_LZO_COMPRESS=y | ||
256 | CONFIG_LZO_DECOMPRESS=y | ||
257 | CONFIG_CRYPTO_DEFLATE=y | ||
258 | CONFIG_CRYPTO_LZO=y | ||
228 | CONFIG_DEBUG_FS=y | 259 | CONFIG_DEBUG_FS=y |
229 | CONFIG_DETECT_HUNG_TASK=y | 260 | CONFIG_DETECT_HUNG_TASK=y |
230 | CONFIG_DEBUG_INFO=y | 261 | CONFIG_DEBUG_INFO=y |