Change mpc52xx Kconfig entries to match other freescale parts
Subsystems (4)
All other Freescale parts use Kconfig defines of the form: PPC_8?xx The MPC52xx is currently in the form: PPC_MPC52xx. This commit changes it to PPC_52xx for consistency sake.
Signed-off-by Grant Likely <[email protected]>
--- Documentation/powerpc/mpc52xx.txt | 9 ++++----- arch/powerpc/Kconfig | 16 ++++++++-------- arch/powerpc/Kconfig.debug | 2 +- arch/powerpc/configs/lite5200_defconfig | 2 +- arch/powerpc/platforms/52xx/mpc52xx_pci.c | 4 ++-- arch/powerpc/platforms/Makefile | 2 +- arch/ppc/Kconfig | 6 +++--- arch/ppc/Kconfig.debug | 2 +- arch/ppc/configs/lite5200_defconfig | 2 +- arch/ppc/kernel/setup.c | 2 +- arch/ppc/syslib/Makefile | 4 ++-- drivers/serial/Kconfig | 2 +- drivers/usb/Kconfig | 2 +- drivers/usb/host/Kconfig | 6 +++--- include/asm-ppc/ppc_sys.h | 2 +- include/asm-ppc/ppcboot.h | 4 ++-- 16 files changed, 33 insertions(+), 34 deletions(-)
Documentation/powerpc/mpc52xx.txt +4 -5
@@ -29,11 +29,10 @@ To compile/use : Some remarks : - - The port is named mpc52xxx, and config options are PPC_MPC52xx. The MGT5100 - is not supported, and I'm not sure anyone is interesting in working on it - so. I didn't took 5xxx because there's apparently a lot of 5xxx that have - nothing to do with the MPC5200. I also included the 'MPC' for the same - reason. + - The port is named mpc52xx, and config option is PPC_52xx. The MGT5100 + is not supported, and I'm not sure anyone is interesting in working on it. + I didn't take 5xxx because there's apparently a lot of 5xxx that have + nothing to do with the MPC5200. - Of course, I inspired myself from the 2.4 port. If you think I forgot to mention you/your company in the copyright of some code, I'll correct it ASAP.
arch/powerpc/Kconfig +8 -8
@@ -425,18 +425,18 @@ config PPC_CHRP select PPC_NATIVE default y -config PPC_MPC52xx +config PPC_52xx bool default n -config PPC_MPC5200 +config PPC_5200 bool - select PPC_MPC52xx + select PPC_52xx default n -config PPC_MPC5200_BUGFIX +config PPC_5200_BUGFIX bool "MPC5200 (L25R) bugfix support" - depends on PPC_MPC5200 + depends on PPC_5200 default n help Enable workarounds for original MPC5200 errata. This is not required
@@ -449,14 +449,14 @@ config PPC_EFIKA depends on PPC_MULTIPLATFORM && PPC32 select PPC_RTAS select RTAS_PROC - select PPC_MPC52xx + select PPC_52xx select PPC_NATIVE default y config PPC_LITE5200 bool "Freescale Lite5200 Eval Board" depends on PPC_MULTIPLATFORM && PPC32 - select PPC_MPC5200 + select PPC_5200 default n config PPC_PMAC
@@ -982,7 +982,7 @@ config MCA config PCI bool "PCI support" if 40x || CPM2 || PPC_83xx || PPC_85xx || PPC_86xx \ - || PPC_MPC52xx || (EMBEDDED && PPC_ISERIES) || MPC7448HPC2 || PPC_PS3 + || PPC_52xx || (EMBEDDED && PPC_ISERIES) || MPC7448HPC2 || PPC_PS3 default y if !40x && !CPM2 && !8xx && !APUS && !PPC_83xx \ && !PPC_85xx && !PPC_86xx default PCI_PERMEDIA if !4xx && !CPM2 && !8xx && APUS
arch/powerpc/Kconfig.debug +1 -1
@@ -133,7 +133,7 @@ config BOOTX_TEXT config SERIAL_TEXT_DEBUG bool "Support for early boot texts over serial port" depends on 4xx || LOPEC || MV64X60 || PPLUS || PRPMC800 || \ - PPC_GEN550 || PPC_MPC52xx + PPC_GEN550 || PPC_52xx config PPC_EARLY_DEBUG bool "Early debugging (dangerous)"
arch/powerpc/configs/lite5200_defconfig +1 -1
@@ -128,7 +128,7 @@ CONFIG_PPC_MULTIPLATFORM=y # CONFIG_EMBEDDED6xx is not set # CONFIG_APUS is not set # CONFIG_PPC_CHRP is not set -CONFIG_PPC_MPC52xx=y +CONFIG_PPC_52xx=y # CONFIG_PPC_EFIKA is not set CONFIG_PPC_LITE5200=y # CONFIG_PPC_PMAC is not set
arch/powerpc/platforms/52xx/mpc52xx_pci.c +2 -2
@@ -122,7 +122,7 @@ mpc52xx_pci_read_config(struct pci_bus * (offset & 0xfc));mb (); -#if defined(CONFIG_PPC_MPC5200_BUGFIX ) +#if defined(CONFIG_PPC_5200_BUGFIX )if (bus->number != hose->bus_offset) {/* workaround for the bug 435 of the MPC5200 (L25R); * Don't do 32 bits config access during type-1 cycles */
@@ -179,7 +179,7 @@ mpc52xx_pci_write_config(struct pci_bus (offset & 0xfc));mb (); -#if defined(CONFIG_PPC_MPC5200_BUGFIX ) +#if defined(CONFIG_PPC_5200_BUGFIX )if (bus->number != hose->bus_offset) {/* workaround for the bug 435 of the MPC5200 (L25R); * Don't do 32 bits config access during type-1 cycles */
arch/powerpc/platforms/Makefile +1 -1
@@ -7,7 +7,7 @@ endif endif obj-$(CONFIG_PPC_CHRP) += chrp/ obj-$(CONFIG_4xx) += 4xx/ -obj-$(CONFIG_PPC_MPC52xx) += 52xx/ +obj-$(CONFIG_PPC_52xx) += 52xx/ obj-$(CONFIG_PPC_83xx) += 83xx/ obj-$(CONFIG_PPC_85xx) += 85xx/ obj-$(CONFIG_PPC_86xx) += 86xx/
arch/ppc/Kconfig +3 -3
@@ -726,7 +726,7 @@ config PQ2FADS config LITE5200 bool "Freescale LITE5200 / (IceCube)" - select PPC_MPC52xx + select PPC_52xx help Support for the LITE5200 dev board for the MPC5200 from Freescale. This is for the LITE5200 version 2.0 board. Don't know if it changes
@@ -772,7 +772,7 @@ config EMBEDDEDBOOT depends on 8xx || 8260 default y -config PPC_MPC52xx +config PPC_52xx bool config 8260
@@ -1216,7 +1216,7 @@ config MCA bool config PCI - bool "PCI support" if 40x || CPM2 || 83xx || 85xx || PPC_MPC52xx + bool "PCI support" if 40x || CPM2 || 83xx || 85xx || PPC_52xx default y if !40x && !CPM2 && !8xx && !APUS && !83xx && !85xx default PCI_PERMEDIA if !4xx && !CPM2 && !8xx && APUS default PCI_QSPAN if !4xx && !CPM2 && 8xx
arch/ppc/Kconfig.debug +1 -1
@@ -56,7 +56,7 @@ config BDI_SWITCH config SERIAL_TEXT_DEBUG bool "Support for early boot texts over serial port" depends on 4xx || LOPEC || MV64X60 || PPLUS || PRPMC800 || \ - PPC_GEN550 || PPC_MPC52xx + PPC_GEN550 || PPC_52xx config PPC_OCP bool
arch/ppc/configs/lite5200_defconfig +1 -1
@@ -88,7 +88,7 @@ # CONFIG_RPX6 is not set # CONFIG_TQM8260 is not set # CONFIG_ADS8272 is not set CONFIG_LITE5200=y -CONFIG_PPC_MPC52xx=y +CONFIG_PPC_52xx=y # CONFIG_SMP is not set # CONFIG_PREEMPT is not set # CONFIG_HIGHMEM is not set
arch/ppc/kernel/setup.c +1 -1
@@ -42,7 +42,7 @@ #include <asm/prom.h>#define USES_PPC_SYS (defined(CONFIG_85xx) || defined(CONFIG_83xx) || \ defined(CONFIG_MPC10X_BRIDGE) || defined(CONFIG_8260) || \ - defined(CONFIG_PPC_MPC52xx)) + defined(CONFIG_PPC_52xx))#if USES_PPC_SYS #include <asm/ppc_sys.h>
arch/ppc/syslib/Makefile +2 -2
@@ -99,9 +99,9 @@ obj-$(CONFIG_PCI) += pci_auto.o endif obj-$(CONFIG_MPC8548_CDS) += todc_time.o obj-$(CONFIG_MPC8555_CDS) += todc_time.o -obj-$(CONFIG_PPC_MPC52xx) += mpc52xx_setup.o mpc52xx_pic.o \ +obj-$(CONFIG_PPC_52xx) += mpc52xx_setup.o mpc52xx_pic.o \ mpc52xx_sys.o mpc52xx_devices.o ppc_sys.o -ifeq ($(CONFIG_PPC_MPC52xx),y) +ifeq ($(CONFIG_PPC_52xx),y) obj-$(CONFIG_PCI) += mpc52xx_pci.o endif
drivers/serial/Kconfig +1 -1
@@ -840,7 +840,7 @@ config SERIAL_SGI_L1_CONSOLE config SERIAL_MPC52xx tristate "Freescale MPC52xx family PSC serial support" - depends on PPC_MPC52xx + depends on PPC_52xx select SERIAL_CORE help This drivers support the MPC52xx PSC serial ports. If you would
drivers/usb/Kconfig +1 -1
@@ -28,7 +28,7 @@ config USB_ARCH_HAS_OHCI default y if ARCH_PNX4008 # PPC: default y if STB03xxx - default y if PPC_MPC52xx + default y if PPC_52xx # MIPS: default y if SOC_AU1X00 # more:
drivers/usb/host/Kconfig +3 -3
@@ -99,7 +99,7 @@ config USB_OHCI_HCD config USB_OHCI_HCD_PPC_SOC bool "OHCI support for on-chip PPC USB controller" - depends on USB_OHCI_HCD && (STB03xxx || PPC_MPC52xx) + depends on USB_OHCI_HCD && (STB03xxx || PPC_52xx) default y select USB_OHCI_BIG_ENDIAN ---help---
@@ -108,7 +108,7 @@ config USB_OHCI_HCD_PPC_SOC config USB_OHCI_HCD_PCI bool "OHCI support for PCI-bus USB controllers" - depends on USB_OHCI_HCD && PCI && (STB03xxx || PPC_MPC52xx) + depends on USB_OHCI_HCD && PCI && (STB03xxx || PPC_52xx) default y select USB_OHCI_LITTLE_ENDIAN ---help---
@@ -123,7 +123,7 @@ config USB_OHCI_BIG_ENDIAN config USB_OHCI_LITTLE_ENDIAN bool depends on USB_OHCI_HCD - default n if STB03xxx || PPC_MPC52xx + default n if STB03xxx || PPC_52xx default y config USB_UHCI_HCD
include/asm-ppc/ppc_sys.h +1 -1
@@ -29,7 +29,7 @@ #elif defined(CONFIG_85xx)#include <asm/mpc85xx.h> #elif defined(CONFIG_8xx)#include <asm/mpc8xx.h> -#elif defined(CONFIG_PPC_MPC52xx) +#elif defined(CONFIG_PPC_52xx)#include <asm/mpc52xx.h> #elif defined(CONFIG_MPC10X_BRIDGE )#include <asm/mpc10x.h>
include/asm-ppc/ppcboot.h +2 -2
@@ -42,7 +42,7 @@ #if defined(CONFIG_8xx) || defined(CONFIdefined (CONFIG_83xx) unsigned long bi_immr_base; /* base of IMMR register */#endif -#if defined(CONFIG_PPC_MPC52xx) +#if defined(CONFIG_PPC_52xx)unsigned long bi_mbar_base;/* base of internal registers */ #endif unsigned long bi_bootflags;/* boot / reboot flag (for LynxOS) */
@@ -57,7 +57,7 @@ #if defined(CONFIG_CPM2)unsigned long bi_sccfreq;/* SCC_CLK Freq, in MHz */ unsigned long bi_vco;/* VCO Out from PLL, in MHz */ #endif -#if defined(CONFIG_PPC_MPC52xx) +#if defined(CONFIG_PPC_52xx)unsigned long bi_ipbfreq;/* IPB Bus Freq, in MHz */ unsigned long bi_pcifreq;/* PCI Bus Freq, in MHz */ #endif
Signature · 1 line
1.4.3.rc2.g0503
Sylvain Munaut
Acked-byQuoted 7 lines · Grant Likely
All other Freescale parts use
Kconfigdefines of the form: PPC_8?xx The MPC52xx is currently in the form:PPC_MPC52xx. This commit changes it toPPC_52xxfor consistency sake.Signed-off-by Grant Likely <[email protected]>
Acked-by Sylvain Munaut <[email protected]>