summaryrefslogtreecommitdiffstats
path: root/drivers/of/Kconfig
diff options
context:
space:
mode:
authorMarek Szyprowski <m.szyprowski@samsung.com>2014-02-28 14:42:48 +0100
committerGrant Likely <grant.likely@linaro.org>2014-03-11 17:26:58 +0000
commit3f0c8206644836e4f10a6b9fc47cda6a9a372f9b (patch)
treec85e72e465074dd94761f8a685a2110a3b7f8db9 /drivers/of/Kconfig
parente8d9d1f5485b52ec3c4d7af839e6914438f6c285 (diff)
downloadop-kernel-dev-3f0c8206644836e4f10a6b9fc47cda6a9a372f9b.zip
op-kernel-dev-3f0c8206644836e4f10a6b9fc47cda6a9a372f9b.tar.gz
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>
Diffstat (limited to 'drivers/of/Kconfig')
-rw-r--r--drivers/of/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/of/Kconfig b/drivers/of/Kconfig
index ffdcb11..c144b8f 100644
--- a/drivers/of/Kconfig
+++ b/drivers/of/Kconfig
@@ -79,4 +79,10 @@ config OF_MTD
depends on MTD
def_bool y
+config OF_RESERVED_MEM
+ depends on OF_EARLY_FLATTREE
+ bool
+ help
+ Helpers to allow for reservation of memory regions
+
endmenu # OF
OpenPOWER on IntegriCloud