forked from Minki/linux
powerpc/85xx: Kconfig cleanup
Introduce new FSL_SOC_BOOKE Kconfig to handle both 85xx and QorIQ based chips. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
This commit is contained in:
parent
2e9d546eda
commit
5753c082f6
@ -1,6 +1,7 @@
|
||||
menuconfig MPC85xx
|
||||
bool "Machine Type"
|
||||
depends on PPC_85xx
|
||||
menuconfig FSL_SOC_BOOKE
|
||||
bool "Freescale Book-E Machine Type"
|
||||
depends on PPC_85xx || PPC_BOOK3E
|
||||
select FSL_SOC
|
||||
select PPC_UDBG_16550
|
||||
select MPIC
|
||||
select PPC_PCI_CHOICE
|
||||
@ -8,7 +9,7 @@ menuconfig MPC85xx
|
||||
select SERIAL_8250_SHARE_IRQ if SERIAL_8250
|
||||
default y
|
||||
|
||||
if MPC85xx
|
||||
if FSL_SOC_BOOKE
|
||||
|
||||
config MPC8540_ADS
|
||||
bool "Freescale MPC8540 ADS"
|
||||
@ -144,7 +145,7 @@ config SBC8560
|
||||
help
|
||||
This option enables support for the Wind River SBC8560 board
|
||||
|
||||
endif # MPC85xx
|
||||
endif # FSL_SOC_BOOKE
|
||||
|
||||
config TQM85xx
|
||||
bool
|
||||
|
@ -260,7 +260,7 @@ config QE_GPIO
|
||||
|
||||
config CPM2
|
||||
bool "Enable support for the CPM2 (Communications Processor Module)"
|
||||
depends on MPC85xx || 8260
|
||||
depends on (FSL_SOC_BOOKE && PPC32) || 8260
|
||||
select CPM
|
||||
select PPC_LIB_RHEAP
|
||||
select PPC_PCI_CHOICE
|
||||
@ -305,7 +305,7 @@ source "arch/powerpc/sysdev/bestcomm/Kconfig"
|
||||
|
||||
config MPC8xxx_GPIO
|
||||
bool "MPC8xxx GPIO support"
|
||||
depends on PPC_MPC831x || PPC_MPC834x || PPC_MPC837x || PPC_85xx || PPC_86xx
|
||||
depends on PPC_MPC831x || PPC_MPC834x || PPC_MPC837x || FSL_SOC_BOOKE || PPC_86xx
|
||||
select GENERIC_GPIO
|
||||
select ARCH_REQUIRE_GPIOLIB
|
||||
help
|
||||
|
@ -28,8 +28,6 @@ config PPC_BOOK3S_32
|
||||
config PPC_85xx
|
||||
bool "Freescale 85xx"
|
||||
select E500
|
||||
select FSL_SOC
|
||||
select MPC85xx
|
||||
|
||||
config PPC_8xx
|
||||
bool "Freescale 8xx"
|
||||
@ -138,6 +136,14 @@ config PPC_FPU
|
||||
bool
|
||||
default y if PPC64
|
||||
|
||||
config FSL_EMB_PERFMON
|
||||
bool "Freescale Embedded Perfmon"
|
||||
depends on E500 || PPC_83xx
|
||||
help
|
||||
This is the Performance Monitor support found on the e500 core
|
||||
and some e300 cores (c3 and c4). Select this only if your
|
||||
core supports the Embedded Performance Monitor APU
|
||||
|
||||
config 4xx
|
||||
bool
|
||||
depends on 40x || 44x
|
||||
@ -153,13 +159,6 @@ config FSL_BOOKE
|
||||
depends on E200 || E500
|
||||
default y
|
||||
|
||||
config FSL_EMB_PERFMON
|
||||
bool "Freescale Embedded Perfmon"
|
||||
depends on E500 || PPC_83xx
|
||||
help
|
||||
This is the Performance Monitor support found on the e500 core
|
||||
and some e300 cores (c3 and c4). Select this only if your
|
||||
core supports the Embedded Performance Monitor APU
|
||||
|
||||
config PTE_64BIT
|
||||
bool
|
||||
|
@ -12,7 +12,7 @@ obj-$(CONFIG_PPC_MPC52xx) += 52xx/
|
||||
obj-$(CONFIG_PPC_8xx) += 8xx/
|
||||
obj-$(CONFIG_PPC_82xx) += 82xx/
|
||||
obj-$(CONFIG_PPC_83xx) += 83xx/
|
||||
obj-$(CONFIG_PPC_85xx) += 85xx/
|
||||
obj-$(CONFIG_FSL_SOC_BOOKE) += 85xx/
|
||||
obj-$(CONFIG_PPC_86xx) += 86xx/
|
||||
obj-$(CONFIG_PPC_PSERIES) += pseries/
|
||||
obj-$(CONFIG_PPC_ISERIES) += iseries/
|
||||
|
@ -56,7 +56,7 @@ static int __init fsl_pcie_check_link(struct pci_controller *hose)
|
||||
return 0;
|
||||
}
|
||||
|
||||
#if defined(CONFIG_PPC_85xx) || defined(CONFIG_PPC_86xx)
|
||||
#if defined(CONFIG_FSL_SOC_BOOKE) || defined(CONFIG_PPC_86xx)
|
||||
static int __init setup_one_atmu(struct ccsr_pci __iomem *pci,
|
||||
unsigned int index, const struct resource *res,
|
||||
resource_size_t offset)
|
||||
@ -394,7 +394,7 @@ DECLARE_PCI_FIXUP_HEADER(0x1957, PCI_DEVICE_ID_MPC8641D, quirk_fsl_pcie_header);
|
||||
DECLARE_PCI_FIXUP_HEADER(0x1957, PCI_DEVICE_ID_MPC8610, quirk_fsl_pcie_header);
|
||||
DECLARE_PCI_FIXUP_HEADER(0x1957, PCI_DEVICE_ID_P2020E, quirk_fsl_pcie_header);
|
||||
DECLARE_PCI_FIXUP_HEADER(0x1957, PCI_DEVICE_ID_P2020, quirk_fsl_pcie_header);
|
||||
#endif /* CONFIG_PPC_85xx || CONFIG_PPC_86xx */
|
||||
#endif /* CONFIG_FSL_SOC_BOOKE || CONFIG_PPC_86xx */
|
||||
|
||||
#if defined(CONFIG_PPC_83xx) || defined(CONFIG_PPC_MPC512x)
|
||||
DECLARE_PCI_FIXUP_HEADER(0x1957, PCI_DEVICE_ID_MPC8314E, quirk_fsl_pcie_header);
|
||||
|
@ -372,7 +372,7 @@ err:
|
||||
|
||||
arch_initcall(fsl_usb_of_init);
|
||||
|
||||
#if defined(CONFIG_PPC_85xx) || defined(CONFIG_PPC_86xx)
|
||||
#if defined(CONFIG_FSL_SOC_BOOKE) || defined(CONFIG_PPC_86xx)
|
||||
static __be32 __iomem *rstcr;
|
||||
|
||||
static int __init setup_rstcr(void)
|
||||
|
Loading…
Reference in New Issue
Block a user