]> 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)
commit9df570c703693622baf57d37c3c2b9e8ae7fcc32
tree867cc2a8675635cb286eeca8f4364bacdc3e97e1
parent487f8369a912c26a52c8d6d80522bda1571046b7
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