[U-Boot] [PATCH v1 00/21] sparc: Update SPARC architecture to generic board init

Francois Retief fgretief at spaceteq.co.za
Mon Nov 23 16:38:41 CET 2015


The SPARC architecture has not yet been updated to the new generic
board init codebase. This patch series is an first attempt at that.

The changes has been tested on a TSIM simulator (grsim_defconfig).

Any feedback, comments or suggestions would be appreciated.


Daniel Hellstrom (6):
  sparc: Added function that checks if IRQ is on or off
  sparc: Serial baud rate register support multiple buses with different
    frequency
  sparc: leon3: Clear all unused GPTIMER registers.
  sparc: Removed USB stop from linux bootm, arch-independent bootm stop
    USB
  sparc: leon3: Added CPU count and frequency detection.
  sparc: leon3: Added busy wait function, made wait_ms() work when IRQ
    is disabled

Francois Retief (15):
  sparc: Move SYS_SPARC_NWINDOWS to Kconfig
  sparc: Remove version_string variable from start.S file
  sparc: leon3: Clear GD_FLAG_SERIAL_READY flag on AMBA failure
  sparc: leon3: Updated serial driver to use CONFIG_CONS_INDEX
  sparc: Fix whitespace in cpu/leon2/cpu_init.c
  sparc: Initial ground work for generic board initialization
  sparc: leon3: Move snoop detection from startup.S to arch_cpu_init()
  sparc: leon3: Move ambapp_bus_init() call to arch_cpu_init() function
  sparc: leon3: Updates for generic board initialization
  sparc: leon2: Updates for generic board initialization
  sparc: Update cpu_init.c to use generic timer infrastructure
  sparc: Update PROM initialization code for generic board
  sparc: Add CONFIG_DISPLAY_BOARDINFO variable to all LEON boards
  sparc: Use microseconds instead of ticks for timeout
  sparc: Remove non-generic board init files: board.c, time.c

 arch/Kconfig                         |   1 +
 arch/sparc/Kconfig                   |   9 +
 arch/sparc/cpu/leon2/cpu.c           |  14 +-
 arch/sparc/cpu/leon2/cpu_init.c      |  94 +++------
 arch/sparc/cpu/leon2/interrupts.c    |  14 --
 arch/sparc/cpu/leon2/prom.c          |   2 +
 arch/sparc/cpu/leon2/serial.c        |   2 +-
 arch/sparc/cpu/leon2/start.S         | 213 +++++++++++--------
 arch/sparc/cpu/leon3/ambapp.c        |   2 +-
 arch/sparc/cpu/leon3/cpu.c           |  60 +++++-
 arch/sparc/cpu/leon3/cpu_init.c      | 175 ++++++++-------
 arch/sparc/cpu/leon3/interrupts.c    |  11 -
 arch/sparc/cpu/leon3/prom.c          |   2 +
 arch/sparc/cpu/leon3/serial.c        |  23 +-
 arch/sparc/cpu/leon3/start.S         | 303 +++++++++++++-------------
 arch/sparc/cpu/leon3/usb_uhci.c      |   7 +-
 arch/sparc/include/asm/config.h      |   8 +-
 arch/sparc/include/asm/global_data.h |   9 +-
 arch/sparc/include/asm/irq.h         |   3 +
 arch/sparc/include/asm/leon3.h       |  13 ++
 arch/sparc/include/asm/u-boot.h      |  36 +---
 arch/sparc/lib/Makefile              |   4 +-
 arch/sparc/lib/board.c               | 398 -----------------------------------
 arch/sparc/lib/bootm.c               |   8 -
 arch/sparc/lib/interrupts.c          |  42 +---
 arch/sparc/lib/time.c                |  62 ------
 common/board_f.c                     |  20 +-
 common/board_r.c                     |  10 +-
 drivers/net/greth.c                  |   2 +-
 include/configs/gr_cpci_ax2000.h     |   8 +-
 include/configs/gr_ep2s60.h          |   8 +-
 include/configs/gr_xc3s_1500.h       |   8 +-
 include/configs/grsim.h              |   8 +-
 include/configs/grsim_leon2.h        |  12 +-
 34 files changed, 602 insertions(+), 989 deletions(-)
 delete mode 100644 arch/sparc/lib/board.c
 delete mode 100644 arch/sparc/lib/time.c

-- 
2.4.3



More information about the U-Boot mailing list