[U-Boot-Users] [PATCH 0/6] AVR32 support
Haavard Skinnemoen
hskinnemoen at atmel.com
Wed Sep 6 16:22:25 CEST 2006
Hi everyone,
Here's a new patchset adding support for the AVR32 architecture, AT32AP
CPUs and the ATSTK1000 development board. I will post six patches
following this mail, three of which are compressed due to their size.
All the patches have a proper mbox header so that they can be cat'ed
together and fed to git-am.
Changes since the previous patchset:
* AVR32: Cleanup whitespace in asm/posix_types.h
* AVR32: Remove trailing empty lines from asm/sections.h
* AVR32: Sync asm/setup.h with Linux and remove trailing empty lines
* AVR32: Move flush_cache() to CPU-specific patch
* AVR32: Convert spaces to tabs in asm/sysreg.h
* AVR32: Move asm/errno-base.h into asm/errno.h
* AVR32: Remove copyright notice from asm/errno.h
* AVR32: Add missing comments for struct global_data members
* AVR32: Remove references to net code
* AVR32: Remove DMA allocator
* AVR32: Move DECLARE_GLOBAL_DATA to file scope
* AVR32: Remove obsolete DEV_ACCESSOR_FUNCTIONS macro
* AVR32: Kill unneeded _start/_end declarations in avr32_linux.c
* AVR32: Move tagtable.h into avr32_linux.c
* AVR32: Prefix setup.h defines with A to avoid conflicts
* AVR32: Add 64-bit do_div() from the linux kernel
* AVR32: Reduce the alignment of memset()
* AVR32: Define cpu_sync_pipeline()
* AVR32: Move time-related functions to cpu/at32ap
* AVR32: Adapt makefile to build system changes
* AT32AP: Consolidate cache-related functions into cpu/at32ap/cache.c
* AT32AP: Implement remaining cache operations
* AT32AP: Clean up hsdramc1.h
* AT32AP: Clean up hsmc3.h
* AT32AP: Clean up pio2.h
* AT32AP: Clean up sm.h
* AT32AP: Clean up hmatrix2.h
* AT32AP: Convert spaces to tabs in cache.c
* AT32AP: Move DECLARE_GLOBAL_DATA_PTR to file scope
* AT32AP: Make PLL optional
* AT32AP: Clean up naming of busses
* AT32AP: Re-implement the time-related functions using interrupts
* AT32AP: Adapt makefile to build system changes
* ATSTK1000: Move DECLARE_GLOBAL_DATA_PTR to file scope
* ATSTK1000: Define CONFIG_PLL
* ATSTK1000: Clean up naming of busses
* ATSTK1000: Remove atstk1002.c
* ATSTK1000: Set CFG_HZ to 1000
* ATSTK1000: Adapt Makefile to build system changes
* Add rule for ATSTK1000 linker script generation
* atmel_usart: Move DECLARE_GLOBAL_DATA_PTR to file scope
* atmel_usart: Clean up register definitions
Hopefully, this takes care of the comments I got from Wolfgang last
time around, as well as a few other things.
Combined diffstat below. Please reply to each patch with any comments
you might have.
By the way, here's how you can modify git's pre-commit hook to catch
indentation with spaces instead of tabs:
--- /usr/share/git-core/templates/hooks/pre-commit 2006-07-29 23:21:37.000000000 +0200
+++ .git/hooks/pre-commit 2006-08-31 17:16:25.000000000 +0200
@@ -61,6 +61,9 @@
if (/^\s* /) {
bad_line("indent SP followed by a TAB", $_);
}
+ if (/^\s* /) {
+ bad_line("indent SP instead of TAB", $_);
+ }
if (/^(?:[<>=]){7}/) {
bad_line("unresolved merge conflict", $_);
}
Haavard
MAINTAINERS | 11 +
MAKEALL | 9
Makefile | 17 +
README | 18 +
avr32_config.mk | 25 +
board/atstk1000/Makefile | 44 ++
board/atstk1000/atstk1000.c | 52 +++
board/atstk1000/config.mk | 4
board/atstk1000/flash.c | 223 ++++++++++++
board/atstk1000/u-boot.lds.S | 79 ++++
common/cmd_bootm.c | 3
config.mk | 4
cpu/at32ap/Makefile | 50 +++
cpu/at32ap/at32ap7000/Makefile | 43 ++
cpu/at32ap/at32ap7000/devices.c | 448 ++++++++++++++++++++++++
cpu/at32ap/at32ap7000/hebi.c | 38 ++
cpu/at32ap/cache.c | 97 +++++
cpu/at32ap/config.mk | 22 +
cpu/at32ap/cpu.c | 83 ++++
cpu/at32ap/device.c | 126 +++++++
cpu/at32ap/entry.S | 65 +++
cpu/at32ap/exception.c | 119 ++++++
cpu/at32ap/hsdramc.c | 155 ++++++++
cpu/at32ap/hsdramc1.h | 143 ++++++++
cpu/at32ap/hsmc3.h | 126 +++++++
cpu/at32ap/interrupts.c | 154 ++++++++
cpu/at32ap/pio.c | 94 +++++
cpu/at32ap/pio2.h | 44 ++
cpu/at32ap/pm.c | 163 +++++++++
cpu/at32ap/sm.h | 204 +++++++++++
cpu/at32ap/start.S | 113 ++++++
drivers/Makefile | 2
drivers/atmel_usart.c | 88 +++++
drivers/atmel_usart.h | 314 +++++++++++++++++
examples/Makefile | 4
examples/stubs.c | 13 +
include/asm-avr32/addrspace.h | 46 ++
include/asm-avr32/arch-at32ap7000/hmatrix2.h | 232 ++++++++++++
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/div64.h | 39 ++
include/asm-avr32/dma-mapping.h | 64 +++
include/asm-avr32/errno.h | 132 +++++++
include/asm-avr32/global_data.h | 59 +++
include/asm-avr32/initcalls.h | 33 ++
include/asm-avr32/io.h | 92 +++++
include/asm-avr32/posix_types.h | 144 ++++++++
include/asm-avr32/processor.h | 97 +++++
include/asm-avr32/ptrace.h | 148 ++++++++
include/asm-avr32/sdram.h | 33 ++
include/asm-avr32/sections.h | 39 ++
include/asm-avr32/setup.h | 142 ++++++++
include/asm-avr32/string.h | 28 ++
include/asm-avr32/sysreg.h | 279 +++++++++++++++
include/asm-avr32/types.h | 84 +++++
include/asm-avr32/u-boot.h | 56 +++
include/configs/atstk1002.h | 183 ++++++++++
include/image.h | 1
lib_avr32/Makefile | 47 +++
lib_avr32/avr32_linux.c | 315 +++++++++++++++++
lib_avr32/board.c | 175 +++++++++
lib_avr32/div64.c | 54 +++
lib_avr32/interrupts.c | 39 ++
lib_avr32/memset.S | 81 ++++
tools/mkimage.c | 1
68 files changed, 6188 insertions(+), 4 deletions(-)
More information about the U-Boot
mailing list