]> git.dujemihanovic.xyz Git - u-boot.git/commit
spi: cadence_qspi: Call read_setup for STIG_READ
authorAshok Reddy Soma <ashok.reddy.soma@xilinx.com>
Wed, 24 Aug 2022 11:38:46 +0000 (05:38 -0600)
committerMichal Simek <michal.simek@amd.com>
Tue, 13 Sep 2022 09:32:48 +0000 (11:32 +0200)
commitd0003b5edf11b0fc2a050e2a0eaac39ba921d85e
tree2cfbc2842bce9ce245042039af25613393bdd5a1
parent68852f3241af7d2f3e7cf85fbcd2268fd8c22b1e
spi: cadence_qspi: Call read_setup for STIG_READ

In cadence_spi_read_id we are using STIG mode to read flash id's.
Call cadence_qspi_apb_command_read_setup() to setup cmd, addr and data
bus width properly before cadence_qspi_apb_command_read().

Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com>
Link: https://lore.kernel.org/r/20220824113847.7482-3-ashok.reddy.soma@xilinx.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
drivers/spi/cadence_qspi.c