From: Jagan Teki Date: Wed, 16 Dec 2015 09:23:59 +0000 (+0530) Subject: spi: Remove SPI_OPM_RX_EXTN X-Git-Tag: KARO-TXSD-2017-03-15~2351 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=4dd12454dc5abd615541ceb20586a2f0564fcb83;p=karo-tx-uboot.git 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 Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Tested-by: Mugunthan V N Tested-by: Bin Meng Tested-by: Jagan Teki Reviewed-by: Bin Meng Signed-off-by: Jagan Teki --- 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)