From fe24a98343333db554c5eca8b86849c481085a6b Mon Sep 17 00:00:00 2001 From: Sean Rhodes Date: Mon, 15 Apr 2024 16:52:32 +0100 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/83633 Tested-by: build bot (Jenkins) Reviewed-by: Matt DeVillier --- src/ec/starlabs/merlin/acpi/battery.asl | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/ec/starlabs/merlin/acpi') 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) } -- cgit v1.2.3