Julius Werner has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/34345 )
Change subject: include/spi-generic: moving common flash timeouts
......................................................................
Patch Set 3:
(1 comment)
https://review.coreboot.org/c/coreboot/+/34345/3/src/include/spi-generic.h
File src/include/spi-generic.h:
https://review.coreboot.org/c/coreboot/+/34345/3/src/include/spi-generic.h@2...
PS3, Line 26: #define SPI_FLASH_SECTOR_ERASE_TIMEOUT (10 * CONF_SYS_HZ)
nit: While we're here, do we maybe want to clean these up a little? Does anyone understand what CONF_SYS_HZ is supposed to be? I don't. Looks like these numbers turn out to be milliseconds, so it's probably clearer to just write 200, 500 and 1000 directly (and ideally rename the constants to end in _MS, or at least put a comment about the unit here).
--
To view, visit
https://review.coreboot.org/c/coreboot/+/34345
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I837f1a027b836996bc42389bdf7dbab7f0e9db09
Gerrit-Change-Number: 34345
Gerrit-PatchSet: 3
Gerrit-Owner: Uwe Poeche
uwe.poeche@siemens.com
Gerrit-Reviewer: David Hendricks
david.hendricks@gmail.com
Gerrit-Reviewer: Furquan Shaikh
furquan@google.com
Gerrit-Reviewer: Julius Werner
jwerner@chromium.org
Gerrit-Reviewer: Nico Huber
nico.h@gmx.de
Gerrit-Reviewer: Uwe Poeche
uwe.poeche@siemens.com
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-CC: Paul Menzel
paulepanter@users.sourceforge.net
Gerrit-CC: Werner Zeh
werner.zeh@siemens.com
Gerrit-Comment-Date: Tue, 16 Jul 2019 19:20:34 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment