| b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
| 2 | /* |
| 3 | * Copyright (c) 2011 Zhang, Keguang <keguang.zhang@gmail.com> |
| 4 | */ |
| 5 | |
| 6 | #ifndef __ASM_MACH_LOONGSON32_PROM_H |
| 7 | #define __ASM_MACH_LOONGSON32_PROM_H |
| 8 | |
| 9 | #include <linux/io.h> |
| 10 | #include <linux/init.h> |
| 11 | #include <linux/irq.h> |
| 12 | |
| 13 | /* environment arguments from bootloader */ |
| 14 | extern unsigned long memsize, highmemsize; |
| 15 | |
| 16 | /* loongson-specific command line, env and memory initialization */ |
| 17 | extern char *prom_getenv(char *name); |
| 18 | extern void __init prom_init_cmdline(void); |
| 19 | |
| 20 | #endif /* __ASM_MACH_LOONGSON32_PROM_H */ |