1 // SPDX-License-Identifier: GPL-2.0-or-later 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* 2 /* 3 * Copyright (C) 2007 Lemote Inc. & Institute 3 * Copyright (C) 2007 Lemote Inc. & Institute of Computing Technology 4 * Author: Fuxin Zhang, zhangfx@lemote.com 4 * Author: Fuxin Zhang, zhangfx@lemote.com 5 */ 5 */ 6 #include <linux/export.h> 6 #include <linux/export.h> 7 #include <linux/init.h> 7 #include <linux/init.h> 8 8 9 #include <asm/bootinfo.h> 9 #include <asm/bootinfo.h> 10 #include <linux/libfdt.h> 10 #include <linux/libfdt.h> 11 #include <linux/of_fdt.h> 11 #include <linux/of_fdt.h> 12 12 13 #include <asm/prom.h> 13 #include <asm/prom.h> 14 14 15 #include <loongson.h> 15 #include <loongson.h> 16 16 17 void *loongson_fdt_blob; 17 void *loongson_fdt_blob; 18 18 19 void __init plat_mem_setup(void) 19 void __init plat_mem_setup(void) 20 { 20 { 21 if (loongson_fdt_blob) 21 if (loongson_fdt_blob) 22 __dt_setup_arch(loongson_fdt_b 22 __dt_setup_arch(loongson_fdt_blob); 23 } 23 } 24 24
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.