of: create default early_init_dt_add_memory_arch
authorRob Herring <rob.herring@calxeda.com>
Wed, 25 Sep 2013 03:20:01 +0000 (22:20 -0500)
committerRob Herring <rob.herring@calxeda.com>
Wed, 9 Oct 2013 16:38:19 +0000 (11:38 -0500)
commit068f6310b965d67d57f89ebf4c539e5933754366
tree7f149f244a5d6451d4f4b4122e2a7fefe06ccf66
parent7745fc1fec6ec9556e4cc36c21b0e02589078902
of: create default early_init_dt_add_memory_arch

Create a weak version of early_init_dt_add_memory_arch which uses
memblock. This will unify all architectures except ones with custom
memory bank structs.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Cc: Michal Simek <monstr@monstr.eu>
Cc: Jonas Bonn <jonas@southpole.se>
Acked-by: Grant Likely <grant.likely@linaro.org>
Cc: linux-arm-kernel@lists.infradead.org
Cc: microblaze-uclinux@itee.uq.edu.au
Cc: linux@lists.openrisc.net
Cc: devicetree@vger.kernel.org
arch/arm64/kernel/setup.c
arch/microblaze/kernel/prom.c
arch/openrisc/kernel/prom.c
drivers/of/fdt.c