Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
35 lines
783 B
C
35 lines
783 B
C
/*
|
|
** 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 */
|