
These patches makes it possible to load code into external SRAM on the atevk1100.
Also included is a patch to use the internal flash. Before this can be done, U-Boot must be relocated to SRAM.
The GPIO implementation is made cpu dependent due to differences between at32uc and ap700x.
Gunnar Rangoy (6): AVR32: Make GPIO implmentation cpu dependent AVR32: Support for external SRAM on at32uc3 AVR32: Use SRAM as main memory on the atevk1100 board AVR32: Enable relocation of code for at32uc3 AVR32: Support for writing to internal flash on at32uc3 AVR32: Set boot parameters for atevk1100
board/atmel/atevk1100/atevk1100.c | 65 +++++++++----- board/atmel/atevk1100/u-boot.lds | 2 - cpu/at32uc/Makefile | 1 + cpu/at32uc/flashc.c | 69 ++++++++++++++- cpu/at32uc/flashc.h | 17 ++++ cpu/at32uc/portmux-gpio.c | 30 ------- cpu/at32uc/smc.c | 61 +++++++++++++ cpu/at32uc/smc.h | 105 +++++++++++++++++++++++ cpu/at32uc/start.S | 15 +--- include/asm-avr32/arch-at32ap700x/gpio-impl.h | 86 ++++++++++++++++++ include/asm-avr32/arch-at32uc3a0xxx/gpio-impl.h | 62 +++++++++++++ include/asm-avr32/arch-common/portmux-gpio.h | 83 +----------------- include/asm-avr32/sram.h | 34 +++++++ include/configs/atevk1100.h | 22 +++-- lib_avr32/board.c | 5 - 15 files changed, 490 insertions(+), 167 deletions(-) create mode 100644 cpu/at32uc/smc.c create mode 100644 cpu/at32uc/smc.h create mode 100644 include/asm-avr32/arch-at32ap700x/gpio-impl.h create mode 100644 include/asm-avr32/arch-at32uc3a0xxx/gpio-impl.h create mode 100644 include/asm-avr32/sram.h