soc/intel/skylake: check DPTF_TSR0_ACTIVE_AC* in _ACx methods
commit0ac94ee3b0729fa9f389fb431a0f82b51e37b80f
authorFrank Wu <frank_wu@compal.corp-partner.google.com>
Wed, 11 Apr 2018 08:25:42 +0000 (11 16:25 +0800)
committerFurquan Shaikh <furquan@google.com>
Tue, 17 Apr 2018 06:04:56 +0000 (17 06:04 +0000)
treed180df57ffcaf5504c1735e7ad5f91471028f6a8
parentad4ddfcfdbf634d2ba4746d92cfd11854f87417a
soc/intel/skylake: check DPTF_TSR0_ACTIVE_AC* in _ACx methods

Because thermal table is not included the values of DPTF_TSR0_ACTIVE_AC5
and DPTF_TSR0_ACTIVE_AC6 from internal nami/vayne thermal team.
Add conditional compilation in _ACx methods if DPTF_ENABLE_FAN_CONTROL
is defined in the dptf.asl.

BUG=b:72974136
BRANCH=poppy
TEST=emerge-nami coreboot and booted on nami board.

Change-Id: I3e36ce94f714ff13f8ccee65992d7a9c7e0bb5b2
Signed-off-by: Frank Wu <frank_wu@compal.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/25614
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Sumeet R Pawnikar <sumeet.r.pawnikar@intel.com>
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
src/soc/intel/skylake/acpi/dptf/thermal.asl