mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-10-31 18:09:19 +00:00
c689cbac25
Initially ARCH_REQUIRE_GPIOLIB was part of Thomas Petazzoni series when he introduced the gpiolib support for mvebu:93a59cf
arm: mvebu: use GPIO support now that a driver is available This commit was written to be applied for the ARCH_MVEBU which was located in arch/arm/KConfig and was merged in 3.7. In the same time Rob Herring moved the ARCH_MVEBU block to arch/arm/mach-mvebu/Kconfig with this commit and also merged in 3.7:387798b
ARM: initial multiplatform support Unfortunately the ARCH_REQUIRE_GPIOLIB have been lost during this migration. This was not noticed until the v3.10-rc1, because mvebu as part of ARCH_MULTIPLATFORM was always selected with ARCH_VEXPRESS, and this architect selected ARCH_REQUIRE_GPIOLIB. Since the following commit from Arnd: "883a106 ARM: default machine descriptor for multiplatform", ARCH_VEXPRESS was then no more selected by default with ARCH_MVEBU and it made appeared the lack of ARCH_REQUIRE_GPIOLIB for mvebu. This commit added back the selection of ARCH_REQUIRE_GPIOLIB for ARCH_MVEBU. Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
49 lines
1.1 KiB
Text
49 lines
1.1 KiB
Text
config ARCH_MVEBU
|
|
bool "Marvell SOCs with Device Tree support" if ARCH_MULTI_V7
|
|
select CLKSRC_MMIO
|
|
select COMMON_CLK
|
|
select GENERIC_CLOCKEVENTS
|
|
select GENERIC_IRQ_CHIP
|
|
select IRQ_DOMAIN
|
|
select MULTI_IRQ_HANDLER
|
|
select PINCTRL
|
|
select PLAT_ORION
|
|
select SPARSE_IRQ
|
|
select CLKDEV_LOOKUP
|
|
select MVEBU_CLK_CORE
|
|
select MVEBU_CLK_CPU
|
|
select MVEBU_CLK_GATING
|
|
select MVEBU_MBUS
|
|
select ZONE_DMA if ARM_LPAE
|
|
select ARCH_REQUIRE_GPIOLIB
|
|
|
|
if ARCH_MVEBU
|
|
|
|
menu "Marvell SOC with device tree"
|
|
|
|
config MACH_ARMADA_370_XP
|
|
bool
|
|
select ARMADA_370_XP_TIMER
|
|
select HAVE_SMP
|
|
select CACHE_L2X0
|
|
select CPU_PJ4B
|
|
|
|
config MACH_ARMADA_370
|
|
bool "Marvell Armada 370 boards"
|
|
select MACH_ARMADA_370_XP
|
|
select PINCTRL_ARMADA_370
|
|
help
|
|
Say 'Y' here if you want your kernel to support boards based
|
|
on the Marvell Armada 370 SoC with device tree.
|
|
|
|
config MACH_ARMADA_XP
|
|
bool "Marvell Armada XP boards"
|
|
select MACH_ARMADA_370_XP
|
|
select PINCTRL_ARMADA_XP
|
|
help
|
|
Say 'Y' here if you want your kernel to support boards based
|
|
on the Marvell Armada XP SoC with device tree.
|
|
|
|
endmenu
|
|
|
|
endif
|