public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 00/28] u-boot next: a generic approach for nios2 arch
@ 2010-03-19  7:43 Thomas Chou
  2010-03-19  7:43 ` [U-Boot] [PATCH 01/28] nios2: add nios2-generic board Thomas Chou
  2010-03-19 14:41 ` [U-Boot] [PATCH 00/28] u-boot next: a generic approach for nios2 arch Thomas Chou
  0 siblings, 2 replies; 40+ messages in thread
From: Thomas Chou @ 2010-03-19  7:43 UTC (permalink / raw)
  To: u-boot

These patches are for next u-boot release. I udnerstand the merge window is
not opened yet. But there are quite a few things to review, so please
allow me submit them early.

This is a generic approach to port u-boot for nios2 boards. We try to ease
the porting of a new nios2 design. We will rely on tools generated header
file which contains the devices base address, instead of entering the hex
numbers by hand.

Thomas Chou (28):
  nios2: add nios2-generic board
  cfi flash: add status polling method for amd flash
  serial: move altera uart driver to drivers/serial
  serial: move altera jtaguart driver to drivers/serial
  serial: move yanu driver to drivers/serial
  spi: add altera spi controller support
  net: add opencore 10/100 ethernet mac support
  net: add altera triple speeds ethernet mac support
  nios2: change asm-nios2/io.h to compatible with nios2 linux
  nios2: add asm-nios2/errno.h
  nios2: add local_irq_enable/disable to asm-nios2/system.h
  nios2: use bitops from linux-2.6 asm-generic
  nios2: fix __fswab64 link error with asm-nios2/byteorder.h
  nios2: add dma_alloc_coherent with asm-nios2/dma-mapping.h
  nios2: add gpio support with asm-nios2/gpio.h
  nios2: move timer handler from interrupt.c to timer.c
  nios2: define text_base in start.S for linker script
  nios2: pass command line and initrd to linux
  nios2: board init for eth, no flash, nand and mmc
  nios2: fix writel in board/altera/common/epled.c
  nios2: add cf ide init and reset handler
  nios2: add gpio led driver
  nios2: convert ep1c20 board to use cfi flash and spi flash
  nios2: convert ep1s10 board to use cfi flash
  nios2: convert ep1s40 board to use cfi flash
  nios2: convert pci5441 board to use cfi flash
  nios2: convert pk1c20 board to use cfi flash and spi flash
  nios2: add struct stat support in linux/stat.h

 MAINTAINERS                                |    1 +
 MAKEALL                                    |    1 +
 Makefile                                   |    3 +
 board/altera/common/cfide.c                |   79 +++
 board/altera/common/epled.c                |   12 +-
 board/altera/common/gpioled.c              |   31 +
 board/altera/ep1c20/Makefile               |    2 +-
 board/altera/ep1c20/config.mk              |    2 +-
 board/altera/ep1c20/u-boot.lds             |    1 +
 board/altera/ep1s10/Makefile               |    2 +-
 board/altera/ep1s10/config.mk              |    2 +-
 board/altera/ep1s10/u-boot.lds             |    1 +
 board/altera/ep1s40/Makefile               |    2 +-
 board/altera/ep1s40/config.mk              |    2 +-
 board/altera/ep1s40/u-boot.lds             |    1 +
 board/altera/nios2-generic/Makefile        |   57 ++
 board/altera/nios2-generic/config.mk       |   32 +
 board/altera/nios2-generic/custom_fpga.h   |  757 ++++++++++++++++++++++
 board/altera/nios2-generic/nios2-generic.c |   67 ++
 board/altera/nios2-generic/u-boot.lds      |  136 ++++
 board/psyent/pci5441/Makefile              |    2 +-
 board/psyent/pci5441/config.mk             |    2 +-
 board/psyent/pci5441/u-boot.lds            |    1 +
 board/psyent/pk1c20/Makefile               |    2 +-
 board/psyent/pk1c20/config.mk              |    2 +-
 board/psyent/pk1c20/led.c                  |   12 +-
 board/psyent/pk1c20/u-boot.lds             |    1 +
 cpu/nios2/Makefile                         |    2 +-
 cpu/nios2/interrupts.c                     |   64 +--
 cpu/nios2/start.S                          |    6 +
 cpu/nios2/timer.c                          |   98 +++
 drivers/mtd/cfi_flash.c                    |   94 +++-
 drivers/net/Makefile                       |    2 +
 drivers/net/altera_tse.c                   |  969 ++++++++++++++++++++++++++++
 drivers/net/altera_tse.h                   |  500 ++++++++++++++
 drivers/net/ethoc.c                        |  536 +++++++++++++++
 drivers/serial/Makefile                    |    3 +
 drivers/serial/altera_jtaguart.c           |  107 +++
 drivers/serial/altera_uart.c               |  116 ++++
 drivers/serial/yanu.c                      |  187 ++++++
 drivers/serial/yanu.h                      |  120 ++++
 drivers/spi/Makefile                       |    1 +
 drivers/spi/altera_spi.c                   |  103 +++
 include/asm-nios2/bitops.h                 |   14 +-
 include/asm-nios2/bitops/atomic.h          |  189 ++++++
 include/asm-nios2/bitops/ffs.h             |   41 ++
 include/asm-nios2/bitops/non-atomic.h      |  108 +++
 include/asm-nios2/byteorder.h              |    5 +
 include/asm-nios2/dma-mapping.h            |   14 +
 include/asm-nios2/errno.h                  |    1 +
 include/asm-nios2/gpio.h                   |   72 ++
 include/asm-nios2/io.h                     |   59 +-
 include/asm-nios2/system.h                 |   33 +
 include/configs/EP1C20.h                   |   60 ++-
 include/configs/EP1S10.h                   |   58 +-
 include/configs/EP1S40.h                   |   54 +-
 include/configs/PCI5441.h                  |   44 +-
 include/configs/PK1C20.h                   |   68 ++-
 include/configs/nios2-generic.h            |  360 +++++++++++
 include/linux/stat.h                       |    2 +-
 lib_nios2/board.c                          |   33 +
 lib_nios2/bootm.c                          |   19 +-
 62 files changed, 5110 insertions(+), 245 deletions(-)
 create mode 100644 board/altera/common/cfide.c
 create mode 100644 board/altera/common/gpioled.c
 create mode 100644 board/altera/nios2-generic/Makefile
 create mode 100644 board/altera/nios2-generic/config.mk
 create mode 100644 board/altera/nios2-generic/custom_fpga.h
 create mode 100644 board/altera/nios2-generic/nios2-generic.c
 create mode 100644 board/altera/nios2-generic/u-boot.lds
 create mode 100644 cpu/nios2/timer.c
 create mode 100644 drivers/net/altera_tse.c
 create mode 100644 drivers/net/altera_tse.h
 create mode 100644 drivers/net/ethoc.c
 create mode 100644 drivers/serial/altera_jtaguart.c
 create mode 100644 drivers/serial/altera_uart.c
 create mode 100644 drivers/serial/yanu.c
 create mode 100644 drivers/serial/yanu.h
 create mode 100644 drivers/spi/altera_spi.c
 create mode 100644 include/asm-nios2/bitops/atomic.h
 create mode 100644 include/asm-nios2/bitops/ffs.h
 create mode 100644 include/asm-nios2/bitops/non-atomic.h
 create mode 100644 include/asm-nios2/dma-mapping.h
 create mode 100644 include/asm-nios2/errno.h
 create mode 100644 include/asm-nios2/gpio.h
 create mode 100644 include/configs/nios2-generic.h

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

