[U-Boot] [PATCH v4 14/29] dm: exynos: Convert SPI to driver model

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


On 13 October 2014 23:42, Simon Glass <sjg at chromium.org> wrote:
> Move the exynos SPI driver over to driver model. This removes quite a bit
> of boilerplate from the driver, although it adds some for driver model.
>
> A few device tree additions are needed to make the SPI flash available.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> Reviewed-by: Jagannadha Sutradharudu Teki <jagannadh.teki at gmail.com>
> ---
>
> Changes in v4: None
> Changes in v3:
> - Add implementation/comment for the cs_info() method
> - Use an explicit chip select value instead of reusing device sequence number
>
> Changes in v2:
> - Add additional debug() statements
> - Adjust xfer() method for new API
> - Use 'bus' instead of 'dev' to distinguish bus from slave
>
>  arch/arm/dts/exynos5250-snow.dts      |   8 +
>  arch/arm/dts/exynos5420-peach-pit.dts |   1 +
>  board/samsung/common/board.c          |   3 -
>  drivers/spi/exynos_spi.c              | 513 ++++++++++++----------------------
>  include/configs/exynos-common.h       |   1 +
>  5 files changed, 190 insertions(+), 336 deletions(-)

Applied to u-boot-dm/master.


More information about the U-Boot mailing list