[U-Boot] [PATCH v4 26/29] dm: tegra: spi: Convert to driver model

Simon Glass sjg at chromium.org
Thu Oct 23 05:05:11 CEST 2014


On 13 October 2014 23:42, Simon Glass <sjg at chromium.org> wrote:
> This converts the Tegra SPI drivers to use driver model. This is tested
> on:
>
> - Tegra20 - trimslice
> - Tegra30 - beaver
> - Tegra124 - dalmore
>
> (not tested on Tegra124)
>
> Reviewed-by: Jagannadha Sutradharudu Teki <jagannadh.teki at gmail.com>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> Changes in v4:
> - Drop the incorrect compulab hunk from this patch
>
> Changes in v3:
> - Add implementation/comment for the cs_info() method
> - Add new patch to convert Tegra SPI to driver model
>
> Changes in v2: None
>
>  arch/arm/include/asm/arch-tegra114/tegra114_spi.h  |  41 ----
>  arch/arm/include/asm/arch-tegra20/tegra20_sflash.h |  41 ----
>  arch/arm/include/asm/arch-tegra20/tegra20_slink.h  |  41 ----
>  board/nvidia/common/board.c                        |   3 +-
>  drivers/spi/Makefile                               |   1 -
>  drivers/spi/fdt_spi.c                              | 186 ---------------
>  drivers/spi/tegra114_spi.c                         | 254 +++++++++++----------
>  drivers/spi/tegra20_sflash.c                       | 238 ++++++++++---------
>  drivers/spi/tegra20_slink.c                        | 235 ++++++++++---------
>  drivers/spi/tegra_spi.h                            |  12 +
>  include/configs/tegra-common-post.h                |   2 +-
>  include/configs/tegra-common.h                     |   2 +
>  12 files changed, 396 insertions(+), 660 deletions(-)
>  delete mode 100644 arch/arm/include/asm/arch-tegra114/tegra114_spi.h
>  delete mode 100644 arch/arm/include/asm/arch-tegra20/tegra20_sflash.h
>  delete mode 100644 arch/arm/include/asm/arch-tegra20/tegra20_slink.h
>  delete mode 100644 drivers/spi/fdt_spi.c
>  create mode 100644 drivers/spi/tegra_spi.h
>

Applied to u-boot-dm/master.


More information about the U-Boot mailing list