public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v3 0/12] avr32: add generic board
@ 2015-02-06 22:06 Andreas Bießmann
  2015-02-06 22:06 ` [U-Boot] [PATCH v3 01/12] avr32: use dlmalloc for DMA buffers Andreas Bießmann
                   ` (12 more replies)
  0 siblings, 13 replies; 30+ messages in thread
From: Andreas Bießmann @ 2015-02-06 22:06 UTC (permalink / raw)
  To: u-boot

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.
Waldemar, could you please test the ngw100 device? Boards not converted to
generic board will be removed soon.

Andreas Bie?mann

Changes in v3:
- new in v3
- make arch_reserve_stacks weak and adopt ppc/arm versions
- remove unnecessary stack implementation for avr32
- fix bdinfo output

Changes in v2:
- new since v1
- new since v1
- provide as extra patch, remove from avr32 generic board support
- remove bootparams allocation, provide as extra patch
- use the else path in setup_mon_len()
- provide arch_reserve_stacks() for avr32
- use the newly introduced dram_init()

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 (12):
  avr32: use dlmalloc for DMA buffers
  avr32: rename cpu_init() -> arch_cpu_init()
  avr32: factor out cpu_mmc_init()
  avr32: rename mmu.h definitions
  avr32: convert to dram_init()
  avr32: use generic gd->start_addr_sp
  common/board_f: factor out reserve_stacks
  common/board_r: manual relocation for cmd table
  common/board_r: allocate bootparams
  avr32: add generic board support
  grasshopper: enable generic board
  atstk1002: enable generic board

 arch/arm/lib/Makefile                        |    1 +
 arch/arm/lib/stack.c                         |   42 +++++++++++++
 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/exception.c                   |    6 +-
 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/global_data.h         |    1 -
 arch/avr32/include/asm/u-boot.h              |   10 ++++
 arch/avr32/lib/Makefile                      |    3 +
 arch/avr32/lib/board.c                       |   83 ++++----------------------
 arch/avr32/lib/dram_init.c                   |   17 ++++++
 arch/avr32/lib/interrupts.c                  |    5 ++
 arch/powerpc/lib/Makefile                    |    1 +
 arch/powerpc/lib/stack.c                     |   31 ++++++++++
 board/atmel/atngw100/atngw100.c              |   32 +++-------
 board/atmel/atngw100mkii/atngw100mkii.c      |   39 ++++--------
 board/atmel/atstk1000/atstk1000.c            |   33 +++-------
 board/earthlcd/favr-32-ezkit/favr-32-ezkit.c |   33 +++-------
 board/in-circuit/grasshopper/grasshopper.c   |   32 +++-------
 board/mimc/mimc200/mimc200.c                 |   38 ++++--------
 board/miromico/hammerhead/hammerhead.c       |   32 +++-------
 common/board_f.c                             |   46 ++++----------
 common/board_r.c                             |   40 ++++++++++++-
 common/cmd_bdinfo.c                          |    4 +-
 include/asm-generic/u-boot.h                 |    4 ++
 include/common.h                             |   18 ++++++
 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 -
 40 files changed, 306 insertions(+), 307 deletions(-)
 create mode 100644 arch/arm/lib/stack.c
 create mode 100644 arch/avr32/cpu/mmc.c
 create mode 100644 arch/avr32/lib/dram_init.c
 create mode 100644 arch/powerpc/lib/stack.c

-- 
1.7.10.4

^ permalink raw reply	[flat|nested] 30+ messages in thread

end of thread, other threads:[~2015-02-16 20:23 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-06 22:06 [U-Boot] [PATCH v3 0/12] avr32: add generic board Andreas Bießmann
2015-02-06 22:06 ` [U-Boot] [PATCH v3 01/12] avr32: use dlmalloc for DMA buffers Andreas Bießmann
2015-02-16 20:22   ` [U-Boot] [U-Boot,v3,01/12] " Andreas Bießmann
2015-02-06 22:06 ` [U-Boot] [PATCH v3 02/12] avr32: rename cpu_init() -> arch_cpu_init() Andreas Bießmann
2015-02-16 20:22   ` [U-Boot] [U-Boot,v3,02/12] " Andreas Bießmann
2015-02-06 22:06 ` [U-Boot] [PATCH v3 03/12] avr32: factor out cpu_mmc_init() Andreas Bießmann
2015-02-16 20:22   ` [U-Boot] [U-Boot,v3,03/12] " Andreas Bießmann
2015-02-06 22:06 ` [U-Boot] [PATCH v3 04/12] avr32: rename mmu.h definitions Andreas Bießmann
2015-02-16 20:22   ` [U-Boot] [U-Boot,v3,04/12] " Andreas Bießmann
2015-02-06 22:06 ` [U-Boot] [PATCH v3 05/12] avr32: convert to dram_init() Andreas Bießmann
2015-02-16 20:22   ` [U-Boot] [U-Boot,v3,05/12] " Andreas Bießmann
2015-02-06 22:06 ` [U-Boot] [PATCH v3 06/12] avr32: use generic gd->start_addr_sp Andreas Bießmann
2015-02-16 20:22   ` [U-Boot] [U-Boot,v3,06/12] " Andreas Bießmann
2015-02-06 22:06 ` [U-Boot] [PATCH v3 07/12] common/board_f: factor out reserve_stacks Andreas Bießmann
2015-02-07  0:28   ` Simon Glass
2015-02-16 20:23   ` [U-Boot] [U-Boot,v3,07/12] " Andreas Bießmann
2015-02-06 22:06 ` [U-Boot] [PATCH v3 08/12] common/board_r: manual relocation for cmd table Andreas Bießmann
2015-02-06 22:06 ` [U-Boot] [PATCH v3 09/12] common/board_r: allocate bootparams Andreas Bießmann
2015-02-07  0:28   ` Simon Glass
2015-02-16 20:23   ` [U-Boot] [U-Boot,v3,09/12] " Andreas Bießmann
2015-02-06 22:06 ` [U-Boot] [PATCH v3 10/12] avr32: add generic board support Andreas Bießmann
2015-02-07  0:28   ` Simon Glass
2015-02-08 21:21     ` Andreas Bießmann
2015-02-09  4:30       ` Simon Glass
2015-02-16 20:23   ` [U-Boot] [U-Boot,v3,10/12] " Andreas Bießmann
2015-02-06 22:06 ` [U-Boot] [PATCH v3 11/12] grasshopper: enable generic board Andreas Bießmann
2015-02-16 20:23   ` [U-Boot] [U-Boot,v3,11/12] " Andreas Bießmann
2015-02-06 22:06 ` [U-Boot] [PATCH v3 12/12] atstk1002: " Andreas Bießmann
2015-02-16 20:23   ` [U-Boot] [U-Boot,v3,12/12] " Andreas Bießmann
2015-02-10 19:34 ` [U-Boot] [PATCH v3 0/12] avr32: add " Waldemar Brodkorb

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox