diff options
author | Matt DeVillier <matt.devillier@gmail.com> | 2023-01-25 14:27:24 -0600 |
---|---|---|
committer | Martin L Roth <gaumless@gmail.com> | 2023-08-20 18:28:48 +0000 |
commit | 0ace876a741b063a7c3745f2ff96d61787927114 (patch) | |
tree | 51dcbcb54a12001866b8ebc5e8ff5fbe65626997 /src/lib/gpio.c | |
parent | 095043fccac525bff3ba7f8eda713a766828899f (diff) |
ec/google/wilco: Fix ACPI EC RAM read/write ops
While debugging lack of battery status under Windows, it was discovered
that the read/write flags in the args to the EC RAM 'ECRW' method were
not being correctly identified. Force set them from the R() and W()
methods which call ECRW() so those calls are processed properly.
TEST=build/boot Windows on google/drallion, verify battery status,
charging, etc are all reported properly.
Change-Id: I2a40b8d50ba65213813c781e53b56cc1a8b8debf
Signed-off-by: Coolstar <coolstarorganization@gmail.com>
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/72472
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Diffstat (limited to 'src/lib/gpio.c')
0 files changed, 0 insertions, 0 deletions