diff options
author | Johannes Holland <johannes.holland@infineon.com> | 2020-05-11 16:22:26 +0300 |
---|---|---|
committer | Jagan Teki <jagan@amarulasolutions.com> | 2020-07-09 18:28:06 +0300 |
commit | 0e146993bb3da59d2c52515048405444f35f00ec (patch) | |
tree | 297615bf836bef7798649ec1932b225d01eed60b /drivers/mtd | |
parent | f247354708ec93e995cf61901adc6d728762b196 (diff) | |
download | u-boot-0e146993bb3da59d2c52515048405444f35f00ec.tar.xz |
spi: add support for all spi modes with soft spi
The spi bitbanging driver did not implement all spi modes properly. Add
code to support all spi modes, honoring soft_spi_set_mode() and
defaulting to spi mode 0. Previously, CPHA was implemented inversely
(defaulting to CPHA=1) and CPOL=1 was hardcoded.
Signed-off-by: Johannes Holland <johannes.holland@infineon.com>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
Diffstat (limited to 'drivers/mtd')
0 files changed, 0 insertions, 0 deletions