[PATCH v3 3/7] ARM: hisi: add dt_machine definition for Hi3519
Jiancheng Xue
xuejiancheng at huawei.com
Thu Dec 10 23:45:17 PST 2015
add dt_machine definition for hi3519.
Signed-off-by: Jiancheng Xue <xuejiancheng at huawei.com>
---
arch/arm/mach-hisi/hisilicon.c | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/arch/arm/mach-hisi/hisilicon.c b/arch/arm/mach-hisi/hisilicon.c
index 8cc6215..010d8a2 100644
--- a/arch/arm/mach-hisi/hisilicon.c
+++ b/arch/arm/mach-hisi/hisilicon.c
@@ -81,3 +81,12 @@ static const char *const hip01_compat[] __initconst = {
DT_MACHINE_START(HIP01, "Hisilicon HIP01 (Flattened Device Tree)")
.dt_compat = hip01_compat,
MACHINE_END
+
+static const char *const hi3519_compat[] __initconst = {
+ "hisilicon,hi3519",
+ NULL,
+};
+
+DT_MACHINE_START(HI3519_DT, "Hisilicon Hi3519")
+ .dt_compat = hi3519_compat,
+MACHINE_END
--
1.9.1
More information about the linux-arm-kernel
mailing list