1 // SPDX-License-Identifier: GPL-2.0
2 // Copyright (C) 2005-2017 Andes Technology Corporation
5 #include <linux/printk.h>
6 #include <linux/of_fdt.h>
8 void __init
early_init_devtree(void *params
)
10 if (!params
|| !early_init_dt_scan(params
)) {
12 "Error: invalid device tree blob at (virtual address 0x%p)\n"
13 "\nPlease check your bootloader.", params
);
18 dump_stack_set_arch_desc("%s (DT)", of_flat_dt_get_machine_name());