summaryrefslogtreecommitdiffstats
path: root/arch/arm/cpu/dtb.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/cpu/dtb.c')
-rw-r--r--arch/arm/cpu/dtb.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/arch/arm/cpu/dtb.c b/arch/arm/cpu/dtb.c
index 8094eebf07..35f251d99a 100644
--- a/arch/arm/cpu/dtb.c
+++ b/arch/arm/cpu/dtb.c
@@ -26,13 +26,7 @@ static int of_arm_init(void)
return 0;
}
- root = of_unflatten_dtb(fdt);
- if (!IS_ERR(root)) {
- of_set_root_node(root);
- of_fix_tree(root);
- if (IS_ENABLED(CONFIG_OFDEVICE))
- of_probe();
- }
+ barebox_register_fdt(fdt);
return 0;
}