summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/armlinux.h
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2009-10-22 12:12:47 +0200
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2009-10-22 12:12:47 +0200
commit67254a403fe14464e25c378591b139cda8cd867f (patch)
tree032f2d6136a69a12a5343630f408cde5594c3cf4 /arch/arm/include/asm/armlinux.h
parentdac4338cdcdff9693f5b6bd4214ad2b1dd263b57 (diff)
downloadbarebox-67254a403fe14464e25c378591b139cda8cd867f.tar.gz
[ARM] move include/asm-arm to arch/arm/include/asm
Move platform independent header files to arch/arm/include/asm, leaving those in asm/arch* and asm/proc* alone. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'arch/arm/include/asm/armlinux.h')
-rw-r--r--arch/arm/include/asm/armlinux.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/arch/arm/include/asm/armlinux.h b/arch/arm/include/asm/armlinux.h
new file mode 100644
index 0000000..cfe57f4
--- /dev/null
+++ b/arch/arm/include/asm/armlinux.h
@@ -0,0 +1,23 @@
+#ifndef __ARCH_ARMLINUX_H
+#define __ARCH_ARMLINUX_H
+
+#if defined CONFIG_CMD_BOOTM || defined CONFIG_CMD_BOOTZ || \
+ defined CONFIG_CMD_BOOTU
+void armlinux_set_bootparams(void *params);
+void armlinux_set_architecture(int architecture);
+void armlinux_add_dram(struct device_d *dev);
+#else
+static inline void armlinux_set_bootparams(void *params)
+{
+}
+
+static inline void armlinux_set_architecture(int architecture)
+{
+}
+
+static inline void armlinux_add_dram(struct device_d *dev)
+{
+}
+#endif
+
+#endif /* __ARCH_ARMLINUX_H */