{cpu,soc}/intel: deduplicate cpu code
commit10ae1cf2cda38e681849dcc9e6e86ee3330a8b17
authorMichael Niewöhner <foss@mniewoehner.de>
Sun, 11 Oct 2020 12:05:32 +0000 (11 14:05 +0200)
committerNico Huber <nico.h@gmx.de>
Sat, 24 Oct 2020 09:46:45 +0000 (24 09:46 +0000)
treee71fa6148adb9895fbc02111a74a35b395a0794e
parent29a52c8308ab270c46c1d859db308ba1de5d1e81
{cpu,soc}/intel: deduplicate cpu code

Move a whole bunch of copy-pasta code from soc/intel/{bdw,skl,cnl,icl,
tgl,ehl,jsl,adl} and cpu/intel/{hsw,model_*} to cpu/intel/common.

This change just moves the code. Rework is done in CB:46588.

Change-Id: Ib0cc834de8492d59c423317598e1c11847a0b1ab
Signed-off-by: Michael Niewöhner <foss@mniewoehner.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/46274
Reviewed-by: Felix Singer <felixsinger@posteo.net>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
27 files changed:
src/cpu/intel/common/common.h
src/cpu/intel/common/common_init.c
src/cpu/intel/haswell/haswell.h
src/cpu/intel/haswell/haswell_init.c
src/cpu/intel/model_2065x/model_2065x.h
src/cpu/intel/model_2065x/model_2065x_init.c
src/cpu/intel/model_206ax/model_206ax.h
src/cpu/intel/model_206ax/model_206ax_init.c
src/include/cpu/intel/msr.h
src/soc/intel/alderlake/cpu.c
src/soc/intel/alderlake/include/soc/msr.h
src/soc/intel/broadwell/cpu.c
src/soc/intel/broadwell/include/soc/msr.h
src/soc/intel/cannonlake/cpu.c
src/soc/intel/cannonlake/include/soc/msr.h
src/soc/intel/denverton_ns/include/soc/msr.h
src/soc/intel/elkhartlake/cpu.c
src/soc/intel/elkhartlake/include/soc/msr.h
src/soc/intel/icelake/Kconfig
src/soc/intel/icelake/cpu.c
src/soc/intel/icelake/include/soc/msr.h
src/soc/intel/jasperlake/cpu.c
src/soc/intel/jasperlake/include/soc/msr.h
src/soc/intel/skylake/cpu.c
src/soc/intel/skylake/include/soc/msr.h
src/soc/intel/tigerlake/cpu.c
src/soc/intel/tigerlake/include/soc/msr.h