Nico Huber has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/32724 )
Change subject: soc/intel/braswell/pmutil.c: Use GEN_PMCON1 for RTC status
......................................................................
Patch Set 1:
(1 comment)
https://review.coreboot.org/#/c/32724/1/src/soc/intel/braswell/pmutil.c
File src/soc/intel/braswell/pmutil.c:
https://review.coreboot.org/#/c/32724/1/src/soc/intel/braswell/pmutil.c@367
PS1, Line 367: gen_pmcon1 = read32((u32 *)(PMC_BASE_ADDRESS + GEN_PMCON1));
rtc_failure() is called by car_soc_post_console_init() and vbnv_cmos_failed(). […]
Hmm, in that case, we could also drop the cbmem_find() as you did and
try to blacklist this function in ramstage. e.g.
#include <assert.h>
/* not usable in ramstage as GEN_PMCON1 gets reset */
if (ENV_RAMSTAGE)
dead_code();
Your call.
--
To view, visit
https://review.coreboot.org/c/coreboot/+/32724
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Id97d57864b3e241e8f046d9b1caebdce199a46b1
Gerrit-Change-Number: 32724
Gerrit-PatchSet: 1
Gerrit-Owner: Frans Hendriks
fhendriks@eltan.com
Gerrit-Reviewer: Frans Hendriks
fhendriks@eltan.com
Gerrit-Reviewer: Matt DeVillier
matt.devillier@gmail.com
Gerrit-Reviewer: Michał Żygowski
michal.zygowski@3mdeb.com
Gerrit-Reviewer: Nico Huber
nico.h@gmx.de
Gerrit-Reviewer: Patrick Rudolph
siro@das-labor.org
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-Comment-Date: Wed, 15 May 2019 14:30:07 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Frans Hendriks
fhendriks@eltan.com
Comment-In-Reply-To: Nico Huber
nico.h@gmx.de
Gerrit-MessageType: comment