OpenCloudOS-Kernel/arch/avr32/mach-at32ap
Haavard Skinnemoen bc157b7596 [PATCH] AVR32 MTD: Static Memory Controller driver
This patchset adds the necessary drivers and infrastructure to access the
external flash on the ATSTK1000 board through the MTD subsystem.  With this
stuff in place, it will be possible to use a jffs2 filesystem stored in the
external flash as a root filesystem.  It might also be possible to update the
boot loader if you drop the write protection of partition 0.

As suggested by David Woodhouse, I reworked the patches to use the physmap
driver instead of introducing a separate mapping driver for the ATSTK1000.
I've also cleaned up the hsmc header by removing useless comments and
converting spaces to tabs (my headerfile generator needs some work.)

Unfortunately, I couldn't unlock the flash in fixup_use_atmel_lock because the
erase regions hadn't been set up yet, so I had to do it from cfi_amdstd_setup
instead.

This patch:

This adds a simple API for configuring the static memory controller along with
an implementation for the Atmel HSMC.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Cc: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-09-26 08:48:54 -07:00
..
Makefile [PATCH] AVR32 MTD: Static Memory Controller driver 2006-09-26 08:48:54 -07:00
at32ap.c [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
at32ap7000.c [PATCH] AVR32 MTD: Static Memory Controller driver 2006-09-26 08:48:54 -07:00
clock.c [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
clock.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
extint.c [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
hsmc.c [PATCH] AVR32 MTD: Static Memory Controller driver 2006-09-26 08:48:54 -07:00
hsmc.h [PATCH] AVR32 MTD: Static Memory Controller driver 2006-09-26 08:48:54 -07:00
intc.c [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
intc.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
pio.c [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
pio.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
sm.c [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
sm.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00