[U-Boot] [PATCH 0/6] add gpio_led and altera_spi drivers

Thomas Chou thomas at wytron.com.tw
Fri Apr 30 05:34:12 CEST 2010


This patch series add gpio_led and altera_spi support for the nios2-generic
board, which is based on the Altera EP1C20 board. It enables status LED and
SPI flash access on this board. It includes the outstanding patches to
complete the support.

Best regards,
Thomas

Thomas Chou (6):
  nios2: add gpio support
  misc: add gpio based status led driver
  nios2: add gpio support to nios2-generic board
  spi: add altera spi controller support
  spi_flash: support old STMicro parts with RES
  nios2: add spi flash support to nios2-generic board

 arch/nios2/include/asm/gpio.h            |   52 ++++++++++
 board/altera/nios2-generic/Makefile      |    1 +
 board/altera/nios2-generic/custom_fpga.h |   10 ++
 board/altera/nios2-generic/gpio.c        |   55 ++++++++++
 drivers/misc/Makefile                    |    1 +
 drivers/misc/gpio_led.c                  |   30 ++++++
 drivers/mtd/spi/spi_flash.c              |    1 +
 drivers/mtd/spi/stmicro.c                |   21 ++++
 drivers/spi/Makefile                     |    1 +
 drivers/spi/altera_spi.c                 |  165 ++++++++++++++++++++++++++++++
 include/configs/nios2-generic.h          |    6 +-
 11 files changed, 340 insertions(+), 3 deletions(-)
 create mode 100644 arch/nios2/include/asm/gpio.h
 create mode 100644 board/altera/nios2-generic/gpio.c
 create mode 100644 drivers/misc/gpio_led.c
 create mode 100644 drivers/spi/altera_spi.c



More information about the U-Boot mailing list