xref: /linux/arch/mips/loongson64/setup.c (revision e7d759f31ca295d589f7420719c311870bb3166f)
1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /*
3  * Copyright (C) 2007 Lemote Inc. & Institute of Computing Technology
4  * Author: Fuxin Zhang, zhangfx@lemote.com
5  */
6 #include <linux/export.h>
7 #include <linux/init.h>
8 
9 #include <asm/bootinfo.h>
10 #include <linux/libfdt.h>
11 #include <linux/of_fdt.h>
12 
13 #include <asm/prom.h>
14 
15 #include <loongson.h>
16 
17 void *loongson_fdt_blob;
18 
19 void __init plat_mem_setup(void)
20 {
21 	if (loongson_fdt_blob)
22 		__dt_setup_arch(loongson_fdt_blob);
23 }
24