end of thread, other threads:[~2010-04-07 17:23 UTC | newest]

Thread overview: 40+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-19  7:43 [U-Boot] [PATCH 00/28] u-boot next: a generic approach for nios2 arch Thomas Chou
2010-03-19  7:43 ` [U-Boot] [PATCH 01/28] nios2: add nios2-generic board Thomas Chou
2010-03-19  7:43   ` [U-Boot] [PATCH 02/28] cfi flash: add status polling method for amd flash Thomas Chou
2010-03-19  7:43     ` [U-Boot] [PATCH 03/28] serial: move altera uart driver to drivers/serial Thomas Chou
2010-03-19  7:43       ` [U-Boot] [PATCH 04/28] serial: move altera jtaguart " Thomas Chou
2010-03-19  7:43         ` [U-Boot] [PATCH 05/28] serial: move yanu " Thomas Chou
2010-03-19  7:43           ` [U-Boot] [PATCH 06/28] spi: add altera spi controller support Thomas Chou
2010-03-19  7:43             ` [U-Boot] [PATCH 07/28] net: add opencore 10/100 ethernet mac support Thomas Chou
2010-03-19  7:43               ` [U-Boot] [PATCH 08/28] net: add altera triple speeds " Thomas Chou
2010-03-19  7:43                 ` [U-Boot] [PATCH 09/28] nios2: change asm-nios2/io.h to compatible with nios2 linux Thomas Chou
2010-03-19  7:43                   ` [U-Boot] [PATCH 10/28] nios2: add asm-nios2/errno.h Thomas Chou
2010-03-19  7:43                     ` [U-Boot] [PATCH 11/28] nios2: add local_irq_enable/disable to asm-nios2/system.h Thomas Chou
2010-03-19  7:43                       ` [U-Boot] [PATCH 12/28] nios2: use bitops from linux-2.6 asm-generic Thomas Chou
2010-03-19  7:43                         ` [U-Boot] [PATCH 13/28] nios2: fix __fswab64 link error with asm-nios2/byteorder.h Thomas Chou
2010-03-19  7:43                           ` [U-Boot] [PATCH 14/28] nios2: add dma_alloc_coherent with asm-nios2/dma-mapping.h Thomas Chou
2010-03-19  7:43                             ` [U-Boot] [PATCH 15/28] nios2: add gpio support with asm-nios2/gpio.h Thomas Chou
2010-03-19  7:43                               ` [U-Boot] [PATCH 16/28] nios2: move timer handler from interrupt.c to timer.c Thomas Chou
2010-03-19  7:43                                 ` [U-Boot] [PATCH 17/28] nios2: define text_base in start.S for linker script Thomas Chou
2010-03-19  7:43                                   ` [U-Boot] [PATCH 18/28] nios2: pass command line and initrd to linux Thomas Chou
2010-03-19  7:43                                     ` [U-Boot] [PATCH 19/28] nios2: board init for eth, no flash, nand and mmc Thomas Chou
2010-03-19  7:43                                       ` [U-Boot] [PATCH 20/28] nios2: fix writel in board/altera/common/epled.c Thomas Chou
2010-03-19  7:43                                         ` [U-Boot] [PATCH 21/28] nios2: add cf ide init and reset handler Thomas Chou
2010-03-19  7:43                                           ` [U-Boot] [PATCH 22/28] nios2: add gpio led driver Thomas Chou
2010-03-19  7:43                                             ` [U-Boot] [PATCH 23/28] nios2: convert ep1c20 board to use cfi flash and spi flash Thomas Chou
2010-03-19  7:43                                               ` [U-Boot] [PATCH 24/28] nios2: convert ep1s10 board to use cfi flash Thomas Chou
2010-03-19  7:43                                                 ` [U-Boot] [PATCH 25/28] nios2: convert ep1s40 " Thomas Chou
2010-03-19  7:43                                                   ` [U-Boot] [PATCH 26/28] nios2: convert pci5441 " Thomas Chou
2010-03-19  7:43                                                     ` [U-Boot] [PATCH 27/28] nios2: convert pk1c20 board to use cfi flash and spi flash Thomas Chou
2010-03-19  7:43                                                       ` [U-Boot] [PATCH 28/28] nios2: add struct stat support in linux/stat.h Thomas Chou
2010-04-05  5:36   ` [U-Boot] [PATCH 01/28] nios2: add nios2-generic board Ben Warren
2010-04-07  3:19     ` Thomas Chou
2010-04-07 17:23       ` Ben Warren
2010-03-19 14:41 ` [U-Boot] [PATCH 00/28] u-boot next: a generic approach for nios2 arch Thomas Chou
2010-03-19 14:55   ` Peter Tyser
2010-03-19 15:23     ` Thomas Chou
2010-03-19 18:40     ` Wolfgang Denk
2010-03-19 18:56       ` Scott Wood
2010-03-19 19:59         ` Wolfgang Denk
2010-03-19 21:07           ` Peter Tyser
2010-03-21 20:28             ` Wolfgang Denk

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