[U-Boot] [PATCH] Fix problems in chip select selection in imx23, 28 spi code

2013-08-26 Thread Asok Subramanian
proposed fix reloads the CS bits after the reset. Signed-off-by: Asok Subramanian ---  drivers/spi/mxs_spi.c |    4 +++-  1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/spi/mxs_spi.c b/drivers/spi/mxs_spi.c index 3cf7142..15681dc 100644 --- a/drivers/spi/mxs_spi.c +++ b/drivers

[U-Boot] [PATCH] Add code for spi half duplex operation for enc28j60

2013-08-12 Thread Asok Subramanian
Add code for spi half duplex operation for enc28j60 The current  code assumes full duplex spi operation. But there are processors like imx23 which only permit half duplex operation. This fix does half duplex operation based on the definition of CONFIG_SPI_HALF_DUPLEX Signed-off-by: Asok