memory: omap-gpmc: Fix unselectable debug option for GPMC
PATCH 1/1 memory: omap-gpmc: Fix unselectable debug option for GPMC
Commit 63aa945b1013 ("memory: omap-gpmc: Add Kconfig option for debug") added a debug option for GPMC, but somehow managed to keep it unselectable.
This probably happened because I had some uncommitted changes and the GPMC option is selected in the platform specific Kconfig.
Let's also update the description a bit, it does not mention that enabling the debug option also disables the reset of GPMC controller during the init as pointed out by Uwe Kleine-König <[email protected]>.
--- drivers/memory/Kconfig | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
drivers/memory/Kconfig +4 -3
@@ -58,12 +58,13 @@ config OMAP_GPMC memory drives like NOR, NAND, OneNAND, SRAM. config OMAP_GPMC_DEBUG - bool + bool "Enable GPMC debug output and skip reset of GPMC during init" depends on OMAP_GPMC help Enables verbose debugging mostly to decode the bootloader provided - timings. Enable this during development to configure devices - connected to the GPMC bus. + timings. To preserve the bootloader provided timings, the reset + of GPMC is skipped during init. Enable this during development to + configure devices connected to the GPMC bus. config MVEBU_DEVBUS bool "Marvell EBU Device Bus Controller"
Signature · 1 line
2.1.4
Quoted 6 lines · Tony Lindgren
Commit
63aa945b1013("memory: omap-gpmc: AddKconfigoption for debug") added a debug option for GPMC, but somehow managed to keep it unselectable.This probably happened because I had some uncommitted changes and the GPMC option is selected in the platform specific
Kconfig.
Quoted 8 lines
Let's also update the description a bit, it does not mention that enabling the debug option also disables the reset of GPMC controller during the init as pointed out by Uwe Kleine-König <[email protected]>.
Fixes 63aa945b1013 ("memory: omap-gpmc: Add Kconfig option for debug")Reported-by Uwe Kleine-König <[email protected]>Signed-off-by Tony Lindgren <[email protected]>
Quoted 14 lines
--- drivers/memory/Kconfig | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)drivers/memory/Kconfig +1
-1@@ -58,12 +58,13 @@ config OMAP_GPMC memory drives like NOR, NAND, OneNAND, SRAM. config OMAP_GPMC_DEBUG - bool + bool "Enable GPMC debug output and skip reset of GPMC during init" depends on OMAP_GPMC
drivers/memory/Kconfig config OMAP_GPMC · line 70
Quoted 10 lines
drivers/memory/Kconfig +3
-2help Enables verbose debugging mostly to decode the bootloader provided - timings. Enable this during development to configure devices - connected to the GPMC bus. + timings. To preserve the bootloader provided timings, the reset + of GPMC is skipped during init. Enable this during development to + configure devices connected to the GPMC bus. config MVEBU_DEVBUS bool "Marvell EBU Device Bus Controller"
--
cheers,
-roger