summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/armlinux.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2011-04-01 14:15:54 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2011-04-04 16:27:25 +0200
commit4ade5f86705c93fd5b9512658aff014ee0ee5121 (patch)
tree8b29e7593104d8fe99e6343ba55dac850b9b49a3 /arch/arm/include/asm/armlinux.h
parentcf76694df6985800b5235ff4f1101e4783e83d9d (diff)
downloadbarebox-4ade5f86705c93fd5b9512658aff014ee0ee5121.tar.gz
ARM: factor out a start_linux function
This can be shared between the different boot commands. 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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/include/asm/armlinux.h b/arch/arm/include/asm/armlinux.h
index 0d9d4e9..3cab209 100644
--- a/arch/arm/include/asm/armlinux.h
+++ b/arch/arm/include/asm/armlinux.h
@@ -30,4 +30,8 @@ static inline void armlinux_set_serial(u64 serial)
}
#endif
+struct image_data;
+
+void start_linux(void *adr, int swap, struct image_data *data);
+
#endif /* __ARCH_ARMLINUX_H */