path: root/arch/arm/include/asm/armlinux.h
diff options
authorVicente Bergas <>2013-01-19 18:23:27 +0100
committerSascha Hauer <>2013-01-21 09:09:11 +0100
commit53f1d60627c8dfae835c2a7e3a9b7af132da3e64 (patch)
tree0d8377100e737c0af63a95fd86a52c7576493dbc /arch/arm/include/asm/armlinux.h
parent63d11f044a5fdfaf72ce983f7c6f297b32885a97 (diff)
feature_list: a way to pass hardware info to the kernel
Hi Sascha, I've made the changes you suggested in this resent patch. Everything related to custom ATAGs has been moved to the board directory. The generic code does not make any references to feature lists or bootloader versions. About the setup_feature_list prototype: it has been renamed to atag_appender it's not a function, it's a pointer to a function. Can it have a prototype other than it's own declaration? All non-related changes has been dropped. They were warnings unrelated to this patch. Regards, Vicente. Signed-off-by: Vicente Bergas <> Signed-off-by: Sascha Hauer <>
Diffstat (limited to 'arch/arm/include/asm/armlinux.h')
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/include/asm/armlinux.h b/arch/arm/include/asm/armlinux.h
index 8ec8c4d..07479fb 100644
--- a/arch/arm/include/asm/armlinux.h
+++ b/arch/arm/include/asm/armlinux.h
@@ -2,6 +2,7 @@
#include <asm/memory.h>
+#include <asm/setup.h>
#if defined CONFIG_ARM_LINUX
void armlinux_set_bootparams(void *params);
@@ -26,6 +27,14 @@ static inline void armlinux_set_serial(u64 serial)
+void armlinux_set_atag_appender(struct tag *(*)(struct tag *));
+static inline void armlinux_set_atag_appender(struct tag *(*func)(struct tag *))
struct image_data;
void start_linux(void *adr, int swap, unsigned long initrd_address,