]> git.baikalelectronics.ru Git - uboot.git/commit
spi: synquacer: remove SPI_TX_BYTE handling
authorMasahisa Kojima <masahisa.kojima@linaro.org>
Wed, 24 May 2023 07:32:46 +0000 (16:32 +0900)
committerJagan Teki <jagan@edgeble.ai>
Thu, 13 Jul 2023 08:29:57 +0000 (13:59 +0530)
commit6b9be5e8645c78c474c0e60bde1d24c5a38cdb67
treea90c1d7a9677bb946a1c94e8d8dbe8f78798dcd5
parent8c8be471baa90d32d4ca2425d55e4c77a0bf5fe4
spi: synquacer: remove SPI_TX_BYTE handling

Current code expects that SPI_TX_BYTE is single bit mode
but it is wrong. It indicates byte program mode,
not single bit mode.

If SPI_TX_DUAL, SPI_TX_QUAD and SPI_TX_OCTAL bits are not set,
the default transfer bus width is single bit.

Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
drivers/spi/spi-synquacer.c