
Hi everyone,
I've created a stripped-down patchset for AVR32 which can be downloaded from http://avr32linux.org/patches/u-boot/1.1.4-hs1/. The various files there should be familiar to anyone who have used -mm versions of the Linux kernel. The various formats are also explained at http://avr32linux.org/twiki/bin/view/Main/UbootPatches
If anyone would take a look and tell me what you think should be done differently, I would be very grateful. Ulf, have you looked at the patches before? Do you have any comments?
I'll try to keep the patchset in sync with the latest u-boot git tree. Wolfgang, please merge whenever you feel like.
The patchset currently consists of
* make-3.81-build-fix.patch (already submitted to the list) * use-g-instead-of-gstabs.patch (ditto) * uimage-for-avr32.patch (ditto) * avr32-arch.patch (AVR32 architecture support) * at32ap-cpu.patch (Support for AVR32 AP CPUs, including AT32AP7000) * atmel-usart.patch (Driver for the AT91/AT32 USART -- I'll submit this for discussion in a moment) * atstk1000-board.patch (ATSTK1000/ATSTK1002 board support) * version.patch (version update, don't apply)
A more extensive description is included within each patch.
Please let me know if you want me to post the whole thing to the list. Two of the patches break the 40K size limit, so I'll have to compress them.
Combined diffstat below (excluding upstream.patch and version.patch).
Thanks,
Haavard
MAINTAINERS | 11 MAKEALL | 9 Makefile | 13 README | 18 - avr32_config.mk | 25 + board/atstk1000/Makefile | 58 +++ board/atstk1000/atstk1000.c | 54 +++ board/atstk1000/atstk1002.c | 32 + board/atstk1000/config.mk | 3 board/atstk1000/flash.c | 222 ++++++++++++ board/atstk1000/u-boot.lds.S | 79 ++++ cpu/at32ap/Makefile | 46 ++ cpu/at32ap/at32ap7000/Makefile | 42 ++ cpu/at32ap/at32ap7000/devices.c | 448 +++++++++++++++++++++++++ cpu/at32ap/at32ap7000/hebi.c | 38 ++ cpu/at32ap/config.mk | 22 + cpu/at32ap/cpu.c | 82 ++++ cpu/at32ap/dcache_clean.c | 40 ++ cpu/at32ap/dcache_invalidate.c | 38 ++ cpu/at32ap/device.c | 126 +++++++ cpu/at32ap/entry.S | 46 ++ cpu/at32ap/exception.c | 119 ++++++ cpu/at32ap/hsdramc.c | 155 ++++++++ cpu/at32ap/hsdramc1.h | 157 ++++++++ cpu/at32ap/hsmc3.h | 156 ++++++++ cpu/at32ap/pio.c | 94 +++++ cpu/at32ap/pio2.h | 172 +++++++++ cpu/at32ap/pm.c | 158 ++++++++ cpu/at32ap/sm.h | 240 +++++++++++++ cpu/at32ap/start.S | 113 ++++++ drivers/Makefile | 2 drivers/atmel_usart.c | 95 +++++ drivers/atmel_usart.h | 320 +++++++++++++++++ examples/Makefile | 4 examples/stubs.c | 13 include/asm-avr32/addrspace.h | 46 ++ include/asm-avr32/arch-at32ap7000/hmatrix2.h | 388 +++++++++++++++++++++ include/asm-avr32/arch-at32ap7000/memory-map.h | 61 +++ include/asm-avr32/arch-at32ap7000/platform.h | 146 ++++++++ include/asm-avr32/bitops.h | 25 + include/asm-avr32/byteorder.h | 37 ++ include/asm-avr32/cacheflush.h | 83 ++++ include/asm-avr32/dma-mapping.h | 64 +++ include/asm-avr32/errno-base.h | 60 +++ include/asm-avr32/errno.h | 121 ++++++ include/asm-avr32/global_data.h | 59 +++ include/asm-avr32/initcalls.h | 45 ++ include/asm-avr32/io.h | 105 +++++ include/asm-avr32/posix_types.h | 145 ++++++++ include/asm-avr32/processor.h | 96 +++++ include/asm-avr32/ptrace.h | 148 ++++++++ include/asm-avr32/sdram.h | 33 + include/asm-avr32/sections.h | 40 ++ include/asm-avr32/setup.h | 153 ++++++++ include/asm-avr32/string.h | 28 + include/asm-avr32/sysreg.h | 274 +++++++++++++++ include/asm-avr32/types.h | 84 ++++ include/asm-avr32/u-boot.h | 56 +++ include/configs/atstk1002.h | 186 ++++++++++ lib_avr32/Makefile | 46 ++ lib_avr32/avr32_linux.c | 179 +++++++++ lib_avr32/board.c | 193 ++++++++++ lib_avr32/cache.c | 28 + lib_avr32/dma-alloc.c | 51 ++ lib_avr32/interrupts.c | 39 ++ lib_avr32/memset.S | 82 ++++ lib_avr32/tagtable.h | 177 +++++++++ lib_avr32/time.c | 86 ++++ 68 files changed, 6610 insertions(+), 4 deletions(-)