ARM: OMAP2+: Add function for configuring GPMC settings
authorJon Hunter <jon-hunter@ti.com>
Thu, 21 Feb 2013 21:25:23 +0000 (15:25 -0600)
committerJon Hunter <jon-hunter@ti.com>
Mon, 1 Apr 2013 19:53:41 +0000 (14:53 -0500)
commitaa8d4767da2a2a29a628dc0dadb59a010f0ec18e
tree2cd2bc90120b1c914477a35e922e7678908b1268
parentc3be5b457ae1bb6dc93ef25bfa03e595969acbfc
ARM: OMAP2+: Add function for configuring GPMC settings

The GPMC has various different configuration options such as bus-width,
synchronous or asychronous mode selection, burst mode options etc.
Currently, there is no common function for configuring these options and
various devices set these options by either programming the GPMC CONFIG1
register directly or by calling gpmc_cs_configure() to set some of the
options.

Add a new function for configuring all of the GPMC options. Having a common
function for configuring this options will simplify code and ease the
migration to device-tree.

Also add a new capability flag to detect devices that support the
address-address-data multiplexing mode.

Signed-off-by: Jon Hunter <jon-hunter@ti.com>
Tested-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
arch/arm/mach-omap2/gpmc.c
arch/arm/mach-omap2/gpmc.h
This page took 0.027398 seconds and 5 git commands to generate.