18c2ecf20Sopenharmony_ci/*
28c2ecf20Sopenharmony_ci** asm/bootinfo.h -- Definition of the Linux/m68k boot information structure
38c2ecf20Sopenharmony_ci**
48c2ecf20Sopenharmony_ci** Copyright 1992 by Greg Harp
58c2ecf20Sopenharmony_ci**
68c2ecf20Sopenharmony_ci** This file is subject to the terms and conditions of the GNU General Public
78c2ecf20Sopenharmony_ci** License.  See the file COPYING in the main directory of this archive
88c2ecf20Sopenharmony_ci** for more details.
98c2ecf20Sopenharmony_ci*/
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_ci#ifndef _M68K_BOOTINFO_H
128c2ecf20Sopenharmony_ci#define _M68K_BOOTINFO_H
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_ci#include <uapi/asm/bootinfo.h>
158c2ecf20Sopenharmony_ci
168c2ecf20Sopenharmony_ci
178c2ecf20Sopenharmony_ci#ifndef __ASSEMBLY__
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_ci#ifdef CONFIG_BOOTINFO_PROC
208c2ecf20Sopenharmony_ciextern void save_bootinfo(const struct bi_record *bi);
218c2ecf20Sopenharmony_ci#else
228c2ecf20Sopenharmony_cistatic inline void save_bootinfo(const struct bi_record *bi) {}
238c2ecf20Sopenharmony_ci#endif
248c2ecf20Sopenharmony_ci
258c2ecf20Sopenharmony_ci#ifdef CONFIG_UBOOT
268c2ecf20Sopenharmony_civoid process_uboot_commandline(char *commandp, int size);
278c2ecf20Sopenharmony_ci#else
288c2ecf20Sopenharmony_cistatic inline void process_uboot_commandline(char *commandp, int size) {}
298c2ecf20Sopenharmony_ci#endif
308c2ecf20Sopenharmony_ci
318c2ecf20Sopenharmony_ci#endif /* __ASSEMBLY__ */
328c2ecf20Sopenharmony_ci
338c2ecf20Sopenharmony_ci
348c2ecf20Sopenharmony_ci#endif /* _M68K_BOOTINFO_H */
35