cpu/x86: make set_msr_bit publicly available
commitaf1cbe2278b4ca3252d48ba36814db940e9d4237
authorMichael Niewöhner <foss@mniewoehner.de>
Fri, 25 Oct 2019 19:37:40 +0000 (25 21:37 +0200)
committerPatrick Georgi <pgeorgi@google.com>
Thu, 31 Oct 2019 10:35:42 +0000 (31 10:35 +0000)
treea342792a4d174736967049441822729c2e2954be
parent9a100b5c1df00b4b4570f914412068e3d86343f4
cpu/x86: make set_msr_bit publicly available

Haswell and model_2065 implement a static set_msr_bit helper which
should be publicly available instead. Move it to cpu/x86.

Change-Id: I68b314c917f15fc6e5351de1c539d5a3ae646df8
Signed-off-by: Michael Niewöhner <foss@mniewoehner.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/36338
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
src/cpu/intel/haswell/finalize.c
src/cpu/intel/model_2065x/finalize.c
src/cpu/intel/model_206ax/finalize.c
src/include/cpu/x86/msr.h