[U-Boot] [PATCH 0/9] Add support for the OpenRISC architecture

Stefan Kristiansson stefan.kristiansson at saunalahti.fi
Sat Nov 19 06:21:29 CET 2011


This patch series adds support for the OpenRISC 1000 architecture.

The OpenRISC architecture has been around for about a decade and
has experienced a revival in the last couple of years from the 
efforts of a small, but dedicated community compound of both
commercial and independent contributors.

Most of our development takes place on opencores.org/or1k and openrisc.net.

Porting U-Boot for OpenRISC is a part of this revival, and we have now
reached a point where we feel that our code is ready to be considered
for inclusion in mainline.
We have tried to keep the code in line with what is our 
understanding of the philosophy and style of U-Boot.
Please take time to review our code and point out for us where
we still might have failed.

The patches included in this series are also availabe in the
'for-upstream' branch in the following git repository:

git://openrisc.net/stefan/u-boot

which is also browsable here:

http://git.openrisc.net/cgit.cgi/stefan/u-boot/?h=for-upstream

NOTE: The openrisc-generic board depends on this pending 
patch to build properly:
net/ethoc: use flush_dcache_range instead of flush_dcache
(http://patchwork.ozlabs.org/patch/123622/)
This however should not need to delay the review of our code.

Stefan Kristiansson (9):
  openrisc: Add architecture header files
  openrisc: Add architecture image support
  openrisc: Add cpu files
  openrisc: Add library functions
  openrisc: Add board info printout to cmd_bdinfo
  openrisc: Add support for standalone programs
  openrisc: Add openrisc-generic example board
  openrisc: Add architecture to MAKEALL
  openrisc: Add MAINTAINERS entry

 MAINTAINERS                                        |   11 +
 MAKEALL                                            |    5 +
 arch/openrisc/config.mk                            |   27 +
 arch/openrisc/cpu/Makefile                         |   47 +
 arch/openrisc/cpu/cache.c                          |  157 ++++
 arch/openrisc/cpu/cpu.c                            |  157 ++++
 arch/openrisc/cpu/exceptions.c                     |  109 +++
 arch/openrisc/cpu/interrupts.c                     |  120 +++
 arch/openrisc/cpu/start.S                          |  335 ++++++++
 arch/openrisc/include/asm/bitops.h                 |    9 +
 arch/openrisc/include/asm/bitops/ffs.h             |   26 +
 arch/openrisc/include/asm/bitops/fls.h             |   26 +
 arch/openrisc/include/asm/byteorder.h              |    6 +
 arch/openrisc/include/asm/cache.h                  |   16 +
 arch/openrisc/include/asm/config.h                 |   24 +
 arch/openrisc/include/asm/errno.h                  |    1 +
 arch/openrisc/include/asm/global_data.h            |   74 ++
 arch/openrisc/include/asm/gpio.h                   |   84 ++
 arch/openrisc/include/asm/io.h                     |   93 ++
 arch/openrisc/include/asm/openrisc_exc.h           |   41 +
 arch/openrisc/include/asm/posix_types.h            |   58 ++
 arch/openrisc/include/asm/processor.h              |    4 +
 arch/openrisc/include/asm/ptrace.h                 |   83 ++
 arch/openrisc/include/asm/spr-defs.h               |  567 +++++++++++++
 arch/openrisc/include/asm/string.h                 |    5 +
 arch/openrisc/include/asm/system.h                 |   20 +
 arch/openrisc/include/asm/types.h                  |   60 ++
 arch/openrisc/include/asm/u-boot.h                 |   48 ++
 arch/openrisc/include/asm/unaligned.h              |    1 +
 arch/openrisc/lib/Makefile                         |   47 +
 arch/openrisc/lib/board.c                          |  175 ++++
 arch/openrisc/lib/bootm.c                          |   84 ++
 arch/openrisc/lib/timer.c                          |  104 +++
 board/openrisc/openrisc-generic/Makefile           |   43 +
 board/openrisc/openrisc-generic/config.mk          |   24 +
 board/openrisc/openrisc-generic/openrisc-generic.c |   55 ++
 board/openrisc/openrisc-generic/or1ksim.cfg        |  882 ++++++++++++++++++++
 board/openrisc/openrisc-generic/u-boot.lds         |   75 ++
 boards.cfg                                         |    1 +
 common/cmd_bdinfo.c                                |   22 +
 common/image.c                                     |    1 +
 examples/standalone/stubs.c                        |   14 +
 include/configs/openrisc-generic.h                 |  159 ++++
 include/image.h                                    |    1 +
 44 files changed, 3901 insertions(+), 0 deletions(-)
 create mode 100644 arch/openrisc/config.mk
 create mode 100644 arch/openrisc/cpu/Makefile
 create mode 100644 arch/openrisc/cpu/cache.c
 create mode 100644 arch/openrisc/cpu/cpu.c
 create mode 100644 arch/openrisc/cpu/exceptions.c
 create mode 100644 arch/openrisc/cpu/interrupts.c
 create mode 100644 arch/openrisc/cpu/start.S
 create mode 100644 arch/openrisc/include/asm/bitops.h
 create mode 100644 arch/openrisc/include/asm/bitops/ffs.h
 create mode 100644 arch/openrisc/include/asm/bitops/fls.h
 create mode 100644 arch/openrisc/include/asm/byteorder.h
 create mode 100644 arch/openrisc/include/asm/cache.h
 create mode 100644 arch/openrisc/include/asm/config.h
 create mode 100644 arch/openrisc/include/asm/errno.h
 create mode 100644 arch/openrisc/include/asm/global_data.h
 create mode 100644 arch/openrisc/include/asm/gpio.h
 create mode 100644 arch/openrisc/include/asm/io.h
 create mode 100644 arch/openrisc/include/asm/openrisc_exc.h
 create mode 100644 arch/openrisc/include/asm/posix_types.h
 create mode 100644 arch/openrisc/include/asm/processor.h
 create mode 100644 arch/openrisc/include/asm/ptrace.h
 create mode 100644 arch/openrisc/include/asm/spr-defs.h
 create mode 100644 arch/openrisc/include/asm/string.h
 create mode 100644 arch/openrisc/include/asm/system.h
 create mode 100644 arch/openrisc/include/asm/types.h
 create mode 100644 arch/openrisc/include/asm/u-boot.h
 create mode 100644 arch/openrisc/include/asm/unaligned.h
 create mode 100644 arch/openrisc/lib/Makefile
 create mode 100644 arch/openrisc/lib/board.c
 create mode 100644 arch/openrisc/lib/bootm.c
 create mode 100644 arch/openrisc/lib/timer.c
 create mode 100644 board/openrisc/openrisc-generic/Makefile
 create mode 100644 board/openrisc/openrisc-generic/config.mk
 create mode 100644 board/openrisc/openrisc-generic/openrisc-generic.c
 create mode 100644 board/openrisc/openrisc-generic/or1ksim.cfg
 create mode 100644 board/openrisc/openrisc-generic/u-boot.lds
 create mode 100644 include/configs/openrisc-generic.h

-- 
1.7.5.4



More information about the U-Boot mailing list