diff options
author | Julius Werner <jwerner@chromium.org> | 2019-06-06 17:09:58 -0700 |
---|---|---|
committer | Julius Werner <jwerner@chromium.org> | 2019-06-10 18:02:50 +0000 |
commit | 127a55e91d46623f700ba39f2679e3606ed0b2fb (patch) | |
tree | f2b021a67bdc1e411fb40a5abecc0ddf763bee2d /src/soc/qualcomm/sdm845/spi.c | |
parent | 99e45ceb35ff9a4c48e516e6d005ebfae54b6591 (diff) | |
download | coreboot-127a55e91d46623f700ba39f2679e3606ed0b2fb.tar.xz |
sdm845: qspi: Add Dual SPI support
This patch adds support for the Dual SPI feature (SDR 2-bit in Qualcomm
terminology) to the QSPI controller.
Change-Id: I7aed2ccd9627f5de5dd760b418f74d56d2c031d3
Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/33284
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/qualcomm/sdm845/spi.c')
-rw-r--r-- | src/soc/qualcomm/sdm845/spi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/soc/qualcomm/sdm845/spi.c b/src/soc/qualcomm/sdm845/spi.c index e276e1d214..27aafa7b72 100644 --- a/src/soc/qualcomm/sdm845/spi.c +++ b/src/soc/qualcomm/sdm845/spi.c @@ -21,6 +21,7 @@ static const struct spi_ctrlr spi_ctrlr = { .claim_bus = sdm845_claim_bus, .release_bus = sdm845_release_bus, .xfer = sdm845_xfer, + .xfer_dual = sdm845_xfer_dual, .max_xfer_size = QSPI_MAX_PACKET_COUNT, }; |