tools/power/x86/intel-speed-select: Abstract read_pm_config
authorZhang Rui <rui.zhang@intel.com>
Mon, 8 Aug 2022 15:19:55 +0000 (23:19 +0800)
committerSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Wed, 22 Mar 2023 20:36:52 +0000 (13:36 -0700)
commit8f54104f7a9548466027e1ee8482b18c2a72656a
treea721da622bfdc5828adca3b2e64977e847131c3d
parenta59a6c0cadd5f0d9a6837b7f62300f7985ea0de3
tools/power/x86/intel-speed-select: Abstract read_pm_config

Allow platform specific implementation to get SST-CP capability and
current state.

No functional changes are expected.

Signed-off-by: Zhang Rui <rui.zhang@intel.com>
[srinivas.pandruvada@linux.intel.com: changelog edits]
Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
tools/power/x86/intel-speed-select/isst-core-mbox.c
tools/power/x86/intel-speed-select/isst-core.c
tools/power/x86/intel-speed-select/isst.h