[PATCH 0/3] omap2: Assorted GPMC cleanups

Ezequiel Garcia ezequiel.garcia at free-electrons.com
Sun Oct 27 20:51:45 EDT 2013


(I'm CCing the MTD list, because GPMC is the memory controller
used for NOR, NAND and OneNAND devices).

Hi all,

Just a small patchset containing two small cleanups and a minor fix
for the GPMC memory controller. The first two are cleanups and can
be considered as preparation work for the fix.

The fix is patch 3/3: "Move legacy GPMC width setting". It makes
explicit use of the DT property "gpmc,device-width" and removes the
subsequent (and redundant) setting of the GPMC width, based in the
NAND bus widht.

Tested in AM335x (using DT) so I'd appreciate if someone can test using
a board-file, on a device with NAND flash.

Jon: If you happen to read this, I'd like if you could take a look at
patch 1/3, since you were the last to touch that part of the code.

Thanks!

Ezequiel Garcia (3):
  omap2: gpmc: Move initialization outside the gpmc_t condition
  omap2: gpmc: Introduce gpmc_set_legacy()
  omap2: gpmc: Move legacy GPMC width setting

 arch/arm/mach-omap2/gpmc-nand.c | 50 +++++++++++++++++++++++------------------
 1 file changed, 28 insertions(+), 22 deletions(-)

-- 
1.8.1.5




More information about the linux-arm-kernel mailing list