ARM: OMAP2/3: Add generic onenand support when connected to GPMC
authorJuha Yrjola <juha.yrjola@solidboot.com>
Thu, 28 May 2009 20:23:52 +0000 (13:23 -0700)
committerTony Lindgren <tony@atomide.com>
Thu, 28 May 2009 20:23:52 +0000 (13:23 -0700)
commitaa62e90fe0700c037675926fff9f75b0b1c00d78
treef1ae6548e63aaf797aca9efbe55f7e75584d6eec
parent279b918d726a66c61c9dc7aec8b1fb035d40fdfc
ARM: OMAP2/3: Add generic onenand support when connected to GPMC

Add generic onenand support when connected to GPMC and make the
boards to use it.

The patch has been modified to make it more generic to support all
the boards with GPMC. The patch also remove unused prototype for
omap2_onenand_rephase(void).

Note that board-apollon.c is currently using the MTD_ONENAND_GENERIC
and setting the GPMC timings in the bootloader. Setting the GPMC
timings in the bootloader will not allow supporting frequency
scaling for the onenand source clock.

Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/configs/rx51_defconfig
arch/arm/mach-omap2/Makefile
arch/arm/mach-omap2/board-rx51-peripherals.c
arch/arm/mach-omap2/gpmc-onenand.c [new file with mode: 0644]
arch/arm/plat-omap/include/mach/onenand.h