of: Introduce common early_init_dt_scan
authorRob Herring <rob.herring@calxeda.com>
Mon, 26 Aug 2013 14:47:40 +0000 (09:47 -0500)
committerRob Herring <rob.herring@calxeda.com>
Wed, 9 Oct 2013 16:38:07 +0000 (11:38 -0500)
commit0288ffcbfdf9b8656e7320c24caa1e4c1d498287
treea519e3005e4987b91227546c6e1b46ab1845532d
parent08854f41809293b283b96c642562cd4119d6b5db
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>
drivers/of/fdt.c
include/linux/of_fdt.h