summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/armlinux.h
diff options
context:
space:
mode:
authorMarc Reilly <marc@cpdesign.com.au>2010-05-14 12:15:15 +1000
committerSascha Hauer <s.hauer@pengutronix.de>2010-05-17 10:52:46 +0200
commit0df45f559962cf908bc6d5ecd206cd7eae5f3d3e (patch)
tree3f97f7087dccceea78df59c463270b49baecc1c0 /arch/arm/include/asm/armlinux.h
parent9c0c26a0848ef35bcd422534eb862e5be9f814ae (diff)
downloadbarebox-0df45f559962cf908bc6d5ecd206cd7eae5f3d3e.tar.gz
arm: Add revision tag to boot parameters
Revision info required for some boards at boot time. Only adds if the system_rev has been set to non-zero. Signed-off-by: Marc Reilly <marc@cpdesign.com.au> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/include/asm/armlinux.h')
-rw-r--r--arch/arm/include/asm/armlinux.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/include/asm/armlinux.h b/arch/arm/include/asm/armlinux.h
index cfe57f4..f4104fb 100644
--- a/arch/arm/include/asm/armlinux.h
+++ b/arch/arm/include/asm/armlinux.h
@@ -6,6 +6,7 @@
void armlinux_set_bootparams(void *params);
void armlinux_set_architecture(int architecture);
void armlinux_add_dram(struct device_d *dev);
+void armlinux_set_revision(unsigned int);
#else
static inline void armlinux_set_bootparams(void *params)
{
@@ -18,6 +19,11 @@ static inline void armlinux_set_architecture(int architecture)
static inline void armlinux_add_dram(struct device_d *dev)
{
}
+
+static inline void armlinux_set_revision(unsigned int)
+{
+}
+
#endif
#endif /* __ARCH_ARMLINUX_H */