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)
committerGrant Likely <grant.likely@linaro.org>
Tue, 11 Mar 2014 17:26:58 +0000 (17:26 +0000)
commit3f0c8206644836e4f10a6b9fc47cda6a9a372f9b
treec85e72e465074dd94761f8a685a2110a3b7f8db9
parente8d9d1f5485b52ec3c4d7af839e6914438f6c285
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>
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]