[PATCH 1/2] drivers: spi: Add commands for Micron SPI
Jagan Teki
jagan at amarulasolutions.com
Fri Apr 3 16:33:19 CEST 2020
On Sat, Nov 23, 2019 at 4:39 AM Vladimir Olovyannikov
<vladimir.olovyannikov at broadcom.com> wrote:
>
> Add commands for dual and quad SPI transfers on Micon SPI.
>
> Signed-off-by: Corneliu Doban <corneliu.doban at broadcom.com>
> Signed-off-by: Vladimir Olovyannikov <vladimir.olovyannikov at broadcom.com>
> ---
> include/spi.h | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/include/spi.h b/include/spi.h
> index 6fbb4336ce..ae36835e95 100644
> --- a/include/spi.h
> +++ b/include/spi.h
> @@ -30,6 +30,10 @@
> #define SPI_RX_SLOW BIT(11) /* receive with 1 wire slow */
> #define SPI_RX_DUAL BIT(12) /* receive with 2 wires */
> #define SPI_RX_QUAD BIT(13) /* receive with 4 wires */
> +#define SPI_RX_4X BIT(14) /*
> + * addr on 1 wire
> + * data on 4 wires
> + */
Not sure why flash commands will be supporting on the spi side?
Jagan.
More information about the U-Boot
mailing list