[U-Boot] [PATCH v1 0/8] avr32: add generic board

Andreas Bießmann andreas.devel at googlemail.com
Wed Jan 28 01:15:58 CET 2015


This is the first attempt to add generic board support to avr32 architecture. It
has at least one relevant part for other manual reloc architectures.

This series is currently runtime tested on grasshhopper and atstk1002.

Andreas Bießmann

Changes in v1:
- new since RFC
- new since RFC
- add timer_init in board_r
- remove extern declaration of mmu_init_r()
- new since RFC

Andreas Bießmann (8):
  avr32: use dlmalloc for DMA buffers
  avr32: rename cpu_init() -> arch_cpu_init()
  avr32: factor out cpu_mmc_init()
  avr32: rename mmu.h definitions
  common/board_r: manual relocation for cmd table
  avr32: add generic board support
  grasshopper: enable generic board
  atstk1002: enable generic board

 arch/avr32/config.mk                         |    3 ++
 arch/avr32/cpu/Makefile                      |    1 +
 arch/avr32/cpu/at32ap700x/mmu.c              |    8 ++--
 arch/avr32/cpu/cpu.c                         |    2 +-
 arch/avr32/cpu/mmc.c                         |   16 +++++++
 arch/avr32/cpu/u-boot.lds                    |    2 +
 arch/avr32/include/asm/arch-at32ap700x/mmu.h |    6 +--
 arch/avr32/include/asm/config.h              |    1 +
 arch/avr32/include/asm/dma-mapping.h         |    7 ++-
 arch/avr32/include/asm/u-boot.h              |    9 ++++
 arch/avr32/lib/Makefile                      |    2 +
 arch/avr32/lib/board.c                       |   61 +-------------------------
 arch/avr32/lib/interrupts.c                  |    5 +++
 board/atmel/atngw100/atngw100.c              |   12 ++---
 board/atmel/atngw100mkii/atngw100mkii.c      |   18 ++++----
 board/atmel/atstk1000/atstk1000.c            |   12 ++---
 board/earthlcd/favr-32-ezkit/favr-32-ezkit.c |   12 ++---
 board/in-circuit/grasshopper/grasshopper.c   |   12 ++---
 board/mimc/mimc200/mimc200.c                 |   18 ++++----
 board/miromico/hammerhead/hammerhead.c       |   12 ++---
 common/board_f.c                             |   13 ++++--
 common/board_r.c                             |   38 ++++++++++++++--
 include/asm-generic/u-boot.h                 |    4 ++
 include/configs/atngw100.h                   |    1 -
 include/configs/atngw100mkii.h               |    1 -
 include/configs/atstk1002.h                  |    5 ++-
 include/configs/atstk1006.h                  |    1 -
 include/configs/favr-32-ezkit.h              |    1 -
 include/configs/grasshopper.h                |    5 ++-
 include/configs/hammerhead.h                 |    1 -
 include/configs/mimc200.h                    |    1 -
 31 files changed, 159 insertions(+), 131 deletions(-)
 create mode 100644 arch/avr32/cpu/mmc.c

-- 
1.7.10.4



More information about the U-Boot mailing list