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)
committerGrant Likely <grant.likely@linaro.org>
Wed, 28 Aug 2013 20:18:32 +0000 (21:18 +0100)
commita1727da599ad030ccaf4073473fd235c8ee28219
tree8e3cd21c4657e725a922fe2ee0da8bd8dfdb6b1c
parent7e0bdf15cee7d2c809558b8169dc5b08792d0c82
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.

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