]> git.baikalelectronics.ru Git - kernel.git/commit
memory: omap-gpmc: Add Kconfig option for debug
authorTony Lindgren <tony@atomide.com>
Tue, 2 Jun 2015 01:22:10 +0000 (19:22 -0600)
committerPaul Walmsley <paul@pwsan.com>
Tue, 2 Jun 2015 01:22:10 +0000 (19:22 -0600)
commit4533ec0b3fb506993aa6e0a0df09764185cc5935
tree867cc2a8675635cb286eeca8f4364bacdc3e97e1
parent459ce5742371391c62dbab6c7c9603c8f569a30a
memory: omap-gpmc: Add Kconfig option for debug

We support decoding the bootloader values if DEBUG is defined.
But we also need to change the struct omap_hwmod flags to have
HWMOD_INIT_NO_RESET to avoid the GPMC being reset during the
boot. Otherwise just the default timings will be displayed
instead of the bootloader configured timings.

This also allows us to clean up the various GPMC related
hwmod flags. For debugging, we only need HWMOD_INIT_NO_RESET,
and HWMOD_INIT_NO_IDLE is not needed.

Cc: Brian Hutchinson <b.hutchman@gmail.com>
Cc: Paul Walmsley <paul@pwsan.com>
Cc: Roger Quadros <rogerq@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/omap_hwmod.h
arch/arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c
arch/arm/mach-omap2/omap_hwmod_33xx_43xx_ipblock_data.c
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
arch/arm/mach-omap2/omap_hwmod_44xx_data.c
arch/arm/mach-omap2/omap_hwmod_7xx_data.c
arch/arm/mach-omap2/omap_hwmod_81xx_data.c
drivers/memory/Kconfig
drivers/memory/omap-gpmc.c