]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
ARM: OMAP: omap2/gpmc updates
authorDavid Brownell <david-b@pacbell.net>
Thu, 19 Oct 2006 13:34:27 +0000 (16:34 +0300)
committerTony Lindgren <tony@atomide.com>
Thu, 19 Oct 2006 13:34:27 +0000 (16:34 +0300)
commit72144268c294522a21e00c125d11ee72abd8a344
treefa63e29a0330c804d5a5f5603fb88c3e2ce70a37
parent8d31140341f6e9e8578667f71042b916dd31241b
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