]> Pileus Git - ~andy/linux/commit
ARM: OMAP2+: gpmc: Move legacy GPMC width setting
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Mon, 28 Oct 2013 00:51:48 +0000 (21:51 -0300)
committerTony Lindgren <tony@atomide.com>
Wed, 8 Jan 2014 17:49:47 +0000 (09:49 -0800)
commitbbc28cdbd003be5ceeaf644be3533e898c25da2b
tree7159086854e4be4ca940b0ca750a41030e037f08
parentd0020cc6384eb7edd56ba4769115c9497694e303
ARM: OMAP2+: gpmc: Move legacy GPMC width setting

After the introduction of gpmc_set_legacy(), move the GPMC width setting
to be done inside it. Currently, in the DT probed case, this is (wrongly)
done twice: first at gpmc_read_settings_dt(), and then based in the
NAND width setting.
Fix this and use only the value obtained from the DT.

Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/gpmc-nand.c