soc/intel/tigerlake: Add CmdMirror option in chip.h
Provide CmdMirror option in chip.h so that it can control CmdMirror FSP UPD via dev tree. BUG=b:156435028 BRANCH=none TEST=FW_NAME=terrador emerge-volteer coreboot chromeos-bootimage Signed-off-by: David Wu <david_wu@quanta.corp-partner.google.com> Change-Id: Idae9fa439f077f8f3fb16fe74c2f263c008cd5f4 Reviewed-on: https://review.coreboot.org/c/coreboot/+/42276 Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
feecdc2c0b
commit
63ce260a3e
|
@ -115,6 +115,9 @@ struct soc_intel_tigerlake_config {
|
||||||
/* Rank Margin Tool. 1:Enable, 0:Disable */
|
/* Rank Margin Tool. 1:Enable, 0:Disable */
|
||||||
uint8_t RMT;
|
uint8_t RMT;
|
||||||
|
|
||||||
|
/* Command Pins Mirrored */
|
||||||
|
uint32_t CmdMirror;
|
||||||
|
|
||||||
/* USB related */
|
/* USB related */
|
||||||
struct usb2_port_config usb2_ports[16];
|
struct usb2_port_config usb2_ports[16];
|
||||||
struct usb3_port_config usb3_ports[10];
|
struct usb3_port_config usb3_ports[10];
|
||||||
|
|
|
@ -196,6 +196,9 @@ static void soc_memory_init_params(FSP_M_CONFIG *m_cfg,
|
||||||
|
|
||||||
/* Change VmxEnable UPD value according to ENABLE_VMX Kconfig */
|
/* Change VmxEnable UPD value according to ENABLE_VMX Kconfig */
|
||||||
m_cfg->VmxEnable = CONFIG(ENABLE_VMX);
|
m_cfg->VmxEnable = CONFIG(ENABLE_VMX);
|
||||||
|
|
||||||
|
/* Command Pins Mirrored */
|
||||||
|
m_cfg->CmdMirror[0] = config->CmdMirror;
|
||||||
}
|
}
|
||||||
|
|
||||||
void platform_fsp_memory_init_params_cb(FSPM_UPD *mupd, uint32_t version)
|
void platform_fsp_memory_init_params_cb(FSPM_UPD *mupd, uint32_t version)
|
||||||
|
|
Loading…
Reference in New Issue