ARM: OMAP: omap2/gpmc updates
commit1c22cc13256046162bb8e7b44763f6c39790af74
authorDavid Brownell <dbrownell@users.sourceforge.net>
Thu, 7 Dec 2006 01:13:55 +0000 (6 17:13 -0800)
committerTony Lindgren <tony@atomide.com>
Thu, 20 Sep 2007 16:59:20 +0000 (20 09:59 -0700)
treefd6b2c1dde3c3054e752fcb72d253aec5953deab
parent742c53e48e5f8e05ec9f0818281fada9c6061023
ARM: OMAP: omap2/gpmc updates

GPMC updates:
 - bugfixes: wrong/missing flags, omitted write, wrong test
 - don't map memory segments starting at zero
 - improve debug messaging
 - export gpmc_get_fclk_perio]d() since it's needed to calc timings
 - expect gpmc_cs_set_timings() caller to have initialized sync vs async

Note that this API is glitchy; likely the best fix would be to add
a member to "struct gpmc_timings" to hold GPMC_CONFIG1, since that
holds one key aspect of the GPMC timings (the gpmc_fclk divisor,
and sync vs. async == whether that divisor matters).

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/gpmc.c
include/asm-arm/arch-omap/gpmc.h