[U-Boot-Users] [GIT PULL] AVR32 relocation (rebased)
Haavard Skinnemoen
hskinnemoen at atmel.com
Thu Feb 1 17:50:24 CET 2007
Hi Wolfgang,
Please pull from the 'for-upstream' branch of
git://www.atmel.no/~hskinnemoen/u-boot/avr32 for-upstream
to receive the updates listed below.
This is basically the same pull request I sent a while ago rebased
against your latest git tree. It contains some major restructuring of
the avr32 code, ultimately resulting in it relocating itself to SDRAM
at startup.
There are also some changes to the clock- and portmux management code
in here, which was necessary because the old code used to keep some
state around in global variables. The new code provides mostly the
same functionality, is simpler and works without a writable data
section.
I've tested this on my own board for a couple of months now, and
everything seems to be fine. There are some unresolved issues with cfi
flash support, but this lot needs to go in before we can even think
about dropping the custom flash driver.
I'm not attaching any combined patch since it's quite big and has been
posted before:
http://groups.google.com/group/osdeve_mirror_boot-loaders_u-boot/browse_thread/thread/3cd6ae1384844f3/f9db0d0380f575df?lnk=gst
Haavard
Makefile | 2 +-
avr32_config.mk | 2 +-
board/atmel/atstk1000/atstk1000.c | 17 +-
board/atmel/atstk1000/flash.c | 2 +-
board/atmel/atstk1000/u-boot.lds | 21 +-
cpu/at32ap/Makefile | 2 +-
cpu/at32ap/at32ap7000/Makefile | 2 +-
cpu/at32ap/at32ap7000/devices.c | 448 ------------------------
cpu/at32ap/at32ap7000/gpio.c | 77 ++++
cpu/at32ap/at32ap7000/hebi.c | 38 --
cpu/at32ap/cpu.c | 64 +++-
cpu/at32ap/device.c | 126 -------
cpu/at32ap/entry.S | 3 +-
cpu/at32ap/exception.c | 7 +-
cpu/at32ap/hsdramc.c | 43 +--
cpu/at32ap/hsdramc1.h | 8 +-
cpu/at32ap/hsmc3.h | 8 +-
cpu/at32ap/interrupts.c | 14 +-
cpu/at32ap/pio.c | 90 ++----
cpu/at32ap/pio2.h | 8 +-
cpu/at32ap/pm.c | 127 +-------
cpu/at32ap/sm.h | 8 +-
cpu/at32ap/start.S | 113 +++++--
drivers/atmel_usart.c | 48 ++-
drivers/atmel_usart.h | 8 +-
include/asm-avr32/arch-at32ap7000/clk.h | 58 +++
include/asm-avr32/arch-at32ap7000/gpio.h | 210 +++++++++++
include/asm-avr32/arch-at32ap7000/hmatrix2.h | 8 +-
include/asm-avr32/arch-at32ap7000/memory-map.h | 81 +++--
include/asm-avr32/arch-at32ap7000/platform.h | 146 --------
include/asm-avr32/global_data.h | 4 +-
include/asm-avr32/initcalls.h | 2 -
include/configs/atstk1002.h | 17 +-
lib_avr32/avr32_linux.c | 4 +-
lib_avr32/board.c | 140 +++++++-
35 files changed, 799 insertions(+), 1157 deletions(-)
delete mode 100644 cpu/at32ap/at32ap7000/devices.c
create mode 100644 cpu/at32ap/at32ap7000/gpio.c
delete mode 100644 cpu/at32ap/at32ap7000/hebi.c
delete mode 100644 cpu/at32ap/device.c
create mode 100644 include/asm-avr32/arch-at32ap7000/clk.h
create mode 100644 include/asm-avr32/arch-at32ap7000/gpio.h
delete mode 100644 include/asm-avr32/arch-at32ap7000/platform.h
Haavard Skinnemoen (7):
AVR32: Split start_u_boot into board_init_f and board_init_r
AVR32: Use avr32-linux- cross-compilation prefix by default
AVR32: Build position-independent u-boot
AVR32: Clean up memory-map.h for at32ap7000
AVR32: Resource management rewrite
AVR32: Relocate u-boot to SDRAM
AVR32: Use initdram() instead of board_init_memories()
More information about the U-Boot
mailing list