of: Split early_init_dt_scan into two parts
authorLaura Abbott <lauraa@codeaurora.org>
Tue, 15 Jul 2014 17:03:34 +0000 (10:03 -0700)
committerGrant Likely <grant.likely@linaro.org>
Wed, 30 Jul 2014 03:26:37 +0000 (21:26 -0600)
commit4972a74b888c6b52ca41fae6076786dbbeb746d5
tree6240aa1e50e06cc007ac258420127b396e13d08b
parent64aa90f26c06e1cb2aacfb98a7d0eccfbd6c1a91
of: Split early_init_dt_scan into two parts

Currently, early_init_dt_scan validates the header, sets the
boot params, and scans for chosen/memory all in one function.
Split this up into two separate functions (validation/setting
boot params in one, scanning in another) to allow for
additional setup between boot params and scanning the memory.

Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
Tested-by: Andreas Färber <afaerber@suse.de>
[glikely: s/early_init_dt_scan_all/early_init_dt_scan_nodes/]
Signed-off-by: Grant Likely <grant.likely@linaro.org>
drivers/of/fdt.c
include/linux/of_fdt.h