[U-Boot] [PATCH 0/8] tegra2: Implement SPI flash and saved environment

Simon Glass sjg at chromium.org
Thu Oct 20 21:03:21 CEST 2011


Enable SPI flash on the Tegra2 Seaboard along with a saved 8KB environment.
This involves a few pieces:

- Tegra2 SPI driver
- Seaboard config changes
- a SPI / UART switch to handle switching between SPI and console UART

This series applies cleanly on top of Stephen Warren's latest patch series

http://patchwork.ozlabs.org/patch/119325/

and also requires Stephen's GPIO fix.

http://patchwork.ozlabs.org/patch/118184/

Still to come are the NS16550 driver changes to cope with the pins
disappearing from under it. This patch series is under review.

http://patchwork.ozlabs.org/patch/120013/


Simon Glass (7):
  tegra2: Tidy UART selection
  tegra2: Add UARTB support
  tegra2: config: Enable SPI flash on Seaboard
  tegra2: Enable SPI environment on Seaboard
  tegra2: Implement SPI / UART GPIO switch
  tegra2: spi: Support SPI / UART switch
  tegra2: Create SPI/UART switch code

Tom Warren (1):
  tegra2: spi: Add SPI driver for SPIFLASH on Seaboard

 arch/arm/include/asm/arch-tegra2/tegra2_spi.h |   75 +++++++
 board/nvidia/common/Makefile                  |   53 +++++
 board/nvidia/common/board.c                   |   79 ++++++---
 board/nvidia/common/board.h                   |    1 +
 board/nvidia/common/uart-spi-fix.c            |  140 ++++++++++++++
 board/nvidia/seaboard/Makefile                |    1 -
 board/nvidia/seaboard/seaboard.c              |    3 +
 drivers/spi/Makefile                          |    1 +
 drivers/spi/tegra2_spi.c                      |  255 +++++++++++++++++++++++++
 include/configs/harmony.h                     |    3 +
 include/configs/seaboard.h                    |   17 ++
 include/configs/tegra2-common.h               |    3 +-
 include/uart-spi-fix.h                        |   45 +++++
 13 files changed, 650 insertions(+), 26 deletions(-)
 create mode 100644 arch/arm/include/asm/arch-tegra2/tegra2_spi.h
 create mode 100644 board/nvidia/common/Makefile
 create mode 100644 board/nvidia/common/uart-spi-fix.c
 create mode 100644 drivers/spi/tegra2_spi.c
 create mode 100644 include/uart-spi-fix.h

-- 
1.7.3.1



More information about the U-Boot mailing list