Nico Huber has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/38918 )
Change subject: vboot/Kconfig: Handle VBNV RTC offset in code
......................................................................
Patch Set 2:
(1 comment)
File src/vendorcode/google/chromeos/acpi/chromeos.asl:
https://review.coreboot.org/c/coreboot/+/38918/comment/f7fd2563_723bc5e5
PS2, Line 79: CONFIG_VBOOT_VBNV_OFFSET - 14,
Looks like this code would be added even if !VBOOT_VBNV_CMOS. So if cros […]
I had to think twice about it to figure what my younger self meant here.
The problem is that if VBOOT_VBNV_CMOS is disabled, we had a 0 here. But
after this patch it would be an odd -14.
Maybe it's better to restart this work. First, figure out what this `14`
is about. Why is C code always using that offset but ASL isn't? It's all
not that easy with an unspecified ACPI API (or is it documented somewhere?).
--
To view, visit
https://review.coreboot.org/c/coreboot/+/38918
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I928457febd399526fa77108d12b804ca7e53f80b
Gerrit-Change-Number: 38918
Gerrit-PatchSet: 2
Gerrit-Owner: Nico Huber
nico.h@gmx.de
Gerrit-Reviewer: Aaron Durbin
adurbin@chromium.org
Gerrit-Reviewer: Alexander Couzens
lynxis@fe80.eu
Gerrit-Reviewer: Angel Pons
th3fanbus@gmail.com
Gerrit-Reviewer: Furquan Shaikh
furquan@google.com
Gerrit-Reviewer: Julius Werner
jwerner@chromium.org
Gerrit-Reviewer: Michael Niewöhner
foss@mniewoehner.de
Gerrit-Reviewer: Nico Huber
nico.h@gmx.de
Gerrit-Reviewer: Patrick Rudolph
patrick.rudolph@9elements.com
Gerrit-Reviewer: Patrick Rudolph
siro@das-labor.org
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-CC: Paul Menzel
paulepanter@mailbox.org
Gerrit-Comment-Date: Sun, 05 Sep 2021 12:58:34 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Nico Huber
nico.h@gmx.de
Gerrit-MessageType: comment