powerpc: fix skipping call to early_init_fdt_scan_reserved_mem
authorRob Herring <robh@kernel.org>
Tue, 29 Apr 2014 18:16:50 +0000 (13:16 -0500)
committerRob Herring <robh@kernel.org>
Wed, 30 Apr 2014 05:59:04 +0000 (00:59 -0500)
commitedba274cdeaa84e2cf8a9a34fe7583b0e01edbab
tree401522c28e28f25bd6f7f93a25e4452eabe8065e
parentafb46f7996e91aeb36e07bc92cf96e8045bec00e
powerpc: fix skipping call to early_init_fdt_scan_reserved_mem

The call to early_init_fdt_scan_reserved_mem will be skipped if
reserved-ranges is not found. Move the call earlier so that it is called
unconditionally.

Signed-off-by: Rob Herring <robh@kernel.org>
Cc: Marek Szyprowski <m.szyprowski@samsung.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: linuxppc-dev@lists.ozlabs.org
Tested-by: Stephen Chivers <schivers@csc.com>
arch/powerpc/kernel/prom.c