Skip to content

Commit 67c7fc6

Browse files
geertukrzk
authored andcommitted
memory: omap-gpmc: OMAP_GPMC should depend on ARCH_OMAP2PLUS || ARCH_KEYSTONE || ARCH_K3
The Texas Instruments OMAP General Purpose Memory Controller (GPMC) is only present on TI OMAP2/3/4/5, Keystone, AM33xx, AM43x, DRA7xx, TI81xx, and K3 SoCs. Hence add a dependency on ARCH_OMAP2PLUS || ARCH_KEYSTONE || ARCH_K3, to prevent asking the user about this driver when configuring a kernel without OMAP2+, Keystone, or K3 SoC family support. Fixes: be34f45 ("memory: omap-gpmc: Make OMAP_GPMC config visible and selectable") Signed-off-by: Geert Uytterhoeven <[email protected]> Acked-by: Roger Quadros <[email protected]> Link: https://lore.kernel.org/r/f6780f572f882ed6ab5934321942cf2b412bf8d1.1652174849.git.geert+renesas@glider.be Signed-off-by: Krzysztof Kozlowski <[email protected]>
1 parent f2906aa commit 67c7fc6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/memory/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ config TI_EMIF
105105
config OMAP_GPMC
106106
tristate "Texas Instruments OMAP SoC GPMC driver"
107107
depends on OF_ADDRESS
108+
depends on ARCH_OMAP2PLUS || ARCH_KEYSTONE || ARCH_K3 || COMPILE_TEST
108109
select GPIOLIB
109110
help
110111
This driver is for the General Purpose Memory Controller (GPMC)

0 commit comments

Comments
 (0)