OSDN Git Service

ARM: brcmstb: Enable ARCH_HAS_HOLES_MEMORYMODEL
authorDanesh Petigara <danesh.petigara@broadcom.com>
Thu, 9 Mar 2017 18:51:19 +0000 (10:51 -0800)
committerFlorian Fainelli <f.fainelli@gmail.com>
Wed, 15 Mar 2017 21:57:41 +0000 (14:57 -0700)
commit59f181aa9d633fb7dbdd322877a58fab8b94ba42
treed96bfb39b9b53d33e47f39e916d06f7eec7a3bde
parent3c51b9c7f1fae00c25f1e34da649a288e3fea1ae
ARM: brcmstb: Enable ARCH_HAS_HOLES_MEMORYMODEL

Due to the brcmstb SoC's memory map, we may have holes in the memory if
we don't populate the maximum amount of memory supported by e.g: the
first memory controller which spans either the first 1GiB or first 2GiB
of memory.

We need to select ARCH_HAS_HOLES_MEMORYMODEL in order to enable
CONFIG_HAVE_ARCH_PFN_VALID on platforms that have CONFIG_SPARSEMEM
enabled.

Signed-off-by: Danesh Petigara <danesh.petigara@broadcom.com>
[florian: Detailed commit message]
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
arch/arm/mach-bcm/Kconfig