soc/intel: Make use of PMC low power program from common block
commit0359d9dde37b7cce3009cfe630713042601ac5d8
authorSubrata Banik <subrata.banik@intel.com>
Mon, 28 Sep 2020 13:13:47 +0000 (28 18:43 +0530)
committerSubrata Banik <subrata.banik@intel.com>
Sat, 3 Oct 2020 06:58:07 +0000 (3 06:58 +0000)
treed4d177be70a8db07b58159cbda768d12059f2222
parent3e959d8e2a05a50ca16430dcacfd4794db1e49fc
soc/intel: Make use of PMC low power program from common block

List of changes:
1. Select PMC_LOW_POWER_MODE_PROGRAM from applicable SoC directory
2. Remove redundant PMC programming from SoC and refer to common
code block
3. Remove unused 'reg8' and 'reg32' variable as applicable from SoC
function.

Change-Id: I18894c49cfc6e88675b5fb71bca0412e5639fb4b
Signed-off-by: Subrata Banik <subrata.banik@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/45796
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
18 files changed:
src/soc/intel/cannonlake/Kconfig
src/soc/intel/cannonlake/finalize.c
src/soc/intel/cannonlake/include/soc/pmc.h
src/soc/intel/elkhartlake/Kconfig
src/soc/intel/elkhartlake/finalize.c
src/soc/intel/elkhartlake/include/soc/pmc.h
src/soc/intel/icelake/Kconfig
src/soc/intel/icelake/finalize.c
src/soc/intel/icelake/include/soc/pmc.h
src/soc/intel/jasperlake/Kconfig
src/soc/intel/jasperlake/finalize.c
src/soc/intel/jasperlake/include/soc/pmc.h
src/soc/intel/skylake/Kconfig
src/soc/intel/skylake/finalize.c
src/soc/intel/skylake/include/soc/pmc.h
src/soc/intel/tigerlake/Kconfig
src/soc/intel/tigerlake/finalize.c
src/soc/intel/tigerlake/include/soc/pmc.h