From patchwork Sun May 17 07:24:12 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rayagonda Kokatanur X-Patchwork-Id: 245880 List-Id: U-Boot discussion From: rayagonda.kokatanur at broadcom.com (Rayagonda Kokatanur) Date: Sun, 17 May 2020 12:54:12 +0530 Subject: [PATCH v2 2/2] drivers: spi: add commands for micron SPI In-Reply-To: <20200517072412.19416-1-rayagonda.kokatanur@broadcom.com> References: <20200517072412.19416-1-rayagonda.kokatanur@broadcom.com> Message-ID: <20200517072412.19416-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) }; /**