[U-Boot-Users] [GIT PULL] AVR32 update: relocation and a couple of other things

Haavard Skinnemoen hskinnemoen at atmel.com
Sat Apr 14 16:00:12 CEST 2007


The following changes since commit 6c9ba919375db977aaad9146bf320c7afd07ae7a:
  Wolfgang Denk (1):
        Update CHANGELOG

are found in the 'for-upstream' branch of the git repository at:

  git://www.denx.de/git/u-boot-avr32.git for-upstream

This request has been posted twice before:

http://groups.google.com/group/osdeve_mirror_boot-loaders_u-boot/browse_thread/thread/7c2d50a77c310966/90f030e73cef6bf6?lnk=gst
http://groups.google.com/group/osdeve_mirror_boot-loaders_u-boot/browse_thread/thread/3cd6ae1384844f3/f9db0d0380f575df?lnk=gst

with no feedback, so I can't honestly say that this stuff has been
reviewed. It's been, however, 5 months since I wrote the tricky bits and I
haven't had any problems with it. Besides, the existing code has quite
a few problems that the new code doesn't have:
  * It runs directly from flash, which makes it different from other ports.
  * The FAT filesystem can't be used because it makes the .bss section too big.
  * The generic cfi code can't be used because code dealing with flash
    needs special annotations so that it can be locked in the cache.

Now, the new code doesn't actually _use_ the generic cfi code yet, but
this set of changes makes it a lot easier to throw away the custom
flash code later.

Please let me know if you want this stuff in a different form or something.

Håvard

Haavard Skinnemoen (9):
      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()
      AVR32: Provide a definition of struct stat
      AVR32: Include more commands for ATSTK1000

 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                    |   39 ++-
 include/linux/stat.h                           |   25 ++
 lib_avr32/avr32_linux.c                        |    4 +-
 lib_avr32/board.c                              |  140 +++++++-
 36 files changed, 843 insertions(+), 1160 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




More information about the U-Boot mailing list