of: select OF_RESERVED_MEM automatically
authorChristoph Hellwig <hch@lst.de>
Fri, 1 Feb 2019 09:10:52 +0000 (10:10 +0100)
committerChristoph Hellwig <hch@lst.de>
Wed, 13 Feb 2019 18:19:47 +0000 (19:19 +0100)
commit34e04eedd1cf1be714abb0e5976338cc72ccc05f
tree33b8db35bc620fc1c845e361fc2ae5e72d9d3770
parent2b2812961302c38500c1027778e371c895f1cac4
of: select OF_RESERVED_MEM automatically

The OF_RESERVED_MEM can be used if we have either CMA or the generic
declare coherent code built and we support the early flattened DT.

So don't bother making it a user visible options that is selected
by most configs that fit the above category, but just select it when
the requirements are met.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Rob Herring <robh@kernel.org>
arch/arc/Kconfig
arch/arm/Kconfig
arch/arm64/Kconfig
arch/csky/Kconfig
arch/powerpc/Kconfig
arch/xtensa/Kconfig
drivers/of/Kconfig