Patchwork [U-Boot] SPI Changes

login
register
mail settings
Submitter Simon Glass
Date March 19, 2013, 7 p.m.
Message ID <CAPnjgZ28qez3rUhXkDJwpy+da92J8gT8HP5SDu3sewFzOahuhQ@mail.gmail.com>
Download mbox
Permalink /patch/229178/
State Accepted, archived
Delegated to: Tom Rini
Headers show

Pull-request

git://git.denx.de/u-boot-x86.git spi

Comments

Simon Glass - March 19, 2013, 7 p.m.
Hi Tom,

Re the SPI changes, I have put these in a patchwork bundle here:

http://patchwork.ozlabs.org/bundle/sjg/spi/


Also below is a pull request with the same FYI. I have run it through
the builder and see no regressions.

Regards,
Simon


The following changes since commit 0ce033d2582129243aca10d3072a221386bbba44:

  Merge branch 'master' of git://git.denx.de/u-boot-arm (2013-03-18
14:37:18 -0400)

are available in the git repository at:


  git://git.denx.de/u-boot-x86.git spi

for you to fetch changes up to 1e7133e99e27c4f02998e7eb87fa43424d48152b:

  sf: Use unsigned type for buffers (2013-03-19 08:45:38 -0700)

----------------------------------------------------------------
Simon Glass (15):
      fdt: Add fdtdec_get_addr_size() to read reg properties
      spi: Add function to allocate a new SPI slave
      spi: Use spi_alloc_slave() in each SPI driver
      sf: Add spi_flash_alloc() to create a new SPI flash struct
      sf: Use spi_flash_alloc() in each SPI flash driver
      x86: spi: Add Intel ICH driver
      spi: Add parameter for maximum write size
      sf: Respect maximum SPI write size
      x86: spi: Set maximum write size for ICH
      sf: Enable FDT-based configuration and memory mapping
      x86: Move PCI init before SPI init
      x86: Add FDT SPI node for link
      x86: Enable SPI flash support for coreboot
      x86: Enable time command for coreboot
      sf: Use unsigned type for buffers

 arch/x86/lib/board.c              |   8 +-
 board/chromebook-x86/dts/link.dts |  11 +
 common/cmd_sf.c                   |   8 +-
 drivers/mtd/spi/atmel.c           |   8 +-
 drivers/mtd/spi/eon.c             |   8 +-
 drivers/mtd/spi/macronix.c        |   8 +-
 drivers/mtd/spi/ramtron.c         |   4 +-
 drivers/mtd/spi/spansion.c        |   8 +-
 drivers/mtd/spi/spi_flash.c       |  81 ++++-
 drivers/mtd/spi/sst.c             |   8 +-
 drivers/mtd/spi/stmicro.c         |   8 +-
 drivers/mtd/spi/winbond.c         |   8 +-
 drivers/spi/Makefile              |   4 +
 drivers/spi/altera_spi.c          |   4 +-
 drivers/spi/andes_spi.c           |   4 +-
 drivers/spi/armada100_spi.c       |   4 +-
 drivers/spi/atmel_spi.c           |   4 +-
 drivers/spi/bfin_spi.c            |   4 +-
 drivers/spi/bfin_spi6xx.c         |   4 +-
 drivers/spi/cf_qspi.c             |   4 +-
 drivers/spi/cf_spi.c              |   4 +-
 drivers/spi/davinci_spi.c         |   4 +-
 drivers/spi/exynos_spi.c          |   4 +-
 drivers/spi/fsl_espi.c            |   4 +-
 drivers/spi/ich.c                 | 754
++++++++++++++++++++++++++++++++++++++++++++
 drivers/spi/ich.h                 | 143 +++++++++
 drivers/spi/kirkwood_spi.c        |   5 +-
 drivers/spi/mpc52xx_spi.c         |   5 +-
 drivers/spi/mpc8xxx_spi.c         |   5 +-
 drivers/spi/mxc_spi.c             |   4 +-
 drivers/spi/mxs_spi.c             |   4 +-
 drivers/spi/oc_tiny_spi.c         |   5 +-
 drivers/spi/omap3_spi.c           |  27 +-
 drivers/spi/sh_spi.c              |   4 +-
 drivers/spi/soft_spi.c            |   4 +-
 drivers/spi/spi.c                 |  39 +++
 drivers/spi/tegra_slink.c         |   4 +-
 drivers/spi/tegra_spi.c           |   4 +-
 drivers/spi/xilinx_spi.c          |   4 +-
 include/configs/coreboot.h        |  14 +-
 include/fdtdec.h                  |  16 +
 include/spi.h                     |  44 +++
 include/spi_flash.h               |  39 +++
 lib/fdtdec.c                      |  28 +-
 44 files changed, 1213 insertions(+), 155 deletions(-)
 create mode 100644 drivers/spi/ich.c
 create mode 100644 drivers/spi/ich.h
 create mode 100644 drivers/spi/spi.c
