blob: cb789f18d7902398515d670f14cf717e26bf3a1e [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001/* 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 */
14extern unsigned long memsize, highmemsize;
15
16/* loongson-specific command line, env and memory initialization */
17extern char *prom_getenv(char *name);
18extern void __init prom_init_cmdline(void);
19
20#endif /* __ASM_MACH_LOONGSON32_PROM_H */