mb/lenovo/t440p: Include ACPI for battery threshold
This fixes ACPI errors below when invoking tlp-stat and allows setting battery thresholds as natacpi is now enabled. thinkpad_acpi: acpi_evalf(BCTG, dd, ...) failed: AE_NOT_FOUND thinkpad_acpi: acpi_evalf(BCTG, dd, ...) failed: AE_NOT_FOUND Test: Fedora 32 [also on Fedora 31 before the upgrade] Kernel 5.6.12-300 Signed-off-by: Amit Caleechurn <acaleechurn@gmail.com> Change-Id: Ie345cdd05e38a8b7f646f44d814446543baeed3b Reviewed-on: https://review.coreboot.org/c/coreboot/+/41472 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
parent
25ae99fe65
commit
c43a09b118
|
@ -22,6 +22,7 @@ config BOARD_SPECIFIC_OPTIONS
|
||||||
select SOUTHBRIDGE_INTEL_LYNXPOINT
|
select SOUTHBRIDGE_INTEL_LYNXPOINT
|
||||||
select SYSTEM_TYPE_LAPTOP
|
select SYSTEM_TYPE_LAPTOP
|
||||||
select MAINBOARD_USES_IFD_GBE_REGION
|
select MAINBOARD_USES_IFD_GBE_REGION
|
||||||
|
select H8_HAS_BAT_TRESHOLDS_IMPL
|
||||||
|
|
||||||
config VBOOT
|
config VBOOT
|
||||||
select VBOOT_VBNV_CMOS
|
select VBOOT_VBNV_CMOS
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||||
|
|
||||||
#include <ec/lenovo/h8/acpi/ec.asl>
|
#include <ec/lenovo/h8/acpi/ec.asl>
|
||||||
|
#include <ec/lenovo/h8/acpi/thinkpad_bat_thresholds_b0.asl>
|
||||||
|
|
Loading…
Reference in New Issue