memory: omap-gpmc: Make OMAP_GPMC config visible and selectable
PATCH 1/1 memory: omap-gpmc: Make OMAP_GPMC config visible and selectable
So far for armv7 TI platforms, GPMC was being selected by arch/arm/mach-* architecture Kconfig files.
For K3 platforms, GPMC is no longer required for basic boot and cannot be always enabled by default by mach- Kconfig.
We need a way for user (or board defconfig) to enable it if required so ake OMAP_GPMC Kconfig option always visible.
--- drivers/memory/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/memory/Kconfig +2 -2
@@ -103,8 +103,8 @@ config TI_EMIF temperature changes config OMAP_GPMC - bool "Texas Instruments OMAP SoC GPMC driver" if COMPILE_TEST - depends on OF_ADDRESS + bool "Texas Instruments OMAP SoC GPMC driver" + depends on OF_ADDRESS || COMPILE_TEST select GPIOLIB help This driver is for the General Purpose Memory Controller (GPMC)
Signature · 1 line
2.17.1
Hi Roger,
Quoted 19 lines · Roger Quadros
So far for armv7 TI platforms, GPMC was being selected by
arch/arm/mach-*architectureKconfigfiles.For K3 platforms, GPMC is no longer required for basic boot and cannot be always enabled by default by mach-
Kconfig.We need a way for user (or board defconfig) to enable it if required so ake
OMAP_GPMCKconfigoption always visible.Signed-off-by Roger Quadros <[email protected]>--- drivers/memory/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/memory/Kconfig +0
-0
drivers/memory/Kconfig config TI_EMIF · line 107
Quoted 7 lines
drivers/memory/Kconfig +2
-2@@ -103,8 +103,8 @@ config TI_EMIF temperature changes config OMAP_GPMC - bool "Texas Instruments OMAP SoC GPMC driver" if COMPILE_TEST - depends on OF_ADDRESS + bool "Texas Instruments OMAP SoC GPMC driver" + depends on OF_ADDRESS || COMPILE_TEST
Can we make this tristate now, so that driver can be built as module?
Quoted 3 lines
drivers/memory/Kconfig +0
-0select GPIOLIB help This driver is for the General Purpose Memory Controller (GPMC)
Hi Vignesh,
Quoted 24 lines · Vignesh Raghavendra
Hi Roger,
Quoted 21 lines · Roger Quadros
So far for armv7 TI platforms, GPMC was being selected by
arch/arm/mach-*architectureKconfigfiles.For K3 platforms, GPMC is no longer required for basic boot and cannot be always enabled by default by mach-
Kconfig.We need a way for user (or board defconfig) to enable it if required so ake
OMAP_GPMCKconfigoption always visible.Signed-off-by Roger Quadros <[email protected]>--- drivers/memory/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/memory/Kconfig +0
-0@@ -103,8 +103,8 @@ config TI_EMIF temperature changes
Quoted 7 lines
drivers/memory/Kconfig config TI_EMIF · line 107
Quoted 5 lines
drivers/memory/Kconfig +2
-2config OMAP_GPMC - bool "Texas Instruments OMAP SoC GPMC driver" if COMPILE_TEST - depends on OF_ADDRESS + bool "Texas Instruments OMAP SoC GPMC driver" + depends on OF_ADDRESS || COMPILE_TESTCan we make this tristate now, so that driver can be built as module?
Sure, I'll give it a try.
Quoted 4 lines
drivers/memory/Kconfig config TI_EMIF · line 110
Quoted 4 lines
drivers/memory/Kconfig +0
-0select GPIOLIB help This driver is for the General Purpose Memory Controller (GPMC)
--
cheers,
-roger