Julius Werner has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/27483 )
Change subject: sdm845: Add SPI QUP driver
......................................................................
Patch Set 53:
(2 comments)
Thanks, I think this looks good now, just needs one last fix. After that you could rebase it to the front of the series so we can land it already?
https://review.coreboot.org/#/c/27483/53/src/soc/qualcomm/sdm845/spi_qup.c
File src/soc/qualcomm/sdm845/spi_qup.c:
https://review.coreboot.org/#/c/27483/53/src/soc/qualcomm/sdm845/spi_qup.c@1...
PS53, Line 105: m_cmd = SPI_RX_ONLY;
Since we're only using din/dout to communicate the direction to qup_handle_transfer() now, we need to put an explicit dout = NULL here (and din = NULL in the case below)...
https://review.coreboot.org/#/c/27483/53/src/soc/qualcomm/sdm845/spi_qup.c@1...
PS53, Line 129: dout + size
...otherwise this will screw things up if bytes_in is larger than bytes_out, because it will be non-NULL.
--
To view, visit
https://review.coreboot.org/c/coreboot/+/27483
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I35061727d5ccc550eaeb06caef4524bc4cf25b54
Gerrit-Change-Number: 27483
Gerrit-PatchSet: 53
Gerrit-Owner: T.Michael Turney
tturne@codeaurora.org
Gerrit-Reviewer: Martin Roth
martinroth@google.com
Gerrit-Reviewer: Mukesh Savaliya
msavaliy@qualcomm.corp-partner.google.com
Gerrit-Reviewer: Patrick Georgi
pgeorgi@google.com
Gerrit-Reviewer: Paul Menzel
paulepanter@users.sourceforge.net
Gerrit-Reviewer: T.Michael Turney
tturne@codeaurora.org
Gerrit-Reviewer: Vin Kamath
vink@codeaurora.org
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-Reviewer: mturney mturney
mturney@codeaurora.org
Gerrit-CC: Akash Asthana
akashast@qualcomm.corp-partner.google.com
Gerrit-CC: Julius Werner
jwerner@chromium.org
Gerrit-Comment-Date: Mon, 13 May 2019 22:04:34 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment