53f1d60627
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 checkpatch.pl warnings unrelated to this patch. Regards, Vicente. Signed-off-by: Vicente Bergas <vicencb@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
44 lines
928 B
C
44 lines
928 B
C
#ifndef __ARCH_ARMLINUX_H
|
|
#define __ARCH_ARMLINUX_H
|
|
|
|
#include <asm/memory.h>
|
|
#include <asm/setup.h>
|
|
|
|
#if defined CONFIG_ARM_LINUX
|
|
void armlinux_set_bootparams(void *params);
|
|
void armlinux_set_architecture(int architecture);
|
|
void armlinux_set_revision(unsigned int);
|
|
void armlinux_set_serial(u64);
|
|
#else
|
|
static inline void armlinux_set_bootparams(void *params)
|
|
{
|
|
}
|
|
|
|
static inline void armlinux_set_architecture(int architecture)
|
|
{
|
|
}
|
|
|
|
static inline void armlinux_set_revision(unsigned int rev)
|
|
{
|
|
}
|
|
|
|
static inline void armlinux_set_serial(u64 serial)
|
|
{
|
|
}
|
|
#endif
|
|
|
|
#if defined CONFIG_ARM_BOARD_APPEND_ATAG
|
|
void armlinux_set_atag_appender(struct tag *(*)(struct tag *));
|
|
#else
|
|
static inline void armlinux_set_atag_appender(struct tag *(*func)(struct tag *))
|
|
{
|
|
}
|
|
#endif
|
|
|
|
struct image_data;
|
|
|
|
void start_linux(void *adr, int swap, unsigned long initrd_address,
|
|
unsigned long initrd_size, void *oftree);
|
|
|
|
#endif /* __ARCH_ARMLINUX_H */
|