Philipp Hug has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/30466 )
Change subject: soc/sifive/fu540: add code to initialize flash
......................................................................
Patch Set 10:
(2 comments)
Thanks!
Has this been tested on hw?
https://review.coreboot.org/#/c/30466/10/src/mainboard/sifive/hifive-unleash...
File src/mainboard/sifive/hifive-unleashed/flash.c:
https://review.coreboot.org/#/c/30466/10/src/mainboard/sifive/hifive-unleash...
PS10, Line 30: .command_code = 0x6c
please use a constant for 0x6c.
Is this?
#define SPINOR_OP_READ4_1_1_4 0x6c /* Read data bytes (Quad SPI) */
https://review.coreboot.org/#/c/30466/10/src/mainboard/sifive/hifive-unleash...
PS10, Line 40: 0x66,
same here. please use a constant or add a comment.
--
To view, visit
https://review.coreboot.org/c/coreboot/+/30466
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I8cd803369da5526eff90400c15b91bbf6b477c69
Gerrit-Change-Number: 30466
Gerrit-PatchSet: 10
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: Shawn C
citypw@gmail.com
Gerrit-Reviewer: Xiang Wang
wxjstz@126.com
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-Reviewer: ron minnich
rminnich@gmail.com
Gerrit-Comment-Date: Thu, 24 Jan 2019 11:32:37 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment