summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/armlinux.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2011-12-12 10:43:33 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2011-12-15 10:26:03 +0100
commit296cd8d6380f775d0f7b59bd78d3421327ebbe9e (patch)
tree5c7f5eb5e99e9cc41babcda2675637710918bf66 /arch/arm/include/asm/armlinux.h
parent4c41e245cfaf9f85af31c26394cf6549392f89f5 (diff)
downloadbarebox-296cd8d6380f775d0f7b59bd78d3421327ebbe9e.tar.gz
ARM: call start_linux directly with initrd start/size and oftree
whoever calls this function is not necessarily aware of a struct image_data, so remove the dependency from the function. 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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/include/asm/armlinux.h b/arch/arm/include/asm/armlinux.h
index ba3a424..9ca1e4b 100644
--- a/arch/arm/include/asm/armlinux.h
+++ b/arch/arm/include/asm/armlinux.h
@@ -29,6 +29,7 @@ static inline void armlinux_set_serial(u64 serial)
struct image_data;
-void start_linux(void *adr, int swap, struct image_data *data);
+void start_linux(void *adr, int swap, unsigned long initrd_address,
+ unsigned long initrd_size, void *oftree);
#endif /* __ARCH_ARMLINUX_H */