summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/arch-apollolake/fsp/fsp_s_upd.h
diff options
context:
space:
mode:
authorBernhard Messerklinger <bernhard.messerklinger@br-automation.com>2020-07-22 09:29:39 +0200
committerBin Meng <bmeng.cn@gmail.com>2020-08-03 10:46:56 +0800
commita0186110af858cc20c9054ede4e9035bc41ffba3 (patch)
tree9cc4519b3bb79eb62e3cb2fafba97a9a31b1f5bc /arch/x86/include/asm/arch-apollolake/fsp/fsp_s_upd.h
parent858e5a1a8be0380ecdb66eb7e44a99db459bc10e (diff)
arch: x86: apl: Update FSP parameters
Add missing parameters to support full configuration of the latest FSP MR6 release. Signed-off-by: Bernhard Messerklinger <bernhard.messerklinger@br-automation.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86/include/asm/arch-apollolake/fsp/fsp_s_upd.h')
-rw-r--r--arch/x86/include/asm/arch-apollolake/fsp/fsp_s_upd.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/arch/x86/include/asm/arch-apollolake/fsp/fsp_s_upd.h b/arch/x86/include/asm/arch-apollolake/fsp/fsp_s_upd.h
index 451a7a254a..be80f5db09 100644
--- a/arch/x86/include/asm/arch-apollolake/fsp/fsp_s_upd.h
+++ b/arch/x86/include/asm/arch-apollolake/fsp/fsp_s_upd.h
@@ -351,7 +351,10 @@ struct __packed fsp_s_config {
u8 port_usb20_hs_npre_drv_sel[8];
/* 0x370 */
- u8 reserved_fsps_upd[16];
+ u8 os_selection;
+ u8 dptf_enabled;
+ u8 pwm_enabled;
+ u8 reserved_fsps_upd[13];
};
/** struct fsps_upd - FSP-S Configuration */
@@ -563,4 +566,8 @@ struct __packed fsps_upd {
#define PCIE_RP_SELECTABLE_DEEMPHASIS_6_DB 0
#define PCIE_RP_SELECTABLE_DEEMPHASIS_3_5_DB 1
+#define OS_SELECTION_WINDOWS 0
+#define OS_SELECTION_ANDROID 1
+#define OS_SELECTION_LINUX 3
+
#endif