summaryrefslogtreecommitdiffstats
path: root/include/spi.h
diff options
context:
space:
mode:
authorJagan Teki <jteki@openedev.com>2015-12-16 14:53:59 +0530
committerJagan Teki <jteki@openedev.com>2016-01-13 18:47:26 +0530
commit4dd12454dc5abd615541ceb20586a2f0564fcb83 (patch)
tree88968d4efa9f92b3f28cc0089f7e02c90700dd7d /include/spi.h
parentd9a0ab6c0dc318750ce5d389bf9268e31fd8af60 (diff)
downloadtalos-obmc-uboot-4dd12454dc5abd615541ceb20586a2f0564fcb83.tar.gz
talos-obmc-uboot-4dd12454dc5abd615541ceb20586a2f0564fcb83.zip
spi: Remove SPI_OPM_RX_EXTN
SPI_OPM_RX_EXTN is a combination of all rx opmode's and spi driver shall use any one of the rx mode at a time not the combination and it is true in case of flash where spi_flash_table mention combination of supported read opmodes so-that the required one will pick based on the rx mode from spi driver. Cc: Simon Glass <sjg@chromium.org> Cc: Michal Simek <michal.simek@xilinx.com> Cc: Siva Durga Prasad Paladugu <sivadur@xilinx.com> Tested-by: Mugunthan V N <mugunthanvnm@ti.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Jagan Teki <jteki@openedev.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Jagan Teki <jteki@openedev.com>
Diffstat (limited to 'include/spi.h')
-rw-r--r--include/spi.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/spi.h b/include/spi.h
index b9a6e6fb4f..bf2ed28c64 100644
--- a/include/spi.h
+++ b/include/spi.h
@@ -41,9 +41,6 @@
#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)
/* SPI bus connection options - see enum spi_dual_flash */
#define SPI_CONN_DUAL_SHARED (1 << 0)
OpenPOWER on IntegriCloud