summaryrefslogtreecommitdiff
path: root/arch/m68k/include/asm/bootinfo.h
blob: 81c91af8ec6c0e80a4339e4123f7126ae945e4ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/*
** asm/bootinfo.h -- Definition of the Linux/m68k boot information structure
**
** Copyright 1992 by Greg Harp
**
** This file is subject to the terms and conditions of the GNU General Public
** License.  See the file COPYING in the main directory of this archive
** for more details.
*/

#ifndef _M68K_BOOTINFO_H
#define _M68K_BOOTINFO_H

#include <uapi/asm/bootinfo.h>


#ifndef __ASSEMBLY__

#ifdef CONFIG_BOOTINFO_PROC
extern void save_bootinfo(const struct bi_record *bi);
#else
static inline void save_bootinfo(const struct bi_record *bi) {}
#endif

#ifdef CONFIG_UBOOT
void process_uboot_commandline(char *commandp, int size);
#else
static inline void process_uboot_commandline(char *commandp, int size) {}
#endif

#endif /* __ASSEMBLY__ */


#endif /* _M68K_BOOTINFO_H */