coreboot-kgpe-d16/src/ec
Duncan Laurie cacecefb27 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>
2019-07-18 16:24:44 +00:00
..
acpi arch/x86: Avoid HAVE_SMI_HANDLER conditional with smm-class 2019-07-09 12:43:35 +00:00
compal/ene932 src/ec: Use 'include <stdlib.h>' when appropriate 2019-06-22 17:54:31 +00:00
google ec/google/chromeec: Pass reference of object to BBST() method 2019-07-18 16:24:44 +00:00
hp/kbc1126 device/pnp: Add header files for PNP ops 2019-03-04 15:58:55 +00:00
kontron src/ec: Use 'include <stdlib.h>' when appropriate 2019-06-22 17:54:31 +00:00
lenovo arch/x86: Avoid HAVE_SMI_HANDLER conditional with smm-class 2019-07-09 12:43:35 +00:00
purism/librem ec/purism: Fix CPU Turbo value (PPCM) set by the EC 2018-03-26 10:25:58 +00:00
quanta src/ec: Use 'include <stdlib.h>' when appropriate 2019-06-22 17:54:31 +00:00
roda/it8518 src/ec: Use 'include <stdlib.h>' when appropriate 2019-06-22 17:54:31 +00:00
smsc/mec1308 src: Use tabs for indentation 2018-10-08 09:46:16 +00:00
ec.h mainboards,ec: provide common declaration for mainboard_ec_init() 2016-09-26 23:53:12 +02:00