summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/prom.c
diff options
context:
space:
mode:
authorMarek Szyprowski <m.szyprowski@samsung.com>2014-02-28 14:42:56 +0100
committerGrant Likely <grant.likely@linaro.org>2014-03-13 10:53:23 +0000
commit708b7eef12f945a510ba5ac3b4007d7ae4796d55 (patch)
tree6f0eb44131a073a4b6bdb5e60cd8e13660506870 /arch/powerpc/kernel/prom.c
parent9bf14b7c540ae9ca7747af3a0c0d8470ef77b6ce (diff)
downloadblackbird-op-linux-708b7eef12f945a510ba5ac3b4007d7ae4796d55.tar.gz
blackbird-op-linux-708b7eef12f945a510ba5ac3b4007d7ae4796d55.zip
powerpc: add support for reserved memory defined by device tree
Enable reserved memory initialization from device tree. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Grant Likely <grant.likely@linaro.org>
Diffstat (limited to 'arch/powerpc/kernel/prom.c')
-rw-r--r--arch/powerpc/kernel/prom.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/prom.c b/arch/powerpc/kernel/prom.c
index f58c0d3aaeb4..591986215801 100644
--- a/arch/powerpc/kernel/prom.c
+++ b/arch/powerpc/kernel/prom.c
@@ -33,6 +33,7 @@
#include <linux/irq.h>
#include <linux/memblock.h>
#include <linux/of.h>
+#include <linux/of_fdt.h>
#include <asm/prom.h>
#include <asm/rtas.h>
@@ -588,6 +589,8 @@ static void __init early_reserve_mem_dt(void)
memblock_reserve(base, size);
}
}
+
+ early_init_fdt_scan_reserved_mem();
}
static void __init early_reserve_mem(void)
OpenPOWER on IntegriCloud