x86: Make MSR_PKG_POWER_SKU common
authorSimon Glass <sjg@chromium.org>
Sat, 7 Dec 2019 04:42:34 +0000 (21:42 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Sun, 15 Dec 2019 03:44:20 +0000 (11:44 +0800)
commit86c70e9ca65fcb84fd7751fbd5e153e3aa2e544d
treeb5cd69cb0593441293a59a19b6ab4eb02ff15acc
parentdf81abda0e95b28a0eff201ac3faa375f061f367
x86: Make MSR_PKG_POWER_SKU common

This is used on several boards so add it to the common file. Also add a
useful power-limit value while we are here.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/include/asm/arch-broadwell/cpu.h
arch/x86/include/asm/arch-ivybridge/model_206ax.h
arch/x86/include/asm/msr-index.h