coreboot/src/ec
Karthikeyan Ramasubramanian d1c0f958d1 acpi: Call acpi_fill_ssdt() only for enabled devices
Individual drivers check whether the concerned device is enabled before
filling in the SSDT. Move the check before calling acpi_fill_ssdt() and
remove the check in the individual drivers.

BUG=None
TEST=util/abuild/abuild

Change-Id: Ib042bec7e8c68b38fafa60a8e965d781bddcd1f0
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/47148
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Sumeet R Pawnikar <sumeet.r.pawnikar@intel.com>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Christian Walter <christian.walter@9elements.com>
2020-11-09 07:24:13 +00:00
..
51nb/npce985la0dx src: Remove unneeded space in license header 2020-07-26 21:07:36 +00:00
acpi treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
compal/ene932 src/ec: Drop unneeded empty lines 2020-09-11 17:07:03 +00:00
google acpi: Call acpi_fill_ssdt() only for enabled devices 2020-11-09 07:24:13 +00:00
hp/kbc1126 ec/hp/kbc1126: Support using a different GPE 2020-11-02 06:08:54 +00:00
kontron ec/kontron/kempld: Reflow long lines 2020-10-11 11:19:07 +00:00
lenovo src/ec: Drop unneeded empty lines 2020-09-11 17:07:03 +00:00
purism/librem ec/purism/librem: Convert to ASL 2.0 syntax 2020-11-04 09:44:11 +00:00
quanta src/ec: Drop unneeded empty lines 2020-09-11 17:07:03 +00:00
roda/it8518 src: Remove leading blank lines from SPDX header 2020-05-18 07:00:27 +00:00
smsc/mec1308 treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
system76/ec ec/system76/ec: Add battery charging thresholds 2020-11-02 06:23:36 +00:00
ec.h treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00