]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: meson: add meson8 support
authorBeniamino Galvani <b.galvani@gmail.com>
Sun, 5 Oct 2014 21:59:13 +0000 (23:59 +0200)
committerCarlo Caione <carlo@caione.org>
Tue, 18 Nov 2014 15:34:45 +0000 (16:34 +0100)
Add a MACH_MESON8 symbol and add "amlogic,meson8" to the list of
compatible strings for the Meson DT machine to support devices based
on the Meson8 family of SoCs.

Signed-off-by: Beniamino Galvani <b.galvani@gmail.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Carlo Caione <carlo@caione.org>
arch/arm/mach-meson/Kconfig
arch/arm/mach-meson/meson.c

index 2c1154e1794a30ab212c3b30bff017fef6130952..b289e8e1625f607222ac4882fbe36858bde566d0 100644 (file)
@@ -10,4 +10,9 @@ config MACH_MESON6
        default ARCH_MESON
        select MESON6_TIMER
 
+config MACH_MESON8
+       bool "Amlogic Meson8 SoCs support"
+       default ARCH_MESON
+       select MESON6_TIMER
+
 endif
index 5ee064f5a89f67930571ab27036dc0d47367b4d5..8f42d8fbb50575365c756de166b62a0f6a9efb37 100644 (file)
 #include <linux/of_platform.h>
 #include <asm/mach/arch.h>
 
-static const char * const m6_common_board_compat[] = {
+static const char * const meson_common_board_compat[] = {
        "amlogic,meson6",
+       "amlogic,meson8",
        NULL,
 };
 
-DT_MACHINE_START(AML8726_MX, "Amlogic Meson6 platform")
-       .dt_compat      = m6_common_board_compat,
+DT_MACHINE_START(MESON, "Amlogic Meson platform")
+       .dt_compat      = meson_common_board_compat,
 MACHINE_END
-