hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/mips/loongson32/common/setup.c
....@@ -1,20 +1,13 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * Copyright (c) 2011 Zhang, Keguang <keguang.zhang@gmail.com>
3
- *
4
- * This program is free software; you can redistribute it and/or modify it
5
- * under the terms of the GNU General Public License as published by the
6
- * Free Software Foundation; either version 2 of the License, or (at your
7
- * option) any later version.
84 */
95
6
+#include <linux/io.h>
7
+#include <linux/init.h>
8
+#include <linux/smp.h>
9
+#include <asm/cpu-info.h>
1010 #include <asm/bootinfo.h>
11
-
12
-#include <prom.h>
13
-
14
-void __init plat_mem_setup(void)
15
-{
16
- add_memory_region(0x0, (memsize << 20), BOOT_MEM_RAM);
17
-}
1811
1912 const char *get_system_type(void)
2013 {