Message ID | 20220411095516.24754-2-rogerq@kernel.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | memory: omap-gpmc: Allow module build | expand |
Hi Roger, rogerq@kernel.org wrote on Mon, 11 Apr 2022 12:55:15 +0300: > 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. make Otherwise, Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com> > > Signed-off-by: Roger Quadros <rogerq@kernel.org> > --- > drivers/memory/Kconfig | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/memory/Kconfig b/drivers/memory/Kconfig > index 30bff6cb1b8d..da2af9c38fe3 100644 > --- a/drivers/memory/Kconfig > +++ b/drivers/memory/Kconfig > @@ -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) Thanks, Miquèl
diff --git a/drivers/memory/Kconfig b/drivers/memory/Kconfig index 30bff6cb1b8d..da2af9c38fe3 100644 --- a/drivers/memory/Kconfig +++ b/drivers/memory/Kconfig @@ -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)
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. Signed-off-by: Roger Quadros <rogerq@kernel.org> --- drivers/memory/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)