summaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm/mach-loongson32
diff options
context:
space:
mode:
authorJiaxun Yang <jiaxun.yang@flygoat.com>2019-11-07 05:01:15 +0100
committerPaul Burton <paulburton@kernel.org>2019-11-11 19:44:56 +0100
commit75cac781dca43e735fbb4166d994263a14f0823e (patch)
treeef25a2c60eefce7b1172db0a3d32f43e545a6137 /arch/mips/include/asm/mach-loongson32
parentMIPS: Drop pmon.h (diff)
downloadlinux-75cac781dca43e735fbb4166d994263a14f0823e.tar.xz
linux-75cac781dca43e735fbb4166d994263a14f0823e.zip
MIPS: Loongson{2ef, 32, 64} convert to generic fw cmdline
All of Loongson firmwares are passing boot cmdline/env in the manner of YAMON/PMON. Thus we can remove duplicated cmdline initialize code and convert to generic fw method. Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com> Signed-off-by: Paul Burton <paulburton@kernel.org> Cc: linux-mips@vger.kernel.org Cc: chenhe@lemote.com
Diffstat (limited to 'arch/mips/include/asm/mach-loongson32')
-rw-r--r--arch/mips/include/asm/mach-loongson32/prom.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/arch/mips/include/asm/mach-loongson32/prom.h b/arch/mips/include/asm/mach-loongson32/prom.h
deleted file mode 100644
index cb789f18d790..000000000000
--- a/arch/mips/include/asm/mach-loongson32/prom.h
+++ /dev/null
@@ -1,20 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-or-later */
-/*
- * Copyright (c) 2011 Zhang, Keguang <keguang.zhang@gmail.com>
- */
-
-#ifndef __ASM_MACH_LOONGSON32_PROM_H
-#define __ASM_MACH_LOONGSON32_PROM_H
-
-#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);
-
-#endif /* __ASM_MACH_LOONGSON32_PROM_H */