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>
This commit is contained in:
Sean Rhodes 2024-04-15 16:52:32 +01:00 committed by Felix Held
commit fe24a98343

View file

@ -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)
}