summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2017-06-14 23:50:08 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2017-06-19 08:23:49 +0200
commit69642d964248e03baa2f38d6f32b484a6b85f4b4 (patch)
treeb7503fff3b3b5e993e65a8a7b8fcd14b5e5da443
parenta4c5612641338abba9ebf35f3655bcfff11cb05d (diff)
downloadbarebox-69642d964248e03baa2f38d6f32b484a6b85f4b4.tar.gz
barebox-69642d964248e03baa2f38d6f32b484a6b85f4b4.tar.xz
ARM: mvebu: initial support for Armada 38x
This SoC is similar enough to Armada 380/XP to make use of the code supporting these without further adaption. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--arch/arm/mach-mvebu/Kconfig5
-rw-r--r--arch/arm/mach-mvebu/Makefile1
2 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-mvebu/Kconfig b/arch/arm/mach-mvebu/Kconfig
index 148b4f6d4..827967eea 100644
--- a/arch/arm/mach-mvebu/Kconfig
+++ b/arch/arm/mach-mvebu/Kconfig
@@ -17,6 +17,11 @@ config ARCH_ARMADA_XP
select CPU_V7
select CLOCKSOURCE_MVEBU
+config ARCH_ARMADA_38X
+ bool
+ select CPU_V7
+ select CLOCKSOURCE_MVEBU
+
config ARCH_DOVE
bool
select CPU_V7
diff --git a/arch/arm/mach-mvebu/Makefile b/arch/arm/mach-mvebu/Makefile
index 89805ba5b..87a851191 100644
--- a/arch/arm/mach-mvebu/Makefile
+++ b/arch/arm/mach-mvebu/Makefile
@@ -1,6 +1,7 @@
obj-pbl-y += common.o
obj-$(CONFIG_ARCH_ARMADA_370) += armada-370-xp.o
obj-$(CONFIG_ARCH_ARMADA_XP) += armada-370-xp.o
+obj-$(CONFIG_ARCH_ARMADA_38X) += armada-370-xp.o
obj-$(CONFIG_ARCH_DOVE) += dove.o
obj-$(CONFIG_ARCH_KIRKWOOD) += kirkwood.o
obj-$(CONFIG_BOOTM) += kwbootimage.o