2 * This file is subject to the terms and conditions of the GNU General Public
3 * License. See the file "COPYING" in the main directory of this archive
6 * Copyright (C) 2012 MIPS Technologies, Inc. All rights reserved.
7 * Copyright (C) 2013 Imagination Technologies Ltd.
9 #include <linux/init.h>
10 #include <linux/libfdt.h>
11 #include <linux/of_fdt.h>
15 #include <asm/mach-sead3/sead3-dtshim.h>
16 #include <asm/mips-boards/generic.h>
18 const char *get_system_type(void)
23 void __init *plat_get_fdt(void)
25 return (void *)__dtb_start;
28 void __init plat_mem_setup(void)
30 void *fdt = plat_get_fdt();
32 fdt = sead3_dt_shim(fdt);
36 void __init device_tree_init(void)
38 unflatten_and_copy_device_tree();