Attention is currently required from: Shelley Chen.
Julius Werner has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/69689 )
Change subject: mb/google/herobrine: Implement mainboard_needs_pcie_init
......................................................................
Patch Set 2:
(1 comment)
File src/mainboard/google/herobrine/mainboard.c:
https://review.coreboot.org/c/coreboot/+/69689/comment/b42a1d03_a4e64804
PS2, Line 104: if ((sku & BIT(0)) == 2)
Uhh... pretty sure this doesn't work...?
I don't know how exactly the EC generates the SKU ID, but if it's a normal (not "binary-first") base 3 number (e.g. (pin0 * 3^0 + pin1 * 3^1 + ...)) and you want to check if pin0 was Z, then I think `if (sku % 3 == 2)` is what you want here.
--
To view, visit
https://review.coreboot.org/c/coreboot/+/69689
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I8972424f0c5d082165c185ab52a638e8b134064c
Gerrit-Change-Number: 69689
Gerrit-PatchSet: 2
Gerrit-Owner: Shelley Chen
shchen@google.com
Gerrit-Reviewer: Julius Werner
jwerner@chromium.org
Gerrit-CC: Sudheer Amrabadi
samrabad@codeaurora.org
Gerrit-CC: Venkat Thogaru
thogaru@qualcomm.corp-partner.google.com
Gerrit-CC: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-CC: mturney mturney
mturney@codeaurora.org
Gerrit-Attention: Shelley Chen
shchen@google.com
Gerrit-Comment-Date: Thu, 17 Nov 2022 02:24:51 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment