Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e790af67 authored by Beniamino Galvani's avatar Beniamino Galvani Committed by Carlo Caione
Browse files

ARM: meson: add meson8 support



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: default avatarBeniamino Galvani <b.galvani@gmail.com>
Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarCarlo Caione <carlo@caione.org>
parent f114040e
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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
+4 −4
Original line number Diff line number Diff line
@@ -16,12 +16,12 @@
#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