]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
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)
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

index 403db76e34973140f1d002c36b9d563802f5d7b3..f9389c5910e76bad8353744137a7360a0c549b56 100644 (file)
@@ -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