]>
Commit | Line | Data |
---|---|---|
de9f4fc2 GU |
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. | |
de9f4fc2 GU |
9 | */ |
10 | ||
11 | #ifndef _M68K_BOOTINFO_H | |
12 | #define _M68K_BOOTINFO_H | |
13 | ||
4c3c522b | 14 | #include <uapi/asm/bootinfo.h> |
de9f4fc2 | 15 | |
7bc1e4d8 GU |
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 | ||
aa5ac789 GU |
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 | ||
7bc1e4d8 GU |
31 | #endif /* __ASSEMBLY__ */ |
32 | ||
33 | ||
de9f4fc2 | 34 | #endif /* _M68K_BOOTINFO_H */ |