aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorKevin Hao <haokexin@gmail.com>2013-09-25 21:42:28 -0400
committerScott Wood <scottwood@freescale.com>2013-10-28 22:11:21 -0400
commit9e0967572e5a0e8c887b2d71192bdad342e8a3dd (patch)
treef2ea51fc2322337356c468cd3284e51b114cf6b6 /arch
parentbefe7c123ee4546316bb9aa9952c0e2f7c0d9c48 (diff)
powerpc/85xx: use one kernel option for all the CoreNet_Generic boards
Currently all these boards use the same machine struct and also select the same kernel options, so it seems a bit of redundant to keep one separate kernel option for each board. Also update the defconfigs according to this change. Signed-off-by: Kevin Hao <haokexin@gmail.com> Signed-off-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/configs/corenet32_smp_defconfig6
-rw-r--r--arch/powerpc/configs/corenet64_smp_defconfig5
-rw-r--r--arch/powerpc/configs/ppc64e_defconfig2
-rw-r--r--arch/powerpc/platforms/85xx/Kconfig111
4 files changed, 13 insertions, 111 deletions
diff --git a/arch/powerpc/configs/corenet32_smp_defconfig b/arch/powerpc/configs/corenet32_smp_defconfig
index 71bc43ab649a..bbd794deb6eb 100644
--- a/arch/powerpc/configs/corenet32_smp_defconfig
+++ b/arch/powerpc/configs/corenet32_smp_defconfig
@@ -23,11 +23,7 @@ CONFIG_MODVERSIONS=y
23# CONFIG_BLK_DEV_BSG is not set 23# CONFIG_BLK_DEV_BSG is not set
24CONFIG_PARTITION_ADVANCED=y 24CONFIG_PARTITION_ADVANCED=y
25CONFIG_MAC_PARTITION=y 25CONFIG_MAC_PARTITION=y
26CONFIG_P2041_RDB=y 26CONFIG_CORENET_GENERIC=y
27CONFIG_P3041_DS=y
28CONFIG_P4080_DS=y
29CONFIG_P5020_DS=y
30CONFIG_P5040_DS=y
31CONFIG_HIGHMEM=y 27CONFIG_HIGHMEM=y
32# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set 28# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
33CONFIG_BINFMT_MISC=m 29CONFIG_BINFMT_MISC=m
diff --git a/arch/powerpc/configs/corenet64_smp_defconfig b/arch/powerpc/configs/corenet64_smp_defconfig
index fa94fb3bb44d..63508ddee11c 100644
--- a/arch/powerpc/configs/corenet64_smp_defconfig
+++ b/arch/powerpc/configs/corenet64_smp_defconfig
@@ -21,10 +21,7 @@ CONFIG_MODVERSIONS=y
21# CONFIG_BLK_DEV_BSG is not set 21# CONFIG_BLK_DEV_BSG is not set
22CONFIG_PARTITION_ADVANCED=y 22CONFIG_PARTITION_ADVANCED=y
23CONFIG_MAC_PARTITION=y 23CONFIG_MAC_PARTITION=y
24CONFIG_B4_QDS=y 24CONFIG_CORENET_GENERIC=y
25CONFIG_P5020_DS=y
26CONFIG_P5040_DS=y
27CONFIG_T4240_QDS=y
28# CONFIG_PPC_OF_BOOT_TRAMPOLINE is not set 25# CONFIG_PPC_OF_BOOT_TRAMPOLINE is not set
29CONFIG_BINFMT_MISC=m 26CONFIG_BINFMT_MISC=m
30CONFIG_MATH_EMULATION=y 27CONFIG_MATH_EMULATION=y
diff --git a/arch/powerpc/configs/ppc64e_defconfig b/arch/powerpc/configs/ppc64e_defconfig
index 0085dc4642c5..0a6be6dd6003 100644
--- a/arch/powerpc/configs/ppc64e_defconfig
+++ b/arch/powerpc/configs/ppc64e_defconfig
@@ -23,7 +23,7 @@ CONFIG_MODULE_SRCVERSION_ALL=y
23CONFIG_PARTITION_ADVANCED=y 23CONFIG_PARTITION_ADVANCED=y
24CONFIG_MAC_PARTITION=y 24CONFIG_MAC_PARTITION=y
25CONFIG_EFI_PARTITION=y 25CONFIG_EFI_PARTITION=y
26CONFIG_P5020_DS=y 26CONFIG_CORENET_GENERIC=y
27CONFIG_CPU_FREQ=y 27CONFIG_CPU_FREQ=y
28CONFIG_CPU_FREQ_GOV_POWERSAVE=y 28CONFIG_CPU_FREQ_GOV_POWERSAVE=y
29CONFIG_CPU_FREQ_GOV_USERSPACE=y 29CONFIG_CPU_FREQ_GOV_USERSPACE=y
diff --git a/arch/powerpc/platforms/85xx/Kconfig b/arch/powerpc/platforms/85xx/Kconfig
index 3bee94398ec3..4d4634958cfb 100644
--- a/arch/powerpc/platforms/85xx/Kconfig
+++ b/arch/powerpc/platforms/85xx/Kconfig
@@ -218,88 +218,16 @@ config GE_IMP3A
218 This board is a 3U CompactPCI Single Board Computer with a Freescale 218 This board is a 3U CompactPCI Single Board Computer with a Freescale
219 P2020 processor. 219 P2020 processor.
220 220
221config P2041_RDB
222 bool "Freescale P2041 RDB"
223 select DEFAULT_UIMAGE
224 select PPC_E500MC
225 select PHYS_64BIT
226 select SWIOTLB
227 select ARCH_REQUIRE_GPIOLIB
228 select GPIO_MPC8XXX
229 select HAS_RAPIDIO
230 select PPC_EPAPR_HV_PIC
231 select CORENET_GENERIC
232 help
233 This option enables support for the P2041 RDB board
234
235config P3041_DS
236 bool "Freescale P3041 DS"
237 select DEFAULT_UIMAGE
238 select PPC_E500MC
239 select PHYS_64BIT
240 select SWIOTLB
241 select ARCH_REQUIRE_GPIOLIB
242 select GPIO_MPC8XXX
243 select HAS_RAPIDIO
244 select PPC_EPAPR_HV_PIC
245 select CORENET_GENERIC
246 help
247 This option enables support for the P3041 DS board
248
249config P4080_DS
250 bool "Freescale P4080 DS"
251 select DEFAULT_UIMAGE
252 select PPC_E500MC
253 select PHYS_64BIT
254 select SWIOTLB
255 select ARCH_REQUIRE_GPIOLIB
256 select GPIO_MPC8XXX
257 select HAS_RAPIDIO
258 select PPC_EPAPR_HV_PIC
259 select CORENET_GENERIC
260 help
261 This option enables support for the P4080 DS board
262
263config SGY_CTS1000 221config SGY_CTS1000
264 tristate "Servergy CTS-1000 support" 222 tristate "Servergy CTS-1000 support"
265 select GPIOLIB 223 select GPIOLIB
266 select OF_GPIO 224 select OF_GPIO
267 depends on P4080_DS 225 depends on CORENET_GENERIC
268 help 226 help
269 Enable this to support functionality in Servergy's CTS-1000 systems. 227 Enable this to support functionality in Servergy's CTS-1000 systems.
270 228
271endif # PPC32 229endif # PPC32
272 230
273config P5020_DS
274 bool "Freescale P5020 DS"
275 select DEFAULT_UIMAGE
276 select E500
277 select PPC_E500MC
278 select PHYS_64BIT
279 select SWIOTLB
280 select ARCH_REQUIRE_GPIOLIB
281 select GPIO_MPC8XXX
282 select HAS_RAPIDIO
283 select PPC_EPAPR_HV_PIC
284 select CORENET_GENERIC
285 help
286 This option enables support for the P5020 DS board
287
288config P5040_DS
289 bool "Freescale P5040 DS"
290 select DEFAULT_UIMAGE
291 select E500
292 select PPC_E500MC
293 select PHYS_64BIT
294 select SWIOTLB
295 select ARCH_REQUIRE_GPIOLIB
296 select GPIO_MPC8XXX
297 select HAS_RAPIDIO
298 select PPC_EPAPR_HV_PIC
299 select CORENET_GENERIC
300 help
301 This option enables support for the P5040 DS board
302
303config PPC_QEMU_E500 231config PPC_QEMU_E500
304 bool "QEMU generic e500 platform" 232 bool "QEMU generic e500 platform"
305 select DEFAULT_UIMAGE 233 select DEFAULT_UIMAGE
@@ -315,10 +243,8 @@ config PPC_QEMU_E500
315 unset based on the emulated CPU (or actual host CPU in the case 243 unset based on the emulated CPU (or actual host CPU in the case
316 of KVM). 244 of KVM).
317 245
318if PPC64 246config CORENET_GENERIC
319 247 bool "Freescale CoreNet Generic"
320config T4240_QDS
321 bool "Freescale T4240 QDS"
322 select DEFAULT_UIMAGE 248 select DEFAULT_UIMAGE
323 select E500 249 select E500
324 select PPC_E500MC 250 select PPC_E500MC
@@ -328,33 +254,16 @@ config T4240_QDS
328 select GPIO_MPC8XXX 254 select GPIO_MPC8XXX
329 select HAS_RAPIDIO 255 select HAS_RAPIDIO
330 select PPC_EPAPR_HV_PIC 256 select PPC_EPAPR_HV_PIC
331 select CORENET_GENERIC
332 help 257 help
333 This option enables support for the T4240 QDS board 258 This option enables support for the FSL CoreNet based boards.
259 For 32bit kernel, the following boards are supported:
260 P2041 RDB, P3041 DS and P4080 DS
261 For 64bit kernel, the following boards are supported:
262 T4240 QDS and B4 QDS
263 The following boards are supported for both 32bit and 64bit kernel:
264 P5020 DS and P5040 DS
334 265
335config B4_QDS
336 bool "Freescale B4 QDS"
337 select DEFAULT_UIMAGE
338 select E500
339 select PPC_E500MC
340 select PHYS_64BIT
341 select SWIOTLB
342 select GPIOLIB
343 select ARCH_REQUIRE_GPIOLIB
344 select HAS_RAPIDIO
345 select PPC_EPAPR_HV_PIC
346 select CORENET_GENERIC
347 help
348 This option enables support for the B4 QDS board
349 The B4 application development system B4 QDS is a complete
350 debugging environment intended for engineers developing
351 applications for the B4.
352
353endif
354endif # FSL_SOC_BOOKE 266endif # FSL_SOC_BOOKE
355 267
356config TQM85xx 268config TQM85xx
357 bool 269 bool
358
359config CORENET_GENERIC
360 bool