diff options
author | Danesh Petigara <danesh.petigara@broadcom.com> | 2017-03-09 21:51:19 +0300 |
---|---|---|
committer | Florian Fainelli <f.fainelli@gmail.com> | 2017-03-16 00:57:41 +0300 |
commit | 59f181aa9d633fb7dbdd322877a58fab8b94ba42 (patch) | |
tree | d96bfb39b9b53d33e47f39e916d06f7eec7a3bde | |
parent | 3c51b9c7f1fae00c25f1e34da649a288e3fea1ae (diff) | |
download | linux-59f181aa9d633fb7dbdd322877a58fab8b94ba42.tar.xz |
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>
-rw-r--r-- | arch/arm/mach-bcm/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-bcm/Kconfig b/arch/arm/mach-bcm/Kconfig index 403db76e3497..f9389c5910e7 100644 --- a/arch/arm/mach-bcm/Kconfig +++ b/arch/arm/mach-bcm/Kconfig @@ -198,6 +198,7 @@ config ARCH_BRCMSTB select HAVE_ARM_ARCH_TIMER select BRCMSTB_L2_IRQ select BCM7120_L2_IRQ + select ARCH_HAS_HOLES_MEMORYMODEL select ARCH_DMA_ADDR_T_64BIT if ARM_LPAE select ZONE_DMA if ARM_LPAE select SOC_BRCMSTB |