ARM: OMAP2+: Convert SMC91x to use gpmc_cs_program_settings()
authorJon Hunter <jon-hunter@ti.com>
Thu, 21 Feb 2013 19:01:37 +0000 (13:01 -0600)
committerJon Hunter <jon-hunter@ti.com>
Mon, 1 Apr 2013 19:53:43 +0000 (14:53 -0500)
commit1119f3c3cee1b27f7d488510af5e96ddba438ee9
treeb1dcb5675c1d0edc6793243ca29e1fd1b4f323de
parent24db7eccfba339293e1cc081cf73e06a0149784a
ARM: OMAP2+: Convert SMC91x to use gpmc_cs_program_settings()

Convert the OMAP2+ SMC91x code to use the gpmc_cs_program_settings()
function for configuring the various GPMC options instead of directly
programming the CONFIG1 register.

Move configuration of the GPMC settings outside retime function and
this does not need to be done if the timings are changed dynamically
at runtime.

Signed-off-by: Jon Hunter <jon-hunter@ti.com>
Tested-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
arch/arm/mach-omap2/gpmc-smc91x.c