[U-Boot] [PATCH v2 0/8] NDS32: Add NDS32 architecture support to u-boot.

Macpaul Lin macpaul at andestech.com
Thu Aug 5 07:22:04 CEST 2010


NDS32 is a new 32-bit RISC architecture invented by andestech.com.

It has a 16-bit/32-bit mixed-length instruction set to achieve optimal
system performance, code density, and power efficiency.

NDS32 also provide N9, N10, N12 different CPU core families for soft-core
and hard-core SoC design.

Macpaul Lin (8):
  nds32: add support of general functions in arch lib
  nds32: add cpu support for nds32 arch
  nds32: add header files support for nds32
  nds32: add header files support for soc ag101
  nds32: add standalone related support for nds32
  nds32: add common support for nds32
  nds32: add board adp-ag101 support
  ftrtc010.c : enhance code according to original datasheet

 MAINTAINERS                                   |   11 +
 MAKEALL                                       |    9 +
 Makefile                                      |   10 +
 arch/nds32/config.mk                          |   34 ++
 arch/nds32/cpu/Makefile                       |   52 ++
 arch/nds32/cpu/cpu.c                          |  197 +++++++
 arch/nds32/cpu/lowlevel_init.S                |  159 +++++
 arch/nds32/cpu/n1213/Makefile                 |   51 ++
 arch/nds32/cpu/n1213/ag101/Makefile           |   50 ++
 arch/nds32/cpu/n1213/ag101/cpu.c              |  197 +++++++
 arch/nds32/cpu/n1213/ag101/ftsmc020.c         |   51 ++
 arch/nds32/cpu/n1213/ag101/timer.c            |  213 +++++++
 arch/nds32/cpu/n1213/lowlevel_init.S          |  159 +++++
 arch/nds32/cpu/n1213/start.S                  |  447 ++++++++++++++
 arch/nds32/cpu/n1213/u-boot.lds               |   68 +++
 arch/nds32/cpu/start.S                        |  447 ++++++++++++++
 arch/nds32/include/asm/andesboot.h            |  242 ++++++++
 arch/nds32/include/asm/arch-ag101/ag101.h     |   44 ++
 arch/nds32/include/asm/arch-ag101/chipset.h   |  782 +++++++++++++++++++++++++
 arch/nds32/include/asm/arch-ag101/ftpmu010.h  |  146 +++++
 arch/nds32/include/asm/arch-ag101/ftsdmc020.h |  103 ++++
 arch/nds32/include/asm/arch-ag101/ftsmc020.h  |   79 +++
 arch/nds32/include/asm/arch-ag101/fttmr010.h  |   73 +++
 arch/nds32/include/asm/bitops.h               |  150 +++++
 arch/nds32/include/asm/byteorder.h            |   36 ++
 arch/nds32/include/asm/config.h               |   26 +
 arch/nds32/include/asm/global_data.h          |   76 +++
 arch/nds32/include/asm/io.h                   |  348 +++++++++++
 arch/nds32/include/asm/mach-types.h           |   29 +
 arch/nds32/include/asm/memory.h               |   19 +
 arch/nds32/include/asm/posix_types.h          |   84 +++
 arch/nds32/include/asm/processor.h            |   25 +
 arch/nds32/include/asm/ptrace.h               |   22 +
 arch/nds32/include/asm/ptregs.h               |   82 +++
 arch/nds32/include/asm/setup.h                |  272 +++++++++
 arch/nds32/include/asm/string.h               |   57 ++
 arch/nds32/include/asm/types.h                |   67 +++
 arch/nds32/include/asm/u-boot-nds32.h         |   76 +++
 arch/nds32/include/asm/u-boot.h               |   69 +++
 arch/nds32/include/asm/unaligned.h            |   31 +
 arch/nds32/lib/Makefile                       |   52 ++
 arch/nds32/lib/board.c                        |  452 ++++++++++++++
 arch/nds32/lib/bootm.c                        |  240 ++++++++
 arch/nds32/lib/interrupts.c                   |  126 ++++
 board/AndesTech/adp-ag101/Makefile            |   51 ++
 board/AndesTech/adp-ag101/adp-ag101.c         |   77 +++
 board/AndesTech/adp-ag101/config.mk           |   42 ++
 common/cmd_bdinfo.c                           |   26 +
 common/cmd_bootm.c                            |    2 +
 common/image.c                                |    1 +
 drivers/rtc/ftrtc010.c                        |   11 +
 examples/standalone/nds32.lds                 |   64 ++
 examples/standalone/stubs.c                   |   17 +-
 examples/standalone/x86-testapp.c             |   12 +
 include/common.h                              |   13 +
 include/configs/adp-ag101.h                   |  319 ++++++++++
 include/image.h                               |    5 +
 include/nds32_common.h                        |  203 +++++++
 58 files changed, 6806 insertions(+), 1 deletions(-)
 create mode 100644 arch/nds32/config.mk
 create mode 100644 arch/nds32/cpu/Makefile
 create mode 100644 arch/nds32/cpu/cpu.c
 create mode 100644 arch/nds32/cpu/lowlevel_init.S
 create mode 100644 arch/nds32/cpu/n1213/Makefile
 create mode 100644 arch/nds32/cpu/n1213/ag101/Makefile
 create mode 100644 arch/nds32/cpu/n1213/ag101/cpu.c
 create mode 100644 arch/nds32/cpu/n1213/ag101/ftsmc020.c
 create mode 100644 arch/nds32/cpu/n1213/ag101/timer.c
 create mode 100644 arch/nds32/cpu/n1213/lowlevel_init.S
 create mode 100644 arch/nds32/cpu/n1213/start.S
 create mode 100644 arch/nds32/cpu/n1213/u-boot.lds
 create mode 100644 arch/nds32/cpu/start.S
 create mode 100644 arch/nds32/include/asm/andesboot.h
 create mode 100644 arch/nds32/include/asm/arch-ag101/ag101.h
 create mode 100644 arch/nds32/include/asm/arch-ag101/chipset.h
 create mode 100644 arch/nds32/include/asm/arch-ag101/ftpmu010.h
 create mode 100644 arch/nds32/include/asm/arch-ag101/ftsdmc020.h
 create mode 100644 arch/nds32/include/asm/arch-ag101/ftsmc020.h
 create mode 100644 arch/nds32/include/asm/arch-ag101/fttmr010.h
 create mode 100644 arch/nds32/include/asm/bitops.h
 create mode 100644 arch/nds32/include/asm/byteorder.h
 create mode 100644 arch/nds32/include/asm/config.h
 create mode 100644 arch/nds32/include/asm/global_data.h
 create mode 100644 arch/nds32/include/asm/io.h
 create mode 100644 arch/nds32/include/asm/mach-types.h
 create mode 100644 arch/nds32/include/asm/memory.h
 create mode 100644 arch/nds32/include/asm/posix_types.h
 create mode 100644 arch/nds32/include/asm/processor.h
 create mode 100644 arch/nds32/include/asm/ptrace.h
 create mode 100644 arch/nds32/include/asm/ptregs.h
 create mode 100644 arch/nds32/include/asm/setup.h
 create mode 100644 arch/nds32/include/asm/string.h
 create mode 100644 arch/nds32/include/asm/types.h
 create mode 100644 arch/nds32/include/asm/u-boot-nds32.h
 create mode 100644 arch/nds32/include/asm/u-boot.h
 create mode 100644 arch/nds32/include/asm/unaligned.h
 create mode 100644 arch/nds32/lib/Makefile
 create mode 100644 arch/nds32/lib/board.c
 create mode 100644 arch/nds32/lib/bootm.c
 create mode 100644 arch/nds32/lib/interrupts.c
 create mode 100644 board/AndesTech/adp-ag101/Makefile
 create mode 100644 board/AndesTech/adp-ag101/adp-ag101.c
 create mode 100644 board/AndesTech/adp-ag101/config.mk
 create mode 100644 examples/standalone/nds32.lds
 create mode 100644 include/configs/adp-ag101.h
 create mode 100644 include/nds32_common.h



More information about the U-Boot mailing list