summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-zx/zx296702.c
diff options
context:
space:
mode:
authorJun Nie <jun.nie@linaro.org>2015-04-28 11:18:05 +0200
committerArnd Bergmann <arnd@arndb.de>2015-05-15 21:49:02 +0200
commitacede515b3a5997becc5736657e11f4f410a8235 (patch)
treed8f981fa268f529a17203f14903863ca4a5446eb /arch/arm/mach-zx/zx296702.c
parentARM: lpc18xx: add basic support for NXP LPC18xx/43xx SoCs (diff)
downloadlinux-acede515b3a5997becc5736657e11f4f410a8235.tar.xz
linux-acede515b3a5997becc5736657e11f4f410a8235.zip
ARM: zx: add basic support for ZTE ZX296702
Add basic code for ZTE ZX296702 platform. [arnd: removed unused zx296702_init_machine function, and changed l2c aux val to default] Signed-off-by: Jun Nie <jun.nie@linaro.org> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to '')
-rw-r--r--arch/arm/mach-zx/zx296702.c25
1 files changed, 25 insertions, 0 deletions
diff --git a/arch/arm/mach-zx/zx296702.c b/arch/arm/mach-zx/zx296702.c
new file mode 100644
index 000000000000..60bb1a8e1bf1
--- /dev/null
+++ b/arch/arm/mach-zx/zx296702.c
@@ -0,0 +1,25 @@
+/*
+ * Copyright 2014 Linaro Ltd.
+ * Copyright (C) 2014 ZTE Corporation.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#include <asm/mach/arch.h>
+#include <asm/mach/map.h>
+
+#include <linux/of_address.h>
+#include <linux/of_platform.h>
+
+static const char *zx296702_dt_compat[] __initconst = {
+ "zte,zx296702",
+ NULL,
+};
+
+DT_MACHINE_START(ZX, "ZTE ZX296702 (Device Tree)")
+ .dt_compat = zx296702_dt_compat,
+ .l2c_aux_val = 0,
+ .l2c_aux_mask = ~0,
+MACHINE_END