]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit20ee1e30ee631a68395ebacc96ff7e22a25410f7
tree2cd2bc90120b1c914477a35e922e7678908b1268
parent01cc04a778620e46e62e4935e4c430812ad58632
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