summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Rhodes <sean@starlabs.systems>2024-04-15 16:52:32 +0100
committerFelix Held <felix-coreboot@felixheld.de>2024-09-10 13:41:31 +0000
commitfe24a98343333db554c5eca8b86849c481085a6b (patch)
treeb282e70eeb5f30ef15d2c9f114a02fa7c0492fc7
parentc4a6eb09f98d59bed375e653de4d91a85ebe8098 (diff)
ec/starlabs/merlin: Don't report the battery serial number to ACPI
Reporting the battery serial number to ACPI causes Windows to say there isn't a battery present. As the serial number is as useful as waterproof towel, don't do it. Change-Id: I97a28b1d8d7bb45ea4790c8125cd3c1bc52ee5f9 Signed-off-by: Sean Rhodes <sean@starlabs.systems> Reviewed-on: https://review.coreboot.org/c/coreboot/+/83633 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
-rw-r--r--src/ec/starlabs/merlin/acpi/battery.asl6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/ec/starlabs/merlin/acpi/battery.asl b/src/ec/starlabs/merlin/acpi/battery.asl
index e6b0964207..ee800ed888 100644
--- a/src/ec/starlabs/merlin/acpi/battery.asl
+++ b/src/ec/starlabs/merlin/acpi/battery.asl
@@ -48,9 +48,6 @@ Device (BAT0)
SBIF [6] = B1DC / 20 // 5%
SBIF [7] = B1DC / 500 // 0.2%
SBIF [8] = B1DC / 500 // 0.2%
- If (B1SN != 0xffff) {
- SBIF [10] = B1SN
- }
}
Return (SBIF)
}
@@ -101,9 +98,6 @@ Device (BAT0)
}
XBIF [14] = B1DC / 500 // 0.2%
XBIF [15] = B1DC / 500 // 0.2%
- If (B1SN != 0xffff) {
- XBIF [17] = B1SN
- }
}
Return (XBIF)
}