of/flattree: Eliminate need to provide early_init_dt_scan_chosen_arch
authorGrant Likely <grant.likely@secretlab.ca>
Wed, 20 Oct 2010 17:45:14 +0000 (11:45 -0600)
committerGrant Likely <grant.likely@secretlab.ca>
Thu, 21 Oct 2010 17:10:10 +0000 (11:10 -0600)
This patch refactors the early init parsing of the chosen node so that
architectures aren't forced to provide an empty implementation of
early_init_dt_scan_chosen_arch.  Instead, if an architecture wants to
do something different, it can either use a wrapper function around
early_init_dt_scan_chosen(), or it can replace it altogether.

This patch was written in preparation to adding device tree support to
both x86 ad MIPS.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Tested-by: David Daney <ddaney@caviumnetworks.com>

No differences found