diff options
author | Juha Yrjola <juha.yrjola@solidboot.com> | 2009-05-29 00:23:52 +0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2009-05-29 00:23:52 +0400 |
commit | aa62e90fe0700c037675926fff9f75b0b1c00d78 (patch) | |
tree | f1ae6548e63aaf797aca9efbe55f7e75584d6eec /arch/arm/mach-omap2/Makefile | |
parent | 279b918d726a66c61c9dc7aec8b1fb035d40fdfc (diff) | |
download | linux-aa62e90fe0700c037675926fff9f75b0b1c00d78.tar.xz |
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>
Diffstat (limited to 'arch/arm/mach-omap2/Makefile')
-rw-r--r-- | arch/arm/mach-omap2/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile index bf3827ae2c5f..11f7f660879b 100644 --- a/arch/arm/mach-omap2/Makefile +++ b/arch/arm/mach-omap2/Makefile @@ -58,3 +58,6 @@ obj-$(CONFIG_MACH_NOKIA_RX51) += board-rx51.o \ ifeq ($(CONFIG_USB_MUSB_SOC),y) obj-y += usb-musb.o endif + +onenand-$(CONFIG_MTD_ONENAND_OMAP2) := gpmc-onenand.o +obj-y += $(onenand-m) $(onenand-y) |