diff options
author | Tony Lindgren <tony@atomide.com> | 2015-10-12 19:19:54 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2015-10-12 19:19:54 -0400 |
commit | be59b6192f43a9792f5f636b51358196ba11bbf6 (patch) | |
tree | 3c04771b764d7910303337af027d65b848a5e3d2 | |
parent | 7e381ec6a36aa44f15fc1a76e6efb9e2cd942e61 (diff) |
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
<u.kleine-koenig@pengutronix.de> and Roger Quadros <rogerq@ti.com>.
Fixes: 63aa945b1013 ("memory: omap-gpmc: Add Kconfig option for debug")
Reported-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
-rw-r--r-- | drivers/memory/Kconfig | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/drivers/memory/Kconfig b/drivers/memory/Kconfig index c6a644b22af4..6f3154613dc7 100644 --- a/drivers/memory/Kconfig +++ b/drivers/memory/Kconfig | |||
@@ -58,12 +58,18 @@ config OMAP_GPMC | |||
58 | memory drives like NOR, NAND, OneNAND, SRAM. | 58 | memory drives like NOR, NAND, OneNAND, SRAM. |
59 | 59 | ||
60 | config OMAP_GPMC_DEBUG | 60 | config OMAP_GPMC_DEBUG |
61 | bool | 61 | bool "Enable GPMC debug output and skip reset of GPMC during init" |
62 | depends on OMAP_GPMC | 62 | depends on OMAP_GPMC |
63 | help | 63 | help |
64 | Enables verbose debugging mostly to decode the bootloader provided | 64 | Enables verbose debugging mostly to decode the bootloader provided |
65 | timings. Enable this during development to configure devices | 65 | timings. To preserve the bootloader provided timings, the reset |
66 | connected to the GPMC bus. | 66 | of GPMC is skipped during init. Enable this during development to |
67 | configure devices connected to the GPMC bus. | ||
68 | |||
69 | NOTE: In addition to matching the register setup with the bootloader | ||
70 | you also need to match the GPMC FCLK frequency used by the | ||
71 | bootloader or else the GPMC timings won't be identical with the | ||
72 | bootloader timings. | ||
67 | 73 | ||
68 | config MVEBU_DEVBUS | 74 | config MVEBU_DEVBUS |
69 | bool "Marvell EBU Device Bus Controller" | 75 | bool "Marvell EBU Device Bus Controller" |