On 13 October 2014 23:42, Simon Glass <s...@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 <s...@chromium.org> > Reviewed-by: Jagannadha Sutradharudu Teki <jagannadh.t...@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. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot