]> git.dujemihanovic.xyz Git - u-boot.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)
commit1d70101aa2a489529847231c741dff4f235cfeaa
treea90c1d7a9677bb946a1c94e8d8dbe8f78798dcd5
parent55c0144bd30dbbb9a3b1cb6987040022756368f2
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