of: consolidate definition of early_init_dt_alloc_memory_arch()
authorGrant Likely <grant.likely@linaro.org>
Wed, 28 Aug 2013 20:18:32 +0000 (21:18 +0100)
committerIshan Mittal <imittal@nvidia.com>
Mon, 21 Apr 2014 12:10:44 +0000 (17:10 +0530)
commite223b2ca7bb42aa6a7ee7d9ecb1296f853a2eacd
treed7385607e6ae5b49148d744a1b80b5c22ac94fcf
parent9d83f564a8444e45982f1e67c96a8245e9cbe04a
of: consolidate definition of early_init_dt_alloc_memory_arch()

Most architectures use the same implementation. Collapse the common ones
into a single weak function that can be overridden.
(cherry picked from commit a1727da599ad030ccaf4073473fd235c8ee28219)

Change-Id: I5cfcac67b98407f8e4c4dcb89829f2a8e0d1b88b
Signed-off-by: Grant Likely <grant.likely@linaro.org>
arch/arc/kernel/devtree.c
arch/arm64/kernel/setup.c
arch/c6x/kernel/devicetree.c
arch/microblaze/kernel/prom.c
arch/openrisc/kernel/prom.c
arch/powerpc/kernel/prom.c
drivers/of/fdt.c