xref: /openbmc/linux/arch/arm/kernel/atags.h (revision c4ee0af3)
1 #ifdef CONFIG_ATAGS_PROC
2 extern void save_atags(struct tag *tags);
3 #else
4 static inline void save_atags(struct tag *tags) { }
5 #endif
6 
7 void convert_to_tag_list(struct tag *tags);
8 
9 #ifdef CONFIG_ATAGS
10 const struct machine_desc *setup_machine_tags(phys_addr_t __atags_pointer,
11 	unsigned int machine_nr);
12 #else
13 static inline const struct machine_desc *
14 setup_machine_tags(phys_addr_t __atags_pointer, unsigned int machine_nr)
15 {
16 	early_print("no ATAGS support: can't continue\n");
17 	while (true);
18 	unreachable();
19 }
20 #endif
21