diff options
author | Vignesh R <vigneshr@ti.com> | 2016-07-06 04:50:56 (GMT) |
---|---|---|
committer | Jagan Teki <jteki@openedev.com> | 2016-07-09 14:46:33 (GMT) |
commit | 2372e14f1937fceea54d698342e5a4240b58a893 (patch) | |
tree | ff5362dd329b3f2e970bc77368641fd9a9f49fde /disk | |
parent | dac3bf20fb2c9b03476be0d73db620f62ab3cee1 (diff) | |
download | u-boot-2372e14f1937fceea54d698342e5a4240b58a893.tar.xz |
spi: cadence_quadspi: Enable QUAD mode based on DT data
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@ti.com>
Tested-by: Marek Vasut <marex@denx.de>
Acked-by: Marek Vasut <marex@denx.de>
Reviewed-by: Jagan Teki <jteki@openedev.com>
Diffstat (limited to 'disk')
0 files changed, 0 insertions, 0 deletions