Re: [U-Boot] [PATCH] sf: Correct the macros as per new array fast read command

2015-04-17 Thread Jagan Teki
On 11 March 2015 at 14:52, Siva Durga Prasad Paladugu
siva.durga.palad...@xilinx.com wrote:
 Correct the macros as per insertion of array fast read
 command CMD_READ_ARRAY_FAST in spi_read_cmds_array in file
 sf_probe.c

 Signed-off-by: Siva Durga Prasad Paladugu siva...@xilinx.com
 ---
  include/spi.h | 11 ++-
  1 file changed, 6 insertions(+), 5 deletions(-)

 diff --git a/include/spi.h b/include/spi.h
 index c58e453..7829063 100644
 --- a/include/spi.h
 +++ b/include/spi.h
 @@ -38,11 +38,12 @@

  /* SPI RX operation modes */
  #define SPI_OPM_RX_AS  (1  0)
 -#define SPI_OPM_RX_DOUT(1  1)
 -#define SPI_OPM_RX_DIO (1  2)
 -#define SPI_OPM_RX_QOF (1  3)
 -#define SPI_OPM_RX_QIOF(1  4)
 -#define SPI_OPM_RX_EXTN(SPI_OPM_RX_AS | SPI_OPM_RX_DOUT | \
 +#define SPI_OPM_RX_AF  (1  1)
 +#define SPI_OPM_RX_DOUT(1  2)
 +#define SPI_OPM_RX_DIO (1  3)
 +#define SPI_OPM_RX_QOF (1  4)
 +#define SPI_OPM_RX_QIOF(1  5)
 +#define SPI_OPM_RX_EXTN(SPI_OPM_RX_AS | SPI_OPM_RX_AF | 
 SPI_OPM_RX_DOUT | \
 SPI_OPM_RX_DIO | SPI_OPM_RX_QOF | \
 SPI_OPM_RX_QIOF)


Applied to  u-boot-spi/master

thanks!
-- 
Jagan.
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] [PATCH] sf: Correct the macros as per new array fast read command

2015-03-11 Thread Siva Durga Prasad Paladugu
Correct the macros as per insertion of array fast read
command CMD_READ_ARRAY_FAST in spi_read_cmds_array in file
sf_probe.c

Signed-off-by: Siva Durga Prasad Paladugu siva...@xilinx.com
---
 include/spi.h | 11 ++-
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/include/spi.h b/include/spi.h
index c58e453..7829063 100644
--- a/include/spi.h
+++ b/include/spi.h
@@ -38,11 +38,12 @@
 
 /* SPI RX operation modes */
 #define SPI_OPM_RX_AS  (1  0)
-#define SPI_OPM_RX_DOUT(1  1)
-#define SPI_OPM_RX_DIO (1  2)
-#define SPI_OPM_RX_QOF (1  3)
-#define SPI_OPM_RX_QIOF(1  4)
-#define SPI_OPM_RX_EXTN(SPI_OPM_RX_AS | SPI_OPM_RX_DOUT | \
+#define SPI_OPM_RX_AF  (1  1)
+#define SPI_OPM_RX_DOUT(1  2)
+#define SPI_OPM_RX_DIO (1  3)
+#define SPI_OPM_RX_QOF (1  4)
+#define SPI_OPM_RX_QIOF(1  5)
+#define SPI_OPM_RX_EXTN(SPI_OPM_RX_AS | SPI_OPM_RX_AF | 
SPI_OPM_RX_DOUT | \
SPI_OPM_RX_DIO | SPI_OPM_RX_QOF | \
SPI_OPM_RX_QIOF)
 
-- 
2.1.1

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot