From patchwork Mon May 4 06:56:52 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rayagonda Kokatanur X-Patchwork-Id: 244958 List-Id: U-Boot discussion From: rayagonda.kokatanur at broadcom.com (Rayagonda Kokatanur) Date: Mon, 4 May 2020 12:26:52 +0530 Subject: [PATCH v1 2/2] drivers: spi: add commands for micron SPI In-Reply-To: <20200504065652.11551-1-rayagonda.kokatanur@broadcom.com> References: <20200504065652.11551-1-rayagonda.kokatanur@broadcom.com> Message-ID: <20200504065652.11551-3-rayagonda.kokatanur@broadcom.com> Add commands for dual and quad SPI transfers on Micon SPI. Signed-off-by: Rayagonda Kokatanur --- include/spi.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/spi.h b/include/spi.h index 2b4929fc79..491f1f805c 100644 --- a/include/spi.h +++ b/include/spi.h @@ -150,6 +150,8 @@ struct spi_slave { #define SPI_XFER_ONCE (SPI_XFER_BEGIN | SPI_XFER_END) #define SPI_XFER_MMAP BIT(2) /* Memory Mapped start */ #define SPI_XFER_MMAP_END BIT(3) /* Memory Mapped End */ +#define SPI_XFER_DUAL BIT(30) +#define SPI_XFER_QUAD BIT(31) }; /**