drivers: of: add initialization code for dynamic reserved memory
authorMarek Szyprowski <m.szyprowski@samsung.com>
Fri, 28 Feb 2014 13:42:48 +0000 (14:42 +0100)
committerMark Brown <broonie@linaro.org>
Thu, 24 Jul 2014 18:56:54 +0000 (19:56 +0100)
commit5b8f828963db94fb7ae67951060fc7fc13516902
treecd891ff63540b167c6d6c825e91e5a633454df53
parent73eebf3ecfd418b26f0d3536cbdecb41717dfe31
drivers: of: add initialization code for dynamic reserved memory

This patch adds support for dynamically allocated reserved memory regions
declared in device tree. Such regions are defined by 'size', 'alignment'
and 'alloc-ranges' properties.

Based on previous code provided by Josh Cartwright <joshc@codeaurora.org>

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Grant Likely <grant.likely@linaro.org>
(cherry picked from commit 3f0c8206644836e4f10a6b9fc47cda6a9a372f9b)
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/of/Kconfig
drivers/of/Makefile
drivers/of/fdt.c
drivers/of/of_reserved_mem.c [new file with mode: 0644]
include/linux/of_reserved_mem.h [new file with mode: 0644]