Tom Rini - March 20, 2013, 6:53 p.m.
On Tue, Mar 19, 2013 at 12:00:22PM -0700, Simon Glass wrote:

> Hi Tom,
> 
> Re the SPI changes, I have put these in a patchwork bundle here:
> 
> http://patchwork.ozlabs.org/bundle/sjg/spi/
> 
> 
> Also below is a pull request with the same FYI. I have run it through
> the builder and see no regressions.
> 
> Regards,
> Simon
> 
> 
> The following changes since commit 0ce033d2582129243aca10d3072a221386bbba44:
> 
>   Merge branch 'master' of git://git.denx.de/u-boot-arm (2013-03-18
> 14:37:18 -0400)
> 
> are available in the git repository at:
> 
> 
>   git://git.denx.de/u-boot-x86.git spi
> 
> for you to fetch changes up to 1e7133e99e27c4f02998e7eb87fa43424d48152b:
> 
>   sf: Use unsigned type for buffers (2013-03-19 08:45:38 -0700)
> 
> ----------------------------------------------------------------
> Simon Glass (15):
>       fdt: Add fdtdec_get_addr_size() to read reg properties
>       spi: Add function to allocate a new SPI slave
>       spi: Use spi_alloc_slave() in each SPI driver
>       sf: Add spi_flash_alloc() to create a new SPI flash struct
>       sf: Use spi_flash_alloc() in each SPI flash driver
>       x86: spi: Add Intel ICH driver
>       spi: Add parameter for maximum write size
>       sf: Respect maximum SPI write size
>       x86: spi: Set maximum write size for ICH
>       sf: Enable FDT-based configuration and memory mapping
>       x86: Move PCI init before SPI init
>       x86: Add FDT SPI node for link
>       x86: Enable SPI flash support for coreboot
>       x86: Enable time command for coreboot
>       sf: Use unsigned type for buffers
> 
>  arch/x86/lib/board.c              |   8 +-
>  board/chromebook-x86/dts/link.dts |  11 +
>  common/cmd_sf.c                   |   8 +-
>  drivers/mtd/spi/atmel.c           |   8 +-
>  drivers/mtd/spi/eon.c             |   8 +-
>  drivers/mtd/spi/macronix.c        |   8 +-
>  drivers/mtd/spi/ramtron.c         |   4 +-
>  drivers/mtd/spi/spansion.c        |   8 +-
>  drivers/mtd/spi/spi_flash.c       |  81 ++++-
>  drivers/mtd/spi/sst.c             |   8 +-
>  drivers/mtd/spi/stmicro.c         |   8 +-
>  drivers/mtd/spi/winbond.c         |   8 +-
>  drivers/spi/Makefile              |   4 +
>  drivers/spi/altera_spi.c          |   4 +-
>  drivers/spi/andes_spi.c           |   4 +-
>  drivers/spi/armada100_spi.c       |   4 +-
>  drivers/spi/atmel_spi.c           |   4 +-
>  drivers/spi/bfin_spi.c            |   4 +-
>  drivers/spi/bfin_spi6xx.c         |   4 +-
>  drivers/spi/cf_qspi.c             |   4 +-
>  drivers/spi/cf_spi.c              |   4 +-
>  drivers/spi/davinci_spi.c         |   4 +-
>  drivers/spi/exynos_spi.c          |   4 +-
>  drivers/spi/fsl_espi.c            |   4 +-
>  drivers/spi/ich.c                 | 754
> ++++++++++++++++++++++++++++++++++++++++++++
>  drivers/spi/ich.h                 | 143 +++++++++
>  drivers/spi/kirkwood_spi.c        |   5 +-
>  drivers/spi/mpc52xx_spi.c         |   5 +-
>  drivers/spi/mpc8xxx_spi.c         |   5 +-
>  drivers/spi/mxc_spi.c             |   4 +-
>  drivers/spi/mxs_spi.c             |   4 +-
>  drivers/spi/oc_tiny_spi.c         |   5 +-
>  drivers/spi/omap3_spi.c           |  27 +-
>  drivers/spi/sh_spi.c              |   4 +-
>  drivers/spi/soft_spi.c            |   4 +-
>  drivers/spi/spi.c                 |  39 +++
>  drivers/spi/tegra_slink.c         |   4 +-
>  drivers/spi/tegra_spi.c           |   4 +-
>  drivers/spi/xilinx_spi.c          |   4 +-
>  include/configs/coreboot.h        |  14 +-
>  include/fdtdec.h                  |  16 +
>  include/spi.h                     |  44 +++
>  include/spi_flash.h               |  39 +++
>  lib/fdtdec.c                      |  28 +-
>  44 files changed, 1213 insertions(+), 155 deletions(-)
>  create mode 100644 drivers/spi/ich.c
>  create mode 100644 drivers/spi/ich.h
>  create mode 100644 drivers/spi/spi.c

Applied to u-boot/master, thanks!