Furquan Shaikh has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/42874 )
Change subject: mb/google/kahlee: Do not enable SCI for H1_PCH_INT_ODL
......................................................................
mb/google/kahlee: Do not enable SCI for H1_PCH_INT_ODL
H1 is not a wake source and hence there is no need to configure SCI
GEVENT for it. This change drops PAD_SCI() configuration for GPIO_9
i.e. H1_PCH_INT_ODL.
BUG=b:159944426
Change-Id: Iec2285b76f9c5fa1b4b1be15128fea316fa04555
Signed-off-by: Furquan Shaikh <furquan(a)google.com>
---
M src/mainboard/google/kahlee/variants/baseboard/gpio.c
1 file changed, 0 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/74/42874/1
diff --git a/src/mainboard/google/kahlee/variants/baseboard/gpio.c b/src/mainboard/google/kahlee/variants/baseboard/gpio.c
index abdcb0d..6d8dd52 100644
--- a/src/mainboard/google/kahlee/variants/baseboard/gpio.c
+++ b/src/mainboard/google/kahlee/variants/baseboard/gpio.c
@@ -20,7 +20,6 @@
/* GPIO_9 - H1_PCH_INT_ODL, SCI */
PAD_INT(GPIO_9, PULL_UP, EDGE_LOW, STATUS),
- PAD_SCI(GPIO_9, PULL_UP, EDGE_LOW),
/* GPIO_15 - EC_IN_RW_OD */
PAD_GPI(GPIO_15, PULL_UP),
--
To view, visit https://review.coreboot.org/c/coreboot/+/42874
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Iec2285b76f9c5fa1b4b1be15128fea316fa04555
Gerrit-Change-Number: 42874
Gerrit-PatchSet: 1
Gerrit-Owner: Furquan Shaikh <furquan(a)google.com>
Gerrit-MessageType: newchange
Piotr Kleinschmidt has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/42512 )
Change subject: mb/pcengines/apu1/mainboard.c: fix apu1 serial number counting
......................................................................
mb/pcengines/apu1/mainboard.c: fix apu1 serial number counting
PC Engines apu1 platform returns serial number value as -64.
It is caused by faulty read of NIC's registers.
This patch adjust NIC's bus number to valid value, so NIC's
registers can be correctly read and hence NIC's MAC address.
TEST=`dmidecode -t 2` command in Linux Debian
Signed-off-by: Piotr Kleinschmidt <piotr.kleinschmidt(a)3mdeb.com>
Change-Id: I5e8690d100b38ac7889395d375c0ff32bdefda0b
---
M src/mainboard/pcengines/apu1/mainboard.c
1 file changed, 10 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/12/42512/1
diff --git a/src/mainboard/pcengines/apu1/mainboard.c b/src/mainboard/pcengines/apu1/mainboard.c
index a2a78c5..b297061 100644
--- a/src/mainboard/pcengines/apu1/mainboard.c
+++ b/src/mainboard/pcengines/apu1/mainboard.c
@@ -299,9 +299,18 @@
if (!dev)
return serial;
+ /* FIXME: dev->bus->secondary has 0x100 value, while it should
+ * has 0x001 value, as it is on PCI bridge 1.
+ * Without this workaround pci_read_config32(dev, 0x18) returns
+ * incorrect data and hence platform's serial number is incorrect.
+ * However, shifting dev->bus->secondary 8 bits right is not
+ * reliable solution, as the problem probably lies earlier.
+ */
+ dev->bus->secondary >>= 8;
+
/* Read in the last 3 bytes of NIC's MAC address. */
bar18 = pci_read_config32(dev, 0x18);
- bar18 &= 0xFFFFFC00;
+ bar18 &= 0xFFFFFFF0;
for (i = 3; i < 6; i++) {
mac_addr <<= 8;
mac_addr |= read8((u8 *)bar18 + i);
--
To view, visit https://review.coreboot.org/c/coreboot/+/42512
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I5e8690d100b38ac7889395d375c0ff32bdefda0b
Gerrit-Change-Number: 42512
Gerrit-PatchSet: 1
Gerrit-Owner: Piotr Kleinschmidt <piotr.kleinschmidt(a)3mdeb.com>
Gerrit-MessageType: newchange