aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/of/fdt.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/of/fdt.c')
-rw-r--r--drivers/of/fdt.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/of/fdt.c b/drivers/of/fdt.c
index be200be47269..ebce509b0886 100644
--- a/drivers/of/fdt.c
+++ b/drivers/of/fdt.c
@@ -432,6 +432,14 @@ int __init early_init_dt_scan_root(unsigned long node, const char *uname,
432 return 1; 432 return 1;
433} 433}
434 434
435u64 __init dt_mem_next_cell(int s, u32 **cellp)
436{
437 u32 *p = *cellp;
438
439 *cellp = p + s;
440 return of_read_number(p, s);
441}
442
435/** 443/**
436 * unflatten_device_tree - create tree of device_nodes from flat blob 444 * unflatten_device_tree - create tree of device_nodes from flat blob
437 * 445 *