[U-Boot] [PATCH 2/4] spi: cadence_quadspi: Enable QUAD mode based on DT data

Marek Vasut marex at denx.de
Wed Apr 13 15:58:03 CEST 2016


On 04/13/2016 12:52 PM, Vignesh R wrote:
> Instead of relying on CONFIG_SPI_FLASH_QUAD to be defined to enable QUAD
> mode, make use of mode_rx field of dm_spi_slave_platdata to determine
> whether to enable or disable QUAD mode. This is necessary to support
> muliple SPI controllers where one of them may not support QUAD mode.
> 
> Signed-off-by: Vignesh R <vigneshr at ti.com>
> ---
>  drivers/spi/cadence_qspi.c     |  3 ++-
>  drivers/spi/cadence_qspi.h     |  2 +-
>  drivers/spi/cadence_qspi_apb.c | 10 +++++-----
>  3 files changed, 8 insertions(+), 7 deletions(-)

On SoCFPGA SoCkit:
Tested-by: Marek Vasut <marex at denx.de>
Acked-by: Marek Vasut <marex at denx.de>

Best regards,
Marek Vasut


More information about the U-Boot mailing list