summaryrefslogtreecommitdiff
path: root/arch/arm/mach-kirkwood/common.h
diff options
context:
space:
mode:
authorValentin Longchamp <valentin.longchamp@keymile.com>2012-09-04 09:55:02 (GMT)
committerJason Cooper <jason@lakedaemon.net>2012-09-21 17:07:17 (GMT)
commit0510c8a014432b45f09509d1fb450922ec96b40d (patch)
tree82d01eea4ec0a5dfded7f000ad19055d135efaff /arch/arm/mach-kirkwood/common.h
parent903234673f1421f5ad9a74bafca427b812f59c93 (diff)
downloadlinux-0510c8a014432b45f09509d1fb450922ec96b40d.tar.xz
ARM: initial DTS support for km_kirkwood
This is a first attempt to support the km_kirkwood reference design with a device tree. This km_kirkwood design is present in many Keymile products. It is based on the Marvell Bobcat SOC which integrates a Kirkwood CPU next to a big L2 Ethernet Switch. The Kirkwood in the SOC is very similar to the "normal" one, but there are a few differences. This initial support is minimal: the kernel can boot with network (ge0), serial port and NAND functional. Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com> Cc: Holger Brunck <holger.brunck@keymile.com> Acked-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/mach-kirkwood/common.h')
-rw-r--r--arch/arm/mach-kirkwood/common.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-kirkwood/common.h b/arch/arm/mach-kirkwood/common.h
index 8f2520f..bcffd7c 100644
--- a/arch/arm/mach-kirkwood/common.h
+++ b/arch/arm/mach-kirkwood/common.h
@@ -106,6 +106,12 @@ void iomega_ix2_200_init(void);
static inline void iomega_ix2_200_init(void) {};
#endif
+#ifdef CONFIG_MACH_KM_KIRKWOOD_DT
+void km_kirkwood_init(void);
+#else
+static inline void km_kirkwood_init(void) {};
+#endif
+
/* early init functions not converted to fdt yet */
char *kirkwood_id(void);
void kirkwood_l2_init(void);