[PATCH v3 7/9] arm: mach-mvebu: add compilation/configuration change

Arnd Bergmann arnd at arndb.de
Fri Jun 15 05:07:16 EDT 2012


On Friday 15 June 2012, Andrew Lunn wrote:
> How is this going to work when we move DT supported kirkwood, Orion5x,
> Dove, etc into here?
> 
> Maybe this should be called ARCH_MVEBU_CPU_V7 for these two SoCs plus
> Dove and we have a second config ARCH_MVEBU_CPU_V5 for Kirkwood,
> Orion5x, MV78xx0?

I think having one top-level option is fine, we can make sure you
only select compatible ones inside the merged Kconfig, e.g.

config ARCH_ORION5X
	bool "Marvell Orion"
	depends on !CPU_V7
	select CPU_V5

config ARCH_KIRKWOOD
	bool "Marvell Kirkwood"
	depends on !CPU_V7
	select CPU_V5

config ARCH_DOVE
	bool "Marvell Dove"
	select CPU_V7

config ARCH_ARMADA370
	bool Marvell Armada 370"
	select CPU_V7

config ARCH_ARMADAXP
	bool Marvell ArmadaXP"
	select CPU_V7


	Arnd



More information about the linux-arm-kernel mailing list