ARM: initial multiplatform support
This lets us build a multiplatform kernel for experimental purposes.
However, it will not be useful for any real work, because it relies
on a number of useful things to be disabled for now:
* SMP support must be turned off because of conflicting symbols.
Marc Zyngier has proposed a solution by adding a new SOC
operations structure to hold indirect function pointers
for these, but that work is currently stalled
* We turn on SPARSE_IRQ unconditionally, which is not supported
on most platforms. Each of them is currently in a different
state, but most are being worked on.
* A common clock framework is in place since v3.4 but not yet
being used. Work on this is on its way.
* DEBUG_LL for early debugging is currently disabled.
* THUMB2_KERNEL does not work with allyesconfig because the
kernel gets too big
[Rob Herring]: Rebased to not be dependent on the mass mach header rename.
As a result, omap2plus, imx, mxs and ux500 are not converted. Highbank,
picoxcell, mvebu, and socfpga are converted.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Andrew Lunn <andrew@lunn.ch>
Acked-by: Jamie Iles <jamie@jamieiles.com>
Cc: Dinh Nguyen <dinguyen@altera.com>
2012-09-06 18:41:12 +00:00
|
|
|
config ARCH_MVEBU
|
2014-02-22 19:14:57 +00:00
|
|
|
bool "Marvell Engineering Business Unit (MVEBU) SoCs" if (ARCH_MULTI_V7 || ARCH_MULTI_V5)
|
2013-02-01 10:36:22 +00:00
|
|
|
select ARCH_SUPPORTS_BIG_ENDIAN
|
ARM: initial multiplatform support
This lets us build a multiplatform kernel for experimental purposes.
However, it will not be useful for any real work, because it relies
on a number of useful things to be disabled for now:
* SMP support must be turned off because of conflicting symbols.
Marc Zyngier has proposed a solution by adding a new SOC
operations structure to hold indirect function pointers
for these, but that work is currently stalled
* We turn on SPARSE_IRQ unconditionally, which is not supported
on most platforms. Each of them is currently in a different
state, but most are being worked on.
* A common clock framework is in place since v3.4 but not yet
being used. Work on this is on its way.
* DEBUG_LL for early debugging is currently disabled.
* THUMB2_KERNEL does not work with allyesconfig because the
kernel gets too big
[Rob Herring]: Rebased to not be dependent on the mass mach header rename.
As a result, omap2plus, imx, mxs and ux500 are not converted. Highbank,
picoxcell, mvebu, and socfpga are converted.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Andrew Lunn <andrew@lunn.ch>
Acked-by: Jamie Iles <jamie@jamieiles.com>
Cc: Dinh Nguyen <dinguyen@altera.com>
2012-09-06 18:41:12 +00:00
|
|
|
select CLKSRC_MMIO
|
|
|
|
select GENERIC_IRQ_CHIP
|
|
|
|
select IRQ_DOMAIN
|
2012-09-27 15:10:12 +00:00
|
|
|
select PINCTRL
|
|
|
|
select PLAT_ORION
|
2014-03-04 17:51:47 +00:00
|
|
|
select SOC_BUS
|
2013-03-21 16:59:15 +00:00
|
|
|
select MVEBU_MBUS
|
2013-04-08 22:52:10 +00:00
|
|
|
select ZONE_DMA if ARM_LPAE
|
2013-05-17 12:25:03 +00:00
|
|
|
select ARCH_REQUIRE_GPIOLIB
|
2013-05-16 15:55:23 +00:00
|
|
|
select MIGHT_HAVE_PCI
|
|
|
|
select PCI_QUIRKS if PCI
|
2014-02-19 22:14:56 +00:00
|
|
|
select OF_ADDRESS_PCI
|
ARM: initial multiplatform support
This lets us build a multiplatform kernel for experimental purposes.
However, it will not be useful for any real work, because it relies
on a number of useful things to be disabled for now:
* SMP support must be turned off because of conflicting symbols.
Marc Zyngier has proposed a solution by adding a new SOC
operations structure to hold indirect function pointers
for these, but that work is currently stalled
* We turn on SPARSE_IRQ unconditionally, which is not supported
on most platforms. Each of them is currently in a different
state, but most are being worked on.
* A common clock framework is in place since v3.4 but not yet
being used. Work on this is on its way.
* DEBUG_LL for early debugging is currently disabled.
* THUMB2_KERNEL does not work with allyesconfig because the
kernel gets too big
[Rob Herring]: Rebased to not be dependent on the mass mach header rename.
As a result, omap2plus, imx, mxs and ux500 are not converted. Highbank,
picoxcell, mvebu, and socfpga are converted.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Andrew Lunn <andrew@lunn.ch>
Acked-by: Jamie Iles <jamie@jamieiles.com>
Cc: Dinh Nguyen <dinguyen@altera.com>
2012-09-06 18:41:12 +00:00
|
|
|
|
2012-06-01 16:21:46 +00:00
|
|
|
if ARCH_MVEBU
|
|
|
|
|
2014-02-20 18:23:34 +00:00
|
|
|
menu "Marvell EBU SoC variants"
|
2012-06-01 16:21:46 +00:00
|
|
|
|
2014-02-17 14:23:19 +00:00
|
|
|
config MACH_MVEBU_V7
|
2012-09-13 15:41:51 +00:00
|
|
|
bool
|
2012-06-13 17:01:28 +00:00
|
|
|
select ARMADA_370_XP_TIMER
|
2012-09-26 16:02:48 +00:00
|
|
|
select CACHE_L2X0
|
2012-09-13 15:41:51 +00:00
|
|
|
|
|
|
|
config MACH_ARMADA_370
|
2014-02-22 19:14:50 +00:00
|
|
|
bool "Marvell Armada 370 boards" if ARCH_MULTI_V7
|
2013-05-11 01:08:09 +00:00
|
|
|
select ARMADA_370_CLK
|
2014-02-17 14:23:21 +00:00
|
|
|
select CPU_PJ4B
|
2014-02-17 14:23:19 +00:00
|
|
|
select MACH_MVEBU_V7
|
2012-09-13 15:41:52 +00:00
|
|
|
select PINCTRL_ARMADA_370
|
2012-06-13 17:01:28 +00:00
|
|
|
help
|
2012-09-13 15:41:51 +00:00
|
|
|
Say 'Y' here if you want your kernel to support boards based
|
|
|
|
on the Marvell Armada 370 SoC with device tree.
|
2012-06-13 17:01:28 +00:00
|
|
|
|
2014-02-17 14:23:23 +00:00
|
|
|
config MACH_ARMADA_375
|
2014-02-23 15:48:25 +00:00
|
|
|
bool "Marvell Armada 375 boards" if ARCH_MULTI_V7
|
2014-02-17 14:23:23 +00:00
|
|
|
select ARM_ERRATA_720789
|
|
|
|
select ARM_ERRATA_753970
|
|
|
|
select ARM_GIC
|
|
|
|
select ARMADA_375_CLK
|
|
|
|
select CPU_V7
|
2014-04-14 13:47:03 +00:00
|
|
|
select HAVE_ARM_SCU
|
2014-04-14 13:54:05 +00:00
|
|
|
select HAVE_ARM_TWD
|
|
|
|
select HAVE_SMP
|
2014-02-17 14:23:23 +00:00
|
|
|
select MACH_MVEBU_V7
|
|
|
|
select PINCTRL_ARMADA_375
|
|
|
|
help
|
|
|
|
Say 'Y' here if you want your kernel to support boards based
|
|
|
|
on the Marvell Armada 375 SoC with device tree.
|
|
|
|
|
2014-02-17 14:23:27 +00:00
|
|
|
config MACH_ARMADA_38X
|
2014-02-23 15:48:25 +00:00
|
|
|
bool "Marvell Armada 380/385 boards" if ARCH_MULTI_V7
|
2014-02-17 14:23:27 +00:00
|
|
|
select ARM_ERRATA_720789
|
|
|
|
select ARM_ERRATA_753970
|
|
|
|
select ARM_GIC
|
|
|
|
select ARMADA_38X_CLK
|
|
|
|
select CPU_V7
|
2014-04-14 13:47:03 +00:00
|
|
|
select HAVE_ARM_SCU
|
2014-04-14 13:54:05 +00:00
|
|
|
select HAVE_ARM_TWD
|
|
|
|
select HAVE_SMP
|
2014-02-17 14:23:27 +00:00
|
|
|
select MACH_MVEBU_V7
|
|
|
|
select PINCTRL_ARMADA_38X
|
|
|
|
help
|
|
|
|
Say 'Y' here if you want your kernel to support boards based
|
|
|
|
on the Marvell Armada 380/385 SoC with device tree.
|
|
|
|
|
2012-09-13 15:41:51 +00:00
|
|
|
config MACH_ARMADA_XP
|
2014-02-22 19:14:50 +00:00
|
|
|
bool "Marvell Armada XP boards" if ARCH_MULTI_V7
|
2013-05-11 01:08:09 +00:00
|
|
|
select ARMADA_XP_CLK
|
2014-02-17 14:23:21 +00:00
|
|
|
select CPU_PJ4B
|
2014-02-17 14:23:19 +00:00
|
|
|
select MACH_MVEBU_V7
|
2012-09-13 15:41:52 +00:00
|
|
|
select PINCTRL_ARMADA_XP
|
2012-09-13 15:41:51 +00:00
|
|
|
help
|
|
|
|
Say 'Y' here if you want your kernel to support boards based
|
|
|
|
on the Marvell Armada XP SoC with device tree.
|
2012-06-13 17:01:28 +00:00
|
|
|
|
2014-03-01 08:39:38 +00:00
|
|
|
config MACH_DOVE
|
|
|
|
bool "Marvell Dove boards" if ARCH_MULTI_V7
|
|
|
|
select CACHE_L2X0
|
|
|
|
select CPU_PJ4
|
|
|
|
select DOVE_CLK
|
|
|
|
select ORION_IRQCHIP
|
|
|
|
select ORION_TIMER
|
|
|
|
select PINCTRL_DOVE
|
|
|
|
help
|
|
|
|
Say 'Y' here if you want your kernel to support the
|
|
|
|
Marvell Dove using flattened device tree.
|
|
|
|
|
2014-02-22 19:14:57 +00:00
|
|
|
config MACH_KIRKWOOD
|
|
|
|
bool "Marvell Kirkwood boards" if ARCH_MULTI_V5
|
|
|
|
select ARCH_HAS_CPUFREQ
|
|
|
|
select ARCH_REQUIRE_GPIOLIB
|
|
|
|
select CPU_FEROCEON
|
|
|
|
select KIRKWOOD_CLK
|
|
|
|
select OF_IRQ
|
|
|
|
select ORION_IRQCHIP
|
|
|
|
select ORION_TIMER
|
|
|
|
select PCI
|
|
|
|
select PCI_QUIRKS
|
|
|
|
select PINCTRL_KIRKWOOD
|
|
|
|
select USE_OF
|
|
|
|
help
|
|
|
|
Say 'Y' here if you want your kernel to support boards based
|
|
|
|
on the Marvell Kirkwood device tree.
|
|
|
|
|
2014-02-25 17:34:01 +00:00
|
|
|
config MACH_T5325
|
|
|
|
bool "HP T5325 thin client"
|
|
|
|
depends on MACH_KIRKWOOD
|
|
|
|
help
|
|
|
|
Say 'Y' here if you want your kernel to support the
|
|
|
|
HP T5325 Thin client
|
|
|
|
|
2012-06-01 16:21:46 +00:00
|
|
|
endmenu
|
|
|
|
|
|
|
|
endif
|