Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3d122c03 authored by Marek Szyprowski's avatar Marek Szyprowski Committed by Joonwoo Park
Browse files

arm: add support for reserved memory defined by device tree



Enable reserved memory initialization from device tree.

Signed-off-by: default avatarMarek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: default avatarGrant Likely <grant.likely@linaro.org>
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git


Git-commit: bcedb5f9bd74662968fc1b4cb22f24abb4b7723d
Signed-off-by: default avatarJoonwoo Park <joonwoop@codeaurora.org>
parent 9b9cb846
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1935,6 +1935,7 @@ config USE_OF
	select IRQ_DOMAIN
	select OF
	select OF_EARLY_FLATTREE
	select OF_RESERVED_MEM
	help
	  Include support for flattened device tree machine descriptions.

+2 −0
Original line number Diff line number Diff line
@@ -397,6 +397,8 @@ void __init arm_memblock_init(const struct machine_desc *mdesc)
	if (mdesc->reserve)
		mdesc->reserve();

	early_init_fdt_scan_reserved_mem();

	/*
	 * reserve memory for DMA contigouos allocations,
	 * must come from DMA area inside low memory