Re: [U-Boot] [PATCH v4 09/29] dm: spi: Adjust cmd_spi to work with driver model

2014-10-22 Thread Simon Glass
On 13 October 2014 23:41, Simon Glass wrote: > Driver model uses a different way to find the SPI bus and slave from the > numbered devices given on the command line. Adjust the code to suit. > > We use a generic SPI device, and attach it to the SPI bus before performing > the transaction. > > Sign

[U-Boot] [PATCH v4 09/29] dm: spi: Adjust cmd_spi to work with driver model

2014-10-13 Thread Simon Glass
Driver model uses a different way to find the SPI bus and slave from the numbered devices given on the command line. Adjust the code to suit. We use a generic SPI device, and attach it to the SPI bus before performing the transaction. Signed-off-by: Simon Glass Reviewed-by: Jagannadha Sutradharu