diff options
author | Grant Likely <grant.likely@linaro.org> | 2014-03-19 15:01:53 +0000 |
---|---|---|
committer | Grant Likely <grant.likely@linaro.org> | 2014-03-19 15:01:53 +0000 |
commit | ca3992bc0c12e381deb84cd47ec1181a6d34660d (patch) | |
tree | 162006e862b9d856fdce1b19f0ba117dafb6ca58 /arch/powerpc | |
parent | 0829f6d1f69e4f2fae4062987ae6531a9af1a2e3 (diff) | |
parent | 2040b52768ebab6e7bd73af0dc63703269c62f17 (diff) | |
download | talos-op-linux-ca3992bc0c12e381deb84cd47ec1181a6d34660d.tar.gz talos-op-linux-ca3992bc0c12e381deb84cd47ec1181a6d34660d.zip |
Merge branch 'devicetree/next-reserved-mem' into devicetree/next
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/Kconfig | 1 | ||||
-rw-r--r-- | arch/powerpc/kernel/prom.c | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 957bf344c0f5..3b6617fed8fc 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig @@ -90,6 +90,7 @@ config PPC select BINFMT_ELF select OF select OF_EARLY_FLATTREE + select OF_RESERVED_MEM select HAVE_FTRACE_MCOUNT_RECORD select HAVE_DYNAMIC_FTRACE select HAVE_FUNCTION_TRACER 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) |