diff options
author | Rob Herring <rob.herring@calxeda.com> | 2013-08-26 16:47:40 +0200 |
---|---|---|
committer | Rob Herring <rob.herring@calxeda.com> | 2013-10-09 18:38:07 +0200 |
commit | 0288ffcbfdf9b8656e7320c24caa1e4c1d498287 (patch) | |
tree | a519e3005e4987b91227546c6e1b46ab1845532d /include | |
parent | metag: use unflatten_and_copy_device_tree (diff) | |
download | linux-0288ffcbfdf9b8656e7320c24caa1e4c1d498287.tar.xz linux-0288ffcbfdf9b8656e7320c24caa1e4c1d498287.zip |
of: Introduce common early_init_dt_scan
Most architectures scan the all the same items early in the FDT and none
are really architecture specific. Create a common early_init_dt_scan to
unify the early scan of root, memory, and chosen nodes in the flattened
DT.
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Acked-by: Grant Likely <grant.likely@linaro.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/of_fdt.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/of_fdt.h b/include/linux/of_fdt.h index 58c28a8cc257..73e16511134e 100644 --- a/include/linux/of_fdt.h +++ b/include/linux/of_fdt.h @@ -116,6 +116,8 @@ extern void early_init_dt_setup_initrd_arch(u64 start, u64 end); extern int early_init_dt_scan_root(unsigned long node, const char *uname, int depth, void *data); +extern bool early_init_dt_scan(void *params); + /* Other Prototypes */ extern void unflatten_device_tree(void); extern void unflatten_and_copy_device_tree(void); |