Xiang Wang has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/33055 )
Change subject: soc/sifive/fu540: add code for spi and map flash to memory spaces
......................................................................
Patch Set 12:
(3 comments)
https://review.coreboot.org/c/coreboot/+/33055/1/src/soc/sifive/fu540/spi.c
File src/soc/sifive/fu540/spi.c:
https://review.coreboot.org/c/coreboot/+/33055/1/src/soc/sifive/fu540/spi.c@...
PS1, Line 68: if (bytesout) {
Corrected.
Done
https://review.coreboot.org/c/coreboot/+/33055/1/src/soc/sifive/fu540/spi.c@...
PS1, Line 103: .xfer = spi_xfer_,
spi_xfer_vector is commonly used for non duplex transfers
Done
https://review.coreboot.org/c/coreboot/+/33055/9/src/soc/sifive/fu540/spi.c
File src/soc/sifive/fu540/spi.c:
https://review.coreboot.org/c/coreboot/+/33055/9/src/soc/sifive/fu540/spi.c@...
PS9, Line 56: static uint8_t spi_rx(volatile struct spi_ctrl *spictrl)
Ah yes, that makes totally sense. Thanks for explaining.
Done
--
To view, visit
https://review.coreboot.org/c/coreboot/+/33055
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I106688c65ac7dd70be7479dc4691797b700682d9
Gerrit-Change-Number: 33055
Gerrit-PatchSet: 12
Gerrit-Owner: Xiang Wang
wxjstz@126.com
Gerrit-Reviewer: Jonathan Neuschäfer
j.neuschaefer@gmx.net
Gerrit-Reviewer: Martin Roth
martinroth@google.com
Gerrit-Reviewer: Patrick Georgi
pgeorgi@google.com
Gerrit-Reviewer: Philipp Hug
philipp@hug.cx
Gerrit-Reviewer: Xiang Wang
wxjstz@126.com
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-Reviewer: ron minnich
rminnich@gmail.com
Gerrit-CC: Patrick Rudolph
patrick.rudolph@9elements.com
Gerrit-CC: Paul Menzel
paulepanter@users.sourceforge.net
Gerrit-Comment-Date: Thu, 04 Jul 2019 07:44:32 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Patrick Rudolph
patrick.rudolph@9elements.com
Comment-In-Reply-To: Xiang Wang
wxjstz@126.com
Gerrit-MessageType: comment