The SPARC architecture has not yet been upgraded to the new generic board init codebase. This patch series is an first attempt at that.
We currently only have access to one SPARC board (gr712rc-board) and would appreciate some help with testing. Other comments and suggestions are welcome. We also need some advice on what else needs to be done for the conversion to the generic board init code. This series currently does not remove the old init code. That will be done in a later version of the series. Francois Retief (9): sparc: Add initr function for CMD_AMBAPP command sparc: Initial work for generic board-init sparc: Use microseconds instead of ticks for timeout sparc: Major rewrite of the PROM generation code sparc: Reworked LEON3 startup for generic board-init sparc: Update all LEON3 boards to generic board-init sparc: Make LEON serial drivers use readl/writel macros sparc: Add MDIO support to GRETH driver sparc: Add support for gr712rc-board arch/sparc/Kconfig | 4 + arch/sparc/config.mk | 3 + arch/sparc/cpu/leon2/Makefile | 2 +- arch/sparc/cpu/leon2/prom.c | 1030 --------------------------- arch/sparc/cpu/leon2/serial.c | 121 ++-- arch/sparc/cpu/leon3/Makefile | 5 +- arch/sparc/cpu/leon3/cpu.c | 14 + arch/sparc/cpu/leon3/cpu_init.c | 57 ++ arch/sparc/cpu/leon3/interrupts.c | 14 + arch/sparc/cpu/leon3/prom.c | 2 +- arch/sparc/cpu/leon3/serial.c | 93 +-- arch/sparc/cpu/leon3/start.S | 436 ++++++------ arch/sparc/include/asm/config.h | 1 + arch/sparc/include/asm/io.h | 43 +- arch/sparc/include/asm/machines.h | 4 +- arch/sparc/include/asm/u-boot.h | 7 + arch/sparc/lib/Makefile | 9 +- arch/sparc/lib/bootm.c | 81 ++- arch/sparc/lib/interrupts.c | 7 + arch/sparc/lib/prom-no.c | 319 +++++++++ arch/sparc/lib/prom-no.h | 40 ++ arch/sparc/lib/prom.c | 960 +++++++++++++++++++++++++ arch/sparc/lib/srmmu.c | 90 +++ arch/sparc/lib/time.c | 5 + board/gaisler/gr712rc_board/Kconfig | 19 + board/gaisler/gr712rc_board/MAINTAINERS | 6 + board/gaisler/gr712rc_board/Makefile | 8 + board/gaisler/gr712rc_board/README | 24 + board/gaisler/gr712rc_board/config.mk | 15 + board/gaisler/gr712rc_board/gr712rc_board.c | 110 +++ common/board_f.c | 2 +- common/board_r.c | 21 + common/cmd_ambapp.c | 18 +- common/cmd_bdinfo.c | 4 + configs/gr712rc_board_defconfig | 2 + drivers/net/greth.c | 59 +- include/ambapp.h | 27 +- include/configs/gr712rc_board.h | 366 ++++++++++ include/configs/gr_cpci_ax2000.h | 2 + include/configs/gr_ep2s60.h | 2 + include/configs/gr_xc3s_1500.h | 2 + include/configs/grsim.h | 2 + 42 files changed, 2634 insertions(+), 1402 deletions(-) delete mode 100644 arch/sparc/cpu/leon2/prom.c create mode 100644 arch/sparc/lib/prom-no.c create mode 100644 arch/sparc/lib/prom-no.h create mode 100644 arch/sparc/lib/prom.c create mode 100644 arch/sparc/lib/srmmu.c create mode 100644 board/gaisler/gr712rc_board/Kconfig create mode 100644 board/gaisler/gr712rc_board/MAINTAINERS create mode 100644 board/gaisler/gr712rc_board/Makefile create mode 100644 board/gaisler/gr712rc_board/README create mode 100644 board/gaisler/gr712rc_board/config.mk create mode 100644 board/gaisler/gr712rc_board/gr712rc_board.c create mode 100644 configs/gr712rc_board_defconfig create mode 100644 include/configs/gr712rc_board.h -- 1.9.3 ________________________________ Disclaimer and confidentiality note – refer to our website for further details: www.spaceteq.co.za <http://www.spaceteq.co.za/home/emaildisclaimer/> _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot