2019-05-27 06:55:01 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
2012-07-25 14:17:24 +00:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2011 Zhang, Keguang <keguang.zhang@gmail.com>
|
|
|
|
*/
|
|
|
|
|
2015-04-21 02:00:35 +00:00
|
|
|
#ifndef __ASM_MACH_LOONGSON32_PROM_H
|
|
|
|
#define __ASM_MACH_LOONGSON32_PROM_H
|
2012-07-25 14:17:24 +00:00
|
|
|
|
|
|
|
#include <linux/io.h>
|
|
|
|
#include <linux/init.h>
|
|
|
|
#include <linux/irq.h>
|
|
|
|
|
|
|
|
/* environment arguments from bootloader */
|
|
|
|
extern unsigned long memsize, highmemsize;
|
|
|
|
|
|
|
|
/* loongson-specific command line, env and memory initialization */
|
|
|
|
extern char *prom_getenv(char *name);
|
|
|
|
extern void __init prom_init_cmdline(void);
|
|
|
|
|
2015-04-21 02:00:35 +00:00
|
|
|
#endif /* __ASM_MACH_LOONGSON32_PROM_H */
|