1 /* 2 ** asm/bootinfo.h -- Definition of the Linux/m68k boot information structure 3 ** 4 ** Copyright 1992 by Greg Harp 5 ** 6 ** This file is subject to the terms and conditions of the GNU General Public 7 ** License. See the file COPYING in the main directory of this archive 8 ** for more details. 9 */ 10 11 #ifndef _M68K_BOOTINFO_H 12 #define _M68K_BOOTINFO_H 13 14 #include <uapi/asm/bootinfo.h> 15 16 17 #ifndef __ASSEMBLY__ 18 19 #ifdef CONFIG_BOOTINFO_PROC 20 extern void save_bootinfo(const struct bi_record *bi); 21 #else 22 static inline void save_bootinfo(const struct bi_record *bi) {} 23 #endif 24 25 #ifdef CONFIG_UBOOT 26 void process_uboot_commandline(char *commandp, int size); 27 #else 28 static inline void process_uboot_commandline(char *commandp, int size) {} 29 #endif 30 31 #endif /* __ASSEMBLY__ */ 32 33 34 #endif /* _M68K_BOOTINFO_H */ 35