Alex Thiessen has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/31349 )
Change subject: lib/bootblock: Sanitize CMOS after bootblock_*_early_init()
......................................................................
Patch Set 3: Code-Review+2
With 4.8.1 and 4.9, we run into this issue on APL when _not_ using memory mapping to access the SPI flash _and_ using a CMOS table (with RTC set to the `cmos.default` on every boot).
This patch fixes the issue for us (in the bootblock, at least).
I might be wrong, but in our case `sanitize_cmos()` needs the Fast SPI PCI device to be initialized for accessing `cmos.default` in CBFS. The device isn't initialized until `bootblock_soc_early_init()` is run. Thus, there is an implicit dependency between the two calls.
So, bring it on after maybe adding a code comment / commit message on why this order matters.
--
To view, visit
https://review.coreboot.org/c/coreboot/+/31349
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I6e1a029e4be7e109be43a3dad944bd7e05ea1f02
Gerrit-Change-Number: 31349
Gerrit-PatchSet: 3
Gerrit-Owner: Thomas Heijligen
src@posteo.de
Gerrit-Reviewer: Aaron Durbin
adurbin@chromium.org
Gerrit-Reviewer: Alex Thiessen
alex.thiessen.de+coreboot@gmail.com
Gerrit-Reviewer: Duncan Laurie
dlaurie@chromium.org
Gerrit-Reviewer: Furquan Shaikh
furquan@google.com
Gerrit-Reviewer: Julius Werner
jwerner@chromium.org
Gerrit-Reviewer: Kyösti Mälkki
kyosti.malkki@gmail.com
Gerrit-Reviewer: Nico Huber
nico.h@gmx.de
Gerrit-Reviewer: Paul Menzel
paulepanter@users.sourceforge.net
Gerrit-Reviewer: Subrata Banik
subrata.banik@intel.com
Gerrit-Reviewer: Thomas Heijligen
src@posteo.de
Gerrit-Reviewer: Werner Zeh
werner.zeh@siemens.com
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-CC: Felix Singer
felixsinger@posteo.net
Gerrit-Comment-Date: Tue, 21 May 2019 19:19:51 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment