1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Copyright (c) 2011 Zhang, Keguang <keguang.zhang@gmail.com>
6 #ifndef __ASM_MACH_LOONGSON32_PROM_H
7 #define __ASM_MACH_LOONGSON32_PROM_H
10 #include <linux/init.h>
11 #include <linux/irq.h>
13 /* environment arguments from bootloader */
14 extern unsigned long memsize, highmemsize;
16 /* loongson-specific command line, env and memory initialization */
17 extern char *prom_getenv(char *name);
18 extern void __init prom_init_cmdline(void);
20 #endif /* __ASM_MACH_LOONGSON32_PROM_H */