diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-03-03 09:41:11 -0500 |
---|---|---|
committer | Gregory CLEMENT <gregory.clement@free-electrons.com> | 2015-03-04 09:35:38 -0500 |
commit | 242ede0bdd2bc6fb2057ddc98cce90043008127f (patch) | |
tree | 81f319e0e95604e2900a850e38c7b4e34273beb0 /arch/arm/mach-mvebu/Kconfig | |
parent | 007fa9467f8f5607bb36b4a2bf31316a7e5b06ff (diff) |
ARM: mvebu: add core support for Armada 39x
This commit adds the core support for Armada 39x, which is quite
simple:
- a new Kconfig option which selects the appropriate clock and
pinctrl drivers as well as other common features (GIC, L2 cache,
SMP, etc.)
- a new DT_MACHINE_START which references the top-level compatible
strings supported for the Marvell Armada 39x.
- a new SMP enable-method. The mechanism to enable CPUs for Armada
39x appears to be the same as Armada 38x. However, we do not want
to use marvell,armada-380-smp in the Device Tree, in the case of
the discovery of a subtle difference in the future, which would
require changing the Device Tree. And the enable-method isn't a
compatible string: you can't specify several values and expect a
fallback on the second string if the first one isn't
supported. Therefore, we simply declare the SMP enable method
"marvell,armada-390-smp" as doing the same thing as the
"marvell,armada-380-smp" one.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Diffstat (limited to 'arch/arm/mach-mvebu/Kconfig')
-rw-r--r-- | arch/arm/mach-mvebu/Kconfig | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/mach-mvebu/Kconfig b/arch/arm/mach-mvebu/Kconfig index c1e4567a5ab3..97473168d6b6 100644 --- a/arch/arm/mach-mvebu/Kconfig +++ b/arch/arm/mach-mvebu/Kconfig | |||
@@ -64,6 +64,20 @@ config MACH_ARMADA_38X | |||
64 | Say 'Y' here if you want your kernel to support boards based | 64 | Say 'Y' here if you want your kernel to support boards based |
65 | on the Marvell Armada 380/385 SoC with device tree. | 65 | on the Marvell Armada 380/385 SoC with device tree. |
66 | 66 | ||
67 | config MACH_ARMADA_39X | ||
68 | bool "Marvell Armada 39x boards" if ARCH_MULTI_V7 | ||
69 | select ARM_GIC | ||
70 | select ARMADA_39X_CLK | ||
71 | select CACHE_L2X0 | ||
72 | select HAVE_ARM_SCU | ||
73 | select HAVE_ARM_TWD if SMP | ||
74 | select HAVE_SMP | ||
75 | select MACH_MVEBU_V7 | ||
76 | select PINCTRL_ARMADA_39X | ||
77 | help | ||
78 | Say 'Y' here if you want your kernel to support boards based | ||
79 | on the Marvell Armada 39x SoC with device tree. | ||
80 | |||
67 | config MACH_ARMADA_XP | 81 | config MACH_ARMADA_XP |
68 | bool "Marvell Armada XP boards" if ARCH_MULTI_V7 | 82 | bool "Marvell Armada XP boards" if ARCH_MULTI_V7 |
69 | select ARMADA_XP_CLK | 83 | select ARMADA_XP_CLK |