[PATCH 0/8] Make at91_nand usable on AVR32
Haavard Skinnemoen
haavard.skinnemoen at atmel.com
Fri Jun 6 12:04:50 EDT 2008
This patchset renames at91_nand to atmel_nand and makes it usable on
AVR32. It also fixes a couple of bugs in the process.
The patchset also adds support for the ATSTK1006 daughterboard which
is currently in production, and is what I used for testing. It's
basically the same as ATSTK1002 except that it has more RAM (handled
by u-boot) and NAND flash (handled by patch #8) on board.
This patchset hopefully makes the at32_nand driver (which doesn't
support hardware ECC) obsolete. It has never been submitted for
inclusion in mainline, and I don't intend to do so. Please use this
driver instead.
I saw a lot of ECC errors when trying to use hardware ECC, but I
suspect that might be because I tested software ECC first, which uses
an incompatible oob layout.
Haavard
Haavard Skinnemoen (8):
at91_nand: Convert to generic GPIO API
rename at91_nand -> atmel_nand: file names and Kconfig
rename at91_nand -> atmel_nand: internal symbols
atmel_nand: Clean up and fix probe() error path
avr32: move hsmc_init() to core_initcall
avr32: atmel_nand platform code for AT32AP700x
atmel_nand: make available on AVR32
avr32: Add support for ATSTK1006
arch/arm/mach-at91/at91cap9_devices.c | 8 +-
arch/arm/mach-at91/at91rm9200_devices.c | 8 +-
arch/arm/mach-at91/at91sam9260_devices.c | 8 +-
arch/arm/mach-at91/at91sam9261_devices.c | 12 +-
arch/arm/mach-at91/at91sam9263_devices.c | 8 +-
arch/arm/mach-at91/at91sam9rl_devices.c | 12 +-
arch/arm/mach-at91/board-cam60.c | 2 +-
arch/arm/mach-at91/board-cap9adk.c | 2 +-
arch/arm/mach-at91/board-dk.c | 2 +-
arch/arm/mach-at91/board-kb9202.c | 2 +-
arch/arm/mach-at91/board-sam9-l9260.c | 2 +-
arch/arm/mach-at91/board-sam9260ek.c | 2 +-
arch/arm/mach-at91/board-sam9261ek.c | 2 +-
arch/arm/mach-at91/board-sam9263ek.c | 2 +-
arch/arm/mach-at91/board-sam9rlek.c | 2 +-
arch/arm/mach-at91/board-yl-9200.c | 2 +-
arch/avr32/boards/atstk1000/Kconfig | 4 +
arch/avr32/boards/atstk1000/Makefile | 1 +
arch/avr32/boards/atstk1000/atstk1002.c | 78 +++++++++-
arch/avr32/mach-at32ap/at32ap700x.c | 52 ++++++
arch/avr32/mach-at32ap/hsmc.c | 2 +-
drivers/mtd/nand/Kconfig | 27 ++--
drivers/mtd/nand/Makefile | 2 +-
drivers/mtd/nand/{at91_nand.c => atmel_nand.c} | 213 ++++++++++++------------
drivers/mtd/nand/atmel_nand_ecc.h | 36 ++++
include/asm-arm/arch-at91/at91_ecc.h | 38 -----
include/asm-arm/arch-at91/board.h | 4 +-
include/asm-avr32/arch-at32ap/board.h | 13 ++
28 files changed, 344 insertions(+), 202 deletions(-)
rename drivers/mtd/nand/{at91_nand.c => atmel_nand.c} (69%)
create mode 100644 drivers/mtd/nand/atmel_nand_ecc.h
delete mode 100644 include/asm-arm/arch-at91/at91_ecc.h
More information about the linux-mtd
mailing list