of/fdt: move memreserve and dtb memory reservations into core
authorRob Herring <robh@kernel.org>
Wed, 2 Apr 2014 03:46:48 +0000 (22:46 -0500)
committerRob Herring <robh@kernel.org>
Wed, 30 Apr 2014 05:59:17 +0000 (00:59 -0500)
commitd1552ce449eb0a8d2f0bd6599da3a8a3d7f77a84
tree10e5d7505664ee5270eb8e0b895099decea030de
parentb0a6fb36a49f720c93c3da0b3f040e49e42435ad
of/fdt: move memreserve and dtb memory reservations into core

Move the /memreserve/ processing and dtb memory reservations into
early_init_fdt_scan_reserved_mem. This converts arm, arm64, and powerpc
as they are the only users of early_init_fdt_scan_reserved_mem.

memblock_reserve is safe to call on the same region twice, so the
reservation check for the dtb in powerpc 32-bit reservations is safe to
remove.

Signed-off-by: Rob Herring <robh@kernel.org>
Tested-by: Michal Simek <michal.simek@xilinx.com>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Tested-by: Grant Likely <grant.likely@linaro.org>
Tested-by: Stephen Chivers <schivers@csc.com>
arch/arm/include/asm/prom.h
arch/arm/kernel/devtree.c
arch/arm/mm/init.c
arch/arm64/mm/init.c
arch/powerpc/kernel/prom.c
drivers/of/fdt.c
This page took 0.028357 seconds and 5 git commands to generate.