Skip to content

Commit cebf3e4

Browse files
mszyprowglikely
authored andcommitted
Revert "ARM: init: add support for reserved memory defined by device tree"
This reverts commit 10bcdfb. There is no consensus on the bindings for the reserved memory, so the code for handing it will be reverted. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Grant Likely <grant.likely@linaro.org>
1 parent b920ecc commit cebf3e4

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

‎arch/arm/mm/init.c‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
#include <linux/nodemask.h>
1818
#include <linux/initrd.h>
1919
#include <linux/of_fdt.h>
20-
#include <linux/of_reserved_mem.h>
2120
#include <linux/highmem.h>
2221
#include <linux/gfp.h>
2322
#include <linux/memblock.h>
@@ -379,8 +378,6 @@ void __init arm_memblock_init(struct meminfo *mi,
379378
if (mdesc->reserve)
380379
mdesc->reserve();
381380

382-
early_init_dt_scan_reserved_mem();
383-
384381
/*
385382
* reserve memory for DMA contigouos allocations,
386383
* must come from DMA area inside low memory

0 commit comments

Comments
 (0)