[coreboot-gerrit] Change in coreboot[master]: drivers/spi/winbond: Add function to lock flash's status register

build bot (Jenkins) (Code Review) gerrit at coreboot.org
Tue Sep 25 15:03:34 CEST 2018


build bot (Jenkins) has posted comments on this change. ( https://review.coreboot.org/28697 )

Change subject: drivers/spi/winbond: Add function to lock flash's status register
......................................................................


Patch Set 2:

(8 comments)

https://review.coreboot.org/#/c/28697/2/src/drivers/spi/winbond.c
File src/drivers/spi/winbond.c:

https://review.coreboot.org/#/c/28697/2/src/drivers/spi/winbond.c@544
PS2, Line 544: 		        const enum spi_flash_status_reg_lockdown mode,
code indent should use tabs where possible


https://review.coreboot.org/#/c/28697/2/src/drivers/spi/winbond.c@545
PS2, Line 545: 		        const bool non_volatile)
code indent should use tabs where possible


https://review.coreboot.org/#/c/28697/2/src/drivers/spi/winbond.c@559
PS2, Line 559: 		val = (union status_reg1_bp3){ .srp0 = !!(mode & 1) }.u;
space required after that close brace '}'


https://review.coreboot.org/#/c/28697/2/src/drivers/spi/winbond.c@560
PS2, Line 560: 		mask = (union status_reg1_bp3){ .srp0 = 1 }.u;
space required after that close brace '}'


https://review.coreboot.org/#/c/28697/2/src/drivers/spi/winbond.c@562
PS2, Line 562: 		val = (union status_reg1_bp4){ .srp0 = !!(mode & 1) }.u;
space required after that close brace '}'


https://review.coreboot.org/#/c/28697/2/src/drivers/spi/winbond.c@563
PS2, Line 563: 		mask = (union status_reg1_bp4){ .srp0 = 1 }.u;
space required after that close brace '}'


https://review.coreboot.org/#/c/28697/2/src/drivers/spi/winbond.c@570
PS2, Line 570: 	val = (union status_reg2){ .srp1 = !!(mode & 2) }.u;
space required after that close brace '}'


https://review.coreboot.org/#/c/28697/2/src/drivers/spi/winbond.c@571
PS2, Line 571: 	mask = (union status_reg2){ .srp1 = 1 }.u;
space required after that close brace '}'



-- 
To view, visit https://review.coreboot.org/28697
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I90e0fcdcf531b53c0fc1ffcfdb3b5ab522f088f5
Gerrit-Change-Number: 28697
Gerrit-PatchSet: 2
Gerrit-Owner: Patrick Rudolph <patrick.rudolph at 9elements.com>
Gerrit-Reviewer: Aaron Durbin <adurbin at chromium.org>
Gerrit-Reviewer: David Hendricks <david.hendricks at gmail.com>
Gerrit-Reviewer: Julius Werner <jwerner at chromium.org>
Gerrit-Reviewer: Patrick Rudolph <patrick.rudolph at 9elements.com>
Gerrit-Reviewer: Philipp Deppenwiese <zaolin.daisuki at gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply at coreboot.org>
Gerrit-Comment-Date: Tue, 25 Sep 2018 13:03:34 +0000
Gerrit-HasComments: Yes
Gerrit-HasLabels: No
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180925/02585839/attachment.html>


More information about the coreboot-gerrit mailing list