diff options
author | Duncan Laurie <dlaurie@google.com> | 2019-07-15 17:37:09 -0700 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2019-07-18 16:24:44 +0000 |
commit | cacecefb2703e15563616bd83b276dee68130e8a (patch) | |
tree | 9e55a2e46767f79a46020ea44cffd2eeb27ef792 /src/mainboard/google/hatch | |
parent | 55471147e57b6f29373edb620b6cb5f2e82cd012 (diff) |
ec/google/chromeec: Pass reference of object to BBST() method
The BBST() method writes an updated status flag mask that is intended
to be stored back in the battery object. This value needs to be
passed as a reference to an object to prevent it from being evaluated
at the time the method is loaded or it will not actually update the
BSTP value in the battery device.
This was tested by instrumenting the _BST method in the primary
battery and ensuring the value can be updated by the BBST method.
Change-Id: Ia8e207a2990059a60d96d8e0f3ed3c16a55c50f4
Signed-off-by: Duncan Laurie <dlaurie@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/34356
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/mainboard/google/hatch')
0 files changed, 0 insertions, 0 deletions