Linux 5.7.6
[linux/fpc-iii.git] / arch / nds32 / kernel / devtree.c
blobbdce0fe5af9f7e1d8fe2a72578678426cbec7ad5
1 // SPDX-License-Identifier: GPL-2.0
2 // Copyright (C) 2005-2017 Andes Technology Corporation
4 #include <linux/bug.h>
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)) {
11 pr_crit("\n"
12 "Error: invalid device tree blob at (virtual address 0x%p)\n"
13 "\nPlease check your bootloader.", params);
15 BUG_ON(1);
18 dump_stack_set_arch_desc("%s (DT)", of_flat_dt_get_machine_name());