skylake: Update Memory and Silicon Init params
Update the MemoryInit and SilicoInit params as per FSP 1.3.0 release. Note: add SvGv and Rmt to Upd. BRANCH=None BUG=None TEST=Build and Boot FAB3 (Kunimitsu) CQ-DEPEND=CL:*226035, CL:*226045 Original-Change-Id: I62000f6a485fee42ef733c3b548192f2bedfce49 Original-Signed-off-by: Rizwan Qureshi <rizwan.qureshi@intel.com> Original-Signed-off-by: Robbie Zhang <robbie.zhang@intel.com> Original-Reviewed-on: https://chromium-review.googlesource.com/291573 Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org> Original-Tested-by: Wenkai Du <wenkai.du@intel.com> Change-Id: Iaafa658b4e710fe512526a521cf6c529efb19bf0 Signed-off-by: Rizwan Qureshi <rizwan.qureshi@intel.com> Signed-off-by: Robbie Zhang <robbie.zhang@intel.com> Reviewed-on: http://review.coreboot.org/11238 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
parent
f1acb9b69d
commit
5c1c3d69dd
|
@ -69,6 +69,7 @@ void soc_silicon_init_params(SILICON_INIT_UPD *params)
|
||||||
{
|
{
|
||||||
const struct device *dev;
|
const struct device *dev;
|
||||||
const struct soc_intel_skylake_config *config;
|
const struct soc_intel_skylake_config *config;
|
||||||
|
int i;
|
||||||
|
|
||||||
/* Set the parameters for SiliconInit */
|
/* Set the parameters for SiliconInit */
|
||||||
dev = dev_find_slot(0, PCI_DEVFN(PCH_DEV_SLOT_LPC, 0));
|
dev = dev_find_slot(0, PCI_DEVFN(PCH_DEV_SLOT_LPC, 0));
|
||||||
|
@ -76,7 +77,27 @@ void soc_silicon_init_params(SILICON_INIT_UPD *params)
|
||||||
return;
|
return;
|
||||||
config = dev->chip_info;
|
config = dev->chip_info;
|
||||||
|
|
||||||
|
for (i = 0; i < PchSerialIoIndexMax; i++)
|
||||||
|
params->SerialIoDevMode[i] = config->SerialIoDevMode[i];
|
||||||
|
|
||||||
|
params->SataSalpSupport = config->SataSalpSupport;
|
||||||
|
params->SataPortsEnable[0] = config->SataPortsEnable[0];
|
||||||
|
params->SsicPortEnable = config->SsicPortEnable;
|
||||||
|
params->SmbusEnable = config->SmbusEnable;
|
||||||
|
params->Cio2Enable = config->Cio2Enable;
|
||||||
|
params->ScsEmmcEnabled = config->ScsEmmcEnabled;
|
||||||
|
params->ScsEmmcHs400Enabled = config->ScsEmmcHs400Enabled;
|
||||||
|
params->ScsSdCardEnabled = config->ScsSdCardEnabled;
|
||||||
|
params->IshEnable = 0;
|
||||||
|
params->EnableAzalia = config->EnableAzalia;
|
||||||
|
params->IoBufferOwnership = config->IoBufferOwnership;
|
||||||
|
params->DspEnable = config->DspEnable;
|
||||||
|
params->XdciEnable = config->XdciEnable;
|
||||||
params->Device4Enable = config->Device4Enable;
|
params->Device4Enable = config->Device4Enable;
|
||||||
|
|
||||||
|
/* Show SPI controller if enabled in devicetree.cb */
|
||||||
|
dev = dev_find_slot(0, PCH_DEVFN_SPI);
|
||||||
|
params->ShowSpiController = dev->enabled;
|
||||||
}
|
}
|
||||||
|
|
||||||
void soc_display_silicon_init_params(const SILICON_INIT_UPD *original,
|
void soc_display_silicon_init_params(const SILICON_INIT_UPD *original,
|
||||||
|
@ -84,13 +105,166 @@ void soc_display_silicon_init_params(const SILICON_INIT_UPD *original,
|
||||||
{
|
{
|
||||||
/* Display the parameters for SiliconInit */
|
/* Display the parameters for SiliconInit */
|
||||||
printk(BIOS_SPEW, "UPD values for SiliconInit:\n");
|
printk(BIOS_SPEW, "UPD values for SiliconInit:\n");
|
||||||
|
soc_display_upd_value("LogoPtr", 4,
|
||||||
|
(uint32_t)original->LogoPtr,
|
||||||
|
(uint32_t)params->LogoPtr);
|
||||||
|
soc_display_upd_value("LogoSize", 4,
|
||||||
|
(uint32_t)original->LogoSize,
|
||||||
|
(uint32_t)params->LogoSize);
|
||||||
|
soc_display_upd_value("GraphicsConfigPtr", 4,
|
||||||
|
(uint32_t)original->GraphicsConfigPtr,
|
||||||
|
(uint32_t)params->GraphicsConfigPtr);
|
||||||
|
soc_display_upd_value("MicrocodeRegionBase", 4,
|
||||||
|
(uint32_t)original->MicrocodeRegionBase,
|
||||||
|
(uint32_t)params->MicrocodeRegionBase);
|
||||||
|
soc_display_upd_value("MicrocodeRegionSize", 4,
|
||||||
|
(uint32_t)original->MicrocodeRegionSize,
|
||||||
|
(uint32_t)params->MicrocodeRegionSize);
|
||||||
|
soc_display_upd_value("TurboMode", 1,
|
||||||
|
(uint32_t)original->TurboMode,
|
||||||
|
(uint32_t)params->TurboMode);
|
||||||
soc_display_upd_value("GpioTablePtr", 4,
|
soc_display_upd_value("GpioTablePtr", 4,
|
||||||
(uint32_t)original->GpioTablePtr,
|
(uint32_t)original->GpioTablePtr,
|
||||||
(uint32_t)params->GpioTablePtr);
|
(uint32_t)params->GpioTablePtr);
|
||||||
soc_display_upd_value("Device4Enable", 1,
|
soc_display_upd_value("Device4Enable", 1,
|
||||||
original->Device4Enable,
|
original->Device4Enable,
|
||||||
params->Device4Enable);
|
params->Device4Enable);
|
||||||
|
soc_display_upd_value("SataSalpSupport", 1, original->SataSalpSupport,
|
||||||
|
params->SataSalpSupport);
|
||||||
|
soc_display_upd_value("SataPortsEnable[0]", 1,
|
||||||
|
original->SataPortsEnable[0], params->SataPortsEnable[0]);
|
||||||
|
soc_display_upd_value("SataPortsEnable[1]", 1,
|
||||||
|
original->SataPortsEnable[1], params->SataPortsEnable[1]);
|
||||||
|
soc_display_upd_value("SataPortsEnable[2]", 1,
|
||||||
|
original->SataPortsEnable[2], params->SataPortsEnable[2]);
|
||||||
|
soc_display_upd_value("SataPortsEnable[3]", 1,
|
||||||
|
original->SataPortsEnable[3], params->SataPortsEnable[3]);
|
||||||
|
soc_display_upd_value("SataPortsEnable[4]", 1,
|
||||||
|
original->SataPortsEnable[4], params->SataPortsEnable[4]);
|
||||||
|
soc_display_upd_value("SataPortsEnable[5]", 1,
|
||||||
|
original->SataPortsEnable[5], params->SataPortsEnable[5]);
|
||||||
|
soc_display_upd_value("SataPortsEnable[6]", 1,
|
||||||
|
original->SataPortsEnable[6], params->SataPortsEnable[6]);
|
||||||
|
soc_display_upd_value("SataPortsEnable[7]", 1,
|
||||||
|
original->SataPortsEnable[7], params->SataPortsEnable[7]);
|
||||||
|
soc_display_upd_value("SataPortsDevSlp[0]", 1,
|
||||||
|
original->SataPortsDevSlp[0], params->SataPortsDevSlp[0]);
|
||||||
|
soc_display_upd_value("SataPortsDevSlp[1]", 1,
|
||||||
|
original->SataPortsDevSlp[1], params->SataPortsDevSlp[1]);
|
||||||
|
soc_display_upd_value("SataPortsDevSlp[2]", 1,
|
||||||
|
original->SataPortsDevSlp[2], params->SataPortsDevSlp[2]);
|
||||||
|
soc_display_upd_value("SataPortsDevSlp[3]", 1,
|
||||||
|
original->SataPortsDevSlp[3], params->SataPortsDevSlp[3]);
|
||||||
|
soc_display_upd_value("SataPortsDevSlp[4]", 1,
|
||||||
|
original->SataPortsDevSlp[4], params->SataPortsDevSlp[4]);
|
||||||
|
soc_display_upd_value("SataPortsDevSlp[5]", 1,
|
||||||
|
original->SataPortsDevSlp[5], params->SataPortsDevSlp[5]);
|
||||||
|
soc_display_upd_value("SataPortsDevSlp[6]", 1,
|
||||||
|
original->SataPortsDevSlp[6], params->SataPortsDevSlp[6]);
|
||||||
|
soc_display_upd_value("SataPortsDevSlp[7]", 1,
|
||||||
|
original->SataPortsDevSlp[7], params->SataPortsDevSlp[7]);
|
||||||
|
soc_display_upd_value("EnableAzalia", 1,
|
||||||
|
original->EnableAzalia, params->EnableAzalia);
|
||||||
|
soc_display_upd_value("DspEnable", 1, original->DspEnable,
|
||||||
|
params->DspEnable);
|
||||||
|
soc_display_upd_value("IoBufferOwnership", 1,
|
||||||
|
original->IoBufferOwnership, params->IoBufferOwnership);
|
||||||
|
soc_display_upd_value("PortUsb20Enable[0]", 1,
|
||||||
|
original->PortUsb20Enable[0], params->PortUsb20Enable[0]);
|
||||||
|
soc_display_upd_value("PortUsb20Enable[1]", 1,
|
||||||
|
original->PortUsb20Enable[1], params->PortUsb20Enable[1]);
|
||||||
|
soc_display_upd_value("PortUsb20Enable[2]", 1,
|
||||||
|
original->PortUsb20Enable[2], params->PortUsb20Enable[2]);
|
||||||
|
soc_display_upd_value("PortUsb20Enable[3]", 1,
|
||||||
|
original->PortUsb20Enable[3], params->PortUsb20Enable[3]);
|
||||||
|
soc_display_upd_value("PortUsb20Enable[4]", 1,
|
||||||
|
original->PortUsb20Enable[4], params->PortUsb20Enable[4]);
|
||||||
|
soc_display_upd_value("PortUsb20Enable[5]", 1,
|
||||||
|
original->PortUsb20Enable[5], params->PortUsb20Enable[5]);
|
||||||
|
soc_display_upd_value("PortUsb20Enable[6]", 1,
|
||||||
|
original->PortUsb20Enable[6], params->PortUsb20Enable[6]);
|
||||||
|
soc_display_upd_value("PortUsb20Enable[7]", 1,
|
||||||
|
original->PortUsb20Enable[7], params->PortUsb20Enable[7]);
|
||||||
|
soc_display_upd_value("PortUsb20Enable[8]", 1,
|
||||||
|
original->PortUsb20Enable[8], params->PortUsb20Enable[8]);
|
||||||
|
soc_display_upd_value("PortUsb20Enable[9]", 1,
|
||||||
|
original->PortUsb20Enable[9], params->PortUsb20Enable[9]);
|
||||||
|
soc_display_upd_value("PortUsb20Enable[10]", 1,
|
||||||
|
original->PortUsb20Enable[10], params->PortUsb20Enable[10]);
|
||||||
|
soc_display_upd_value("PortUsb20Enable[11]", 1,
|
||||||
|
original->PortUsb20Enable[11], params->PortUsb20Enable[11]);
|
||||||
|
soc_display_upd_value("PortUsb20Enable[12]", 1,
|
||||||
|
original->PortUsb20Enable[12], params->PortUsb20Enable[12]);
|
||||||
|
soc_display_upd_value("PortUsb20Enable[13]", 1,
|
||||||
|
original->PortUsb20Enable[13], params->PortUsb20Enable[13]);
|
||||||
|
soc_display_upd_value("PortUsb20Enable[14]", 1,
|
||||||
|
original->PortUsb20Enable[14], params->PortUsb20Enable[14]);
|
||||||
|
soc_display_upd_value("PortUsb20Enable[15]", 1,
|
||||||
|
original->PortUsb20Enable[15], params->PortUsb20Enable[15]);
|
||||||
|
soc_display_upd_value("PortUsb30Enable[0]", 1,
|
||||||
|
original->PortUsb30Enable[0], params->PortUsb30Enable[0]);
|
||||||
|
soc_display_upd_value("PortUsb30Enable[1]", 1,
|
||||||
|
original->PortUsb30Enable[1], params->PortUsb30Enable[1]);
|
||||||
|
soc_display_upd_value("PortUsb30Enable[2]", 1,
|
||||||
|
original->PortUsb30Enable[2], params->PortUsb30Enable[2]);
|
||||||
|
soc_display_upd_value("PortUsb30Enable[3]", 1,
|
||||||
|
original->PortUsb30Enable[3], params->PortUsb30Enable[3]);
|
||||||
|
soc_display_upd_value("PortUsb30Enable[4]", 1,
|
||||||
|
original->PortUsb30Enable[4], params->PortUsb30Enable[4]);
|
||||||
|
soc_display_upd_value("PortUsb30Enable[5]", 1,
|
||||||
|
original->PortUsb30Enable[5], params->PortUsb30Enable[5]);
|
||||||
|
soc_display_upd_value("PortUsb30Enable[6]", 1,
|
||||||
|
original->PortUsb30Enable[6], params->PortUsb30Enable[6]);
|
||||||
|
soc_display_upd_value("PortUsb30Enable[7]", 1,
|
||||||
|
original->PortUsb30Enable[7], params->PortUsb30Enable[7]);
|
||||||
|
soc_display_upd_value("PortUsb30Enable[8]", 1,
|
||||||
|
original->PortUsb30Enable[8], params->PortUsb30Enable[8]);
|
||||||
|
soc_display_upd_value("PortUsb30Enable[9]", 1,
|
||||||
|
original->PortUsb30Enable[9], params->PortUsb30Enable[9]);
|
||||||
|
soc_display_upd_value("XdciEnable", 1, original->XdciEnable,
|
||||||
|
params->XdciEnable);
|
||||||
|
soc_display_upd_value("SsicPortEnable", 1, original->SsicPortEnable,
|
||||||
|
params->SsicPortEnable);
|
||||||
|
soc_display_upd_value("SmbusEnable", 1, original->SmbusEnable,
|
||||||
|
params->SmbusEnable);
|
||||||
|
soc_display_upd_value("SerialIoDevMode[0]", 1,
|
||||||
|
original->SerialIoDevMode[0], params->SerialIoDevMode[0]);
|
||||||
|
soc_display_upd_value("SerialIoDevMode[1]", 1,
|
||||||
|
original->SerialIoDevMode[1], params->SerialIoDevMode[1]);
|
||||||
|
soc_display_upd_value("SerialIoDevMode[2]", 1,
|
||||||
|
original->SerialIoDevMode[2], params->SerialIoDevMode[2]);
|
||||||
|
soc_display_upd_value("SerialIoDevMode[3]", 1,
|
||||||
|
original->SerialIoDevMode[3], params->SerialIoDevMode[3]);
|
||||||
|
soc_display_upd_value("SerialIoDevMode[4]", 1,
|
||||||
|
original->SerialIoDevMode[4], params->SerialIoDevMode[4]);
|
||||||
|
soc_display_upd_value("SerialIoDevMode[5]", 1,
|
||||||
|
original->SerialIoDevMode[5], params->SerialIoDevMode[5]);
|
||||||
|
soc_display_upd_value("SerialIoDevMode[6]", 1,
|
||||||
|
original->SerialIoDevMode[6], params->SerialIoDevMode[6]);
|
||||||
|
soc_display_upd_value("SerialIoDevMode[7]", 1,
|
||||||
|
original->SerialIoDevMode[7], params->SerialIoDevMode[7]);
|
||||||
|
soc_display_upd_value("SerialIoDevMode[8]", 1,
|
||||||
|
original->SerialIoDevMode[8], params->SerialIoDevMode[8]);
|
||||||
|
soc_display_upd_value("SerialIoDevMode[9]", 1,
|
||||||
|
original->SerialIoDevMode[9], params->SerialIoDevMode[9]);
|
||||||
|
soc_display_upd_value("SerialIoDevMode[10]", 1,
|
||||||
|
original->SerialIoDevMode[10], params->SerialIoDevMode[10]);
|
||||||
|
soc_display_upd_value("Cio2Enable", 1, original->Cio2Enable,
|
||||||
|
params->Cio2Enable);
|
||||||
|
soc_display_upd_value("ScsEmmcEnabled", 1, original->ScsEmmcEnabled,
|
||||||
|
params->ScsEmmcEnabled);
|
||||||
|
soc_display_upd_value("ScsEmmcHs400Enabled", 1,
|
||||||
|
original->ScsEmmcHs400Enabled, params->ScsEmmcHs400Enabled);
|
||||||
|
soc_display_upd_value("ScsSdCardEnabled", 1, original->ScsSdCardEnabled,
|
||||||
|
params->ScsSdCardEnabled);
|
||||||
|
soc_display_upd_value("IshEnable", 1, original->IshEnable,
|
||||||
|
params->IshEnable);
|
||||||
|
soc_display_upd_value("ShowSpiController", 1,
|
||||||
|
original->ShowSpiController, params->ShowSpiController);
|
||||||
|
soc_display_upd_value("HsioMessaging", 1, original->HsioMessaging,
|
||||||
|
params->HsioMessaging);
|
||||||
|
soc_display_upd_value("Heci3Enabled", 1, original->Heci3Enabled,
|
||||||
|
params->Heci3Enabled);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void pci_set_subsystem(device_t dev, unsigned vendor, unsigned device)
|
static void pci_set_subsystem(device_t dev, unsigned vendor, unsigned device)
|
||||||
|
|
|
@ -128,7 +128,7 @@ struct soc_intel_skylake_config {
|
||||||
int tcc_offset;
|
int tcc_offset;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The following fields come from fsp_vpd.h.
|
* The following fields come from FspUpdVpd.h.
|
||||||
* These are configuration values that are passed to FSP during
|
* These are configuration values that are passed to FSP during
|
||||||
* MemoryInit.
|
* MemoryInit.
|
||||||
*/
|
*/
|
||||||
|
@ -141,6 +141,19 @@ struct soc_intel_skylake_config {
|
||||||
/* Probeless Trace function */
|
/* Probeless Trace function */
|
||||||
u8 ProbelessTrace;
|
u8 ProbelessTrace;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* System Agent dynamic frequency configuration
|
||||||
|
* When enabled memory will be trained at two different frequencies.
|
||||||
|
* 0 = Disabled
|
||||||
|
* 1 = FixedLow
|
||||||
|
* 2 = FixedHigh
|
||||||
|
* 3 = Enabled
|
||||||
|
*/
|
||||||
|
u8 SaGv;
|
||||||
|
|
||||||
|
/* Enable/disable Rank Margin Tool */
|
||||||
|
u8 Rmt;
|
||||||
|
|
||||||
/* Lan */
|
/* Lan */
|
||||||
u8 EnableLan;
|
u8 EnableLan;
|
||||||
|
|
||||||
|
|
|
@ -81,15 +81,12 @@ void soc_memory_init_params(MEMORY_INIT_UPD *params)
|
||||||
{
|
{
|
||||||
const struct device *dev;
|
const struct device *dev;
|
||||||
const struct soc_intel_skylake_config *config;
|
const struct soc_intel_skylake_config *config;
|
||||||
int i;
|
|
||||||
|
|
||||||
/* Set the parameters for MemoryInit */
|
/* Set the parameters for MemoryInit */
|
||||||
dev = dev_find_slot(0, PCI_DEVFN(PCH_DEV_SLOT_LPC, 0));
|
dev = dev_find_slot(0, PCI_DEVFN(PCH_DEV_SLOT_LPC, 0));
|
||||||
config = dev->chip_info;
|
config = dev->chip_info;
|
||||||
|
|
||||||
for (i = 0; i < PchSerialIoIndexMax; i++)
|
|
||||||
params->SerialIoDevMode[i] = config->SerialIoDevMode[i];
|
|
||||||
|
|
||||||
memcpy(params->PcieRpEnable, config->PcieRpEnable,
|
memcpy(params->PcieRpEnable, config->PcieRpEnable,
|
||||||
sizeof(params->PcieRpEnable));
|
sizeof(params->PcieRpEnable));
|
||||||
memcpy(params->PcieRpClkReqSupport, config->PcieRpClkReqSupport,
|
memcpy(params->PcieRpClkReqSupport, config->PcieRpClkReqSupport,
|
||||||
|
@ -104,24 +101,9 @@ void soc_memory_init_params(MEMORY_INIT_UPD *params)
|
||||||
params->EnableLan = config->EnableLan;
|
params->EnableLan = config->EnableLan;
|
||||||
params->EnableSata = config->EnableSata;
|
params->EnableSata = config->EnableSata;
|
||||||
params->SataMode = config->SataMode;
|
params->SataMode = config->SataMode;
|
||||||
params->SataSalpSupport = config->SataSalpSupport;
|
|
||||||
params->SataPortsEnable[0] = config->SataPortsEnable[0];
|
|
||||||
params->SsicPortEnable = config->SsicPortEnable;
|
|
||||||
params->EnableTraceHub = config->EnableTraceHub;
|
params->EnableTraceHub = config->EnableTraceHub;
|
||||||
params->SmbusEnable = config->SmbusEnable;
|
params->SaGv = config->SaGv;
|
||||||
params->Cio2Enable = config->Cio2Enable;
|
params->RMT = config->Rmt;
|
||||||
params->ScsEmmcEnabled = config->ScsEmmcEnabled;
|
|
||||||
params->ScsEmmcHs400Enabled = config->ScsEmmcHs400Enabled;
|
|
||||||
params->ScsSdCardEnabled = config->ScsSdCardEnabled;
|
|
||||||
params->IshEnable = 0;
|
|
||||||
params->EnableAzalia = config->EnableAzalia;
|
|
||||||
params->IoBufferOwnership = config->IoBufferOwnership;
|
|
||||||
params->DspEnable = config->DspEnable;
|
|
||||||
params->XdciEnable = config->XdciEnable;
|
|
||||||
|
|
||||||
/* Show SPI controller if enabled in devicetree.cb */
|
|
||||||
dev = dev_find_slot(0, PCH_DEVFN_SPI);
|
|
||||||
params->ShowSpiController = dev->enabled;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void soc_display_memory_init_params(const MEMORY_INIT_UPD *old,
|
void soc_display_memory_init_params(const MEMORY_INIT_UPD *old,
|
||||||
|
@ -248,51 +230,10 @@ void soc_display_memory_init_params(const MEMORY_INIT_UPD *old,
|
||||||
soc_display_upd_value("IedSize", 4, old->IedSize, new->IedSize);
|
soc_display_upd_value("IedSize", 4, old->IedSize, new->IedSize);
|
||||||
soc_display_upd_value("TsegSize", 4, old->TsegSize, new->TsegSize);
|
soc_display_upd_value("TsegSize", 4, old->TsegSize, new->TsegSize);
|
||||||
soc_display_upd_value("MmioSize", 2, old->MmioSize, new->MmioSize);
|
soc_display_upd_value("MmioSize", 2, old->MmioSize, new->MmioSize);
|
||||||
soc_display_upd_value("ProbelessTrace", 1, old->ProbelessTrace,
|
|
||||||
new->ProbelessTrace);
|
|
||||||
soc_display_upd_value("EnableLan", 1, old->EnableLan, new->EnableLan);
|
soc_display_upd_value("EnableLan", 1, old->EnableLan, new->EnableLan);
|
||||||
soc_display_upd_value("EnableSata", 1, old->EnableSata,
|
soc_display_upd_value("EnableSata", 1, old->EnableSata,
|
||||||
new->EnableSata);
|
new->EnableSata);
|
||||||
soc_display_upd_value("SataMode", 1, old->SataMode, new->SataMode);
|
soc_display_upd_value("SataMode", 1, old->SataMode, new->SataMode);
|
||||||
soc_display_upd_value("SataSalpSupport", 1, old->SataSalpSupport,
|
|
||||||
new->SataSalpSupport);
|
|
||||||
soc_display_upd_value("SataPortsEnable[0]", 1, old->SataPortsEnable[0],
|
|
||||||
new->SataPortsEnable[0]);
|
|
||||||
soc_display_upd_value("SataPortsEnable[1]", 1, old->SataPortsEnable[1],
|
|
||||||
new->SataPortsEnable[1]);
|
|
||||||
soc_display_upd_value("SataPortsEnable[2]", 1, old->SataPortsEnable[2],
|
|
||||||
new->SataPortsEnable[2]);
|
|
||||||
soc_display_upd_value("SataPortsEnable[3]", 1, old->SataPortsEnable[3],
|
|
||||||
new->SataPortsEnable[3]);
|
|
||||||
soc_display_upd_value("SataPortsEnable[4]", 1, old->SataPortsEnable[4],
|
|
||||||
new->SataPortsEnable[4]);
|
|
||||||
soc_display_upd_value("SataPortsEnable[5]", 1, old->SataPortsEnable[5],
|
|
||||||
new->SataPortsEnable[5]);
|
|
||||||
soc_display_upd_value("SataPortsEnable[6]", 1, old->SataPortsEnable[6],
|
|
||||||
new->SataPortsEnable[6]);
|
|
||||||
soc_display_upd_value("SataPortsEnable[7]", 1, old->SataPortsEnable[7],
|
|
||||||
new->SataPortsEnable[7]);
|
|
||||||
soc_display_upd_value("SataPortsDevSlp[0]", 1, old->SataPortsDevSlp[0],
|
|
||||||
new->SataPortsDevSlp[0]);
|
|
||||||
soc_display_upd_value("SataPortsDevSlp[1]", 1, old->SataPortsDevSlp[1],
|
|
||||||
new->SataPortsDevSlp[1]);
|
|
||||||
soc_display_upd_value("SataPortsDevSlp[2]", 1, old->SataPortsDevSlp[2],
|
|
||||||
new->SataPortsDevSlp[2]);
|
|
||||||
soc_display_upd_value("SataPortsDevSlp[3]", 1, old->SataPortsDevSlp[3],
|
|
||||||
new->SataPortsDevSlp[3]);
|
|
||||||
soc_display_upd_value("SataPortsDevSlp[4]", 1, old->SataPortsDevSlp[4],
|
|
||||||
new->SataPortsDevSlp[4]);
|
|
||||||
soc_display_upd_value("SataPortsDevSlp[5]", 1, old->SataPortsDevSlp[5],
|
|
||||||
new->SataPortsDevSlp[5]);
|
|
||||||
soc_display_upd_value("SataPortsDevSlp[6]", 1, old->SataPortsDevSlp[6],
|
|
||||||
new->SataPortsDevSlp[6]);
|
|
||||||
soc_display_upd_value("SataPortsDevSlp[7]", 1, old->SataPortsDevSlp[7],
|
|
||||||
new->SataPortsDevSlp[7]);
|
|
||||||
soc_display_upd_value("EnableAzalia", 1, old->EnableAzalia,
|
|
||||||
new->EnableAzalia);
|
|
||||||
soc_display_upd_value("DspEnable", 1, old->DspEnable, new->DspEnable);
|
|
||||||
soc_display_upd_value("IoBufferOwnership", 1, old->IoBufferOwnership,
|
|
||||||
new->IoBufferOwnership);
|
|
||||||
soc_display_upd_value("EnableTraceHub", 1, old->EnableTraceHub,
|
soc_display_upd_value("EnableTraceHub", 1, old->EnableTraceHub,
|
||||||
new->EnableTraceHub);
|
new->EnableTraceHub);
|
||||||
soc_display_upd_value("PcieRpEnable[0]", 1, old->PcieRpEnable[0],
|
soc_display_upd_value("PcieRpEnable[0]", 1, old->PcieRpEnable[0],
|
||||||
|
@ -455,123 +396,12 @@ void soc_display_memory_init_params(const MEMORY_INIT_UPD *old,
|
||||||
soc_display_upd_value("PcieRpClkReqNumber[19]", 1,
|
soc_display_upd_value("PcieRpClkReqNumber[19]", 1,
|
||||||
old->PcieRpClkReqNumber[19],
|
old->PcieRpClkReqNumber[19],
|
||||||
new->PcieRpClkReqNumber[19]);
|
new->PcieRpClkReqNumber[19]);
|
||||||
soc_display_upd_value("PortUsb20Enable[0]", 1, old->PortUsb20Enable[0],
|
|
||||||
new->PortUsb20Enable[0]);
|
|
||||||
soc_display_upd_value("PortUsb20Enable[1]", 1, old->PortUsb20Enable[1],
|
|
||||||
new->PortUsb20Enable[1]);
|
|
||||||
soc_display_upd_value("PortUsb20Enable[2]", 1, old->PortUsb20Enable[2],
|
|
||||||
new->PortUsb20Enable[2]);
|
|
||||||
soc_display_upd_value("PortUsb20Enable[3]", 1, old->PortUsb20Enable[3],
|
|
||||||
new->PortUsb20Enable[3]);
|
|
||||||
soc_display_upd_value("PortUsb20Enable[4]", 1, old->PortUsb20Enable[4],
|
|
||||||
new->PortUsb20Enable[4]);
|
|
||||||
soc_display_upd_value("PortUsb20Enable[5]", 1, old->PortUsb20Enable[5],
|
|
||||||
new->PortUsb20Enable[5]);
|
|
||||||
soc_display_upd_value("PortUsb20Enable[6]", 1, old->PortUsb20Enable[6],
|
|
||||||
new->PortUsb20Enable[6]);
|
|
||||||
soc_display_upd_value("PortUsb20Enable[7]", 1, old->PortUsb20Enable[7],
|
|
||||||
new->PortUsb20Enable[7]);
|
|
||||||
soc_display_upd_value("PortUsb20Enable[8]", 1, old->PortUsb20Enable[8],
|
|
||||||
new->PortUsb20Enable[8]);
|
|
||||||
soc_display_upd_value("PortUsb20Enable[9]", 1, old->PortUsb20Enable[9],
|
|
||||||
new->PortUsb20Enable[9]);
|
|
||||||
soc_display_upd_value("PortUsb20Enable[10]", 1,
|
|
||||||
old->PortUsb20Enable[10],
|
|
||||||
new->PortUsb20Enable[10]);
|
|
||||||
soc_display_upd_value("PortUsb20Enable[11]", 1,
|
|
||||||
old->PortUsb20Enable[11],
|
|
||||||
new->PortUsb20Enable[11]);
|
|
||||||
soc_display_upd_value("PortUsb20Enable[12]", 1,
|
|
||||||
old->PortUsb20Enable[12],
|
|
||||||
new->PortUsb20Enable[12]);
|
|
||||||
soc_display_upd_value("PortUsb20Enable[13]", 1,
|
|
||||||
old->PortUsb20Enable[13],
|
|
||||||
new->PortUsb20Enable[13]);
|
|
||||||
soc_display_upd_value("PortUsb20Enable[14]", 1,
|
|
||||||
old->PortUsb20Enable[14],
|
|
||||||
new->PortUsb20Enable[14]);
|
|
||||||
soc_display_upd_value("PortUsb20Enable[15]", 1,
|
|
||||||
old->PortUsb20Enable[15],
|
|
||||||
new->PortUsb20Enable[15]);
|
|
||||||
soc_display_upd_value("PortUsb30Enable[0]", 1, old->PortUsb30Enable[0],
|
|
||||||
new->PortUsb30Enable[0]);
|
|
||||||
soc_display_upd_value("PortUsb30Enable[1]", 1, old->PortUsb30Enable[1],
|
|
||||||
new->PortUsb30Enable[1]);
|
|
||||||
soc_display_upd_value("PortUsb30Enable[2]", 1, old->PortUsb30Enable[2],
|
|
||||||
new->PortUsb30Enable[2]);
|
|
||||||
soc_display_upd_value("PortUsb30Enable[3]", 1, old->PortUsb30Enable[3],
|
|
||||||
new->PortUsb30Enable[3]);
|
|
||||||
soc_display_upd_value("PortUsb30Enable[4]", 1, old->PortUsb30Enable[4],
|
|
||||||
new->PortUsb30Enable[4]);
|
|
||||||
soc_display_upd_value("PortUsb30Enable[5]", 1, old->PortUsb30Enable[5],
|
|
||||||
new->PortUsb30Enable[5]);
|
|
||||||
soc_display_upd_value("PortUsb30Enable[6]", 1, old->PortUsb30Enable[6],
|
|
||||||
new->PortUsb30Enable[6]);
|
|
||||||
soc_display_upd_value("PortUsb30Enable[7]", 1, old->PortUsb30Enable[7],
|
|
||||||
new->PortUsb30Enable[7]);
|
|
||||||
soc_display_upd_value("PortUsb30Enable[8]", 1, old->PortUsb30Enable[8],
|
|
||||||
new->PortUsb30Enable[8]);
|
|
||||||
soc_display_upd_value("PortUsb30Enable[9]", 1, old->PortUsb30Enable[9],
|
|
||||||
new->PortUsb30Enable[9]);
|
|
||||||
soc_display_upd_value("XdciEnable", 1, old->XdciEnable,
|
|
||||||
new->XdciEnable);
|
|
||||||
soc_display_upd_value("SsicPortEnable", 1, old->SsicPortEnable,
|
|
||||||
new->SsicPortEnable);
|
|
||||||
soc_display_upd_value("SmbusEnable", 1, old->SmbusEnable,
|
|
||||||
new->SmbusEnable);
|
|
||||||
soc_display_upd_value("SerialIoDevMode[0]", 1, old->SerialIoDevMode[0],
|
|
||||||
new->SerialIoDevMode[0]);
|
|
||||||
soc_display_upd_value("SerialIoDevMode[1]", 1, old->SerialIoDevMode[1],
|
|
||||||
new->SerialIoDevMode[1]);
|
|
||||||
soc_display_upd_value("SerialIoDevMode[2]", 1, old->SerialIoDevMode[2],
|
|
||||||
new->SerialIoDevMode[2]);
|
|
||||||
soc_display_upd_value("SerialIoDevMode[3]", 1, old->SerialIoDevMode[3],
|
|
||||||
new->SerialIoDevMode[3]);
|
|
||||||
soc_display_upd_value("SerialIoDevMode[4]", 1, old->SerialIoDevMode[4],
|
|
||||||
new->SerialIoDevMode[4]);
|
|
||||||
soc_display_upd_value("SerialIoDevMode[5]", 1, old->SerialIoDevMode[5],
|
|
||||||
new->SerialIoDevMode[5]);
|
|
||||||
soc_display_upd_value("SerialIoDevMode[6]", 1, old->SerialIoDevMode[6],
|
|
||||||
new->SerialIoDevMode[6]);
|
|
||||||
soc_display_upd_value("SerialIoDevMode[7]", 1, old->SerialIoDevMode[7],
|
|
||||||
new->SerialIoDevMode[7]);
|
|
||||||
soc_display_upd_value("SerialIoDevMode[8]", 1, old->SerialIoDevMode[8],
|
|
||||||
new->SerialIoDevMode[8]);
|
|
||||||
soc_display_upd_value("SerialIoDevMode[9]", 1, old->SerialIoDevMode[9],
|
|
||||||
new->SerialIoDevMode[9]);
|
|
||||||
soc_display_upd_value("SerialIoDevMode[10]", 1,
|
|
||||||
old->SerialIoDevMode[10],
|
|
||||||
new->SerialIoDevMode[10]);
|
|
||||||
soc_display_upd_value("Cio2Enable", 1, old->Cio2Enable,
|
|
||||||
new->Cio2Enable);
|
|
||||||
soc_display_upd_value("ScsEmmcEnabled", 1, old->ScsEmmcEnabled,
|
|
||||||
new->ScsEmmcEnabled);
|
|
||||||
soc_display_upd_value("ScsEmmcHs400Enabled", 1,
|
|
||||||
old->ScsEmmcHs400Enabled,
|
|
||||||
new->ScsEmmcHs400Enabled);
|
|
||||||
soc_display_upd_value("ScsSdCardEnabled", 1, old->ScsSdCardEnabled,
|
|
||||||
new->ScsSdCardEnabled);
|
|
||||||
soc_display_upd_value("IshEnable", 1, old->IshEnable, new->IshEnable);
|
|
||||||
soc_display_upd_value("ShowSpiController", 1, old->ShowSpiController,
|
|
||||||
new->ShowSpiController);
|
|
||||||
soc_display_upd_value("PttSwitch", 1, old->PttSwitch, new->PttSwitch);
|
|
||||||
soc_display_upd_value("HeciTimeouts", 1, old->HeciTimeouts,
|
|
||||||
new->HeciTimeouts);
|
|
||||||
soc_display_upd_value("HsioMessaging", 1, old->HsioMessaging,
|
|
||||||
new->HsioMessaging);
|
|
||||||
soc_display_upd_value("Heci3Enabled", 1, old->Heci3Enabled,
|
|
||||||
new->Heci3Enabled);
|
|
||||||
soc_display_upd_value("IgdDvmt50PreAlloc", 1, old->IgdDvmt50PreAlloc,
|
soc_display_upd_value("IgdDvmt50PreAlloc", 1, old->IgdDvmt50PreAlloc,
|
||||||
new->IgdDvmt50PreAlloc);
|
new->IgdDvmt50PreAlloc);
|
||||||
soc_display_upd_value("PrimaryDisplay", 1, old->PrimaryDisplay,
|
|
||||||
new->PrimaryDisplay);
|
|
||||||
soc_display_upd_value("InternalGfx", 1, old->InternalGfx,
|
soc_display_upd_value("InternalGfx", 1, old->InternalGfx,
|
||||||
new->InternalGfx);
|
new->InternalGfx);
|
||||||
soc_display_upd_value("ApertureSize", 1, old->ApertureSize,
|
soc_display_upd_value("ApertureSize", 1, old->ApertureSize,
|
||||||
new->ApertureSize);
|
new->ApertureSize);
|
||||||
soc_display_upd_value("SkipExtGfxScan", 1, old->SkipExtGfxScan,
|
soc_display_upd_value("SaGv", 1, old->SaGv, new->SaGv);
|
||||||
new->SkipExtGfxScan);
|
soc_display_upd_value("RMT", 1, old->RMT, new->RMT);
|
||||||
soc_display_upd_value("ScanExtGfxForLegacyOpRom", 1,
|
|
||||||
old->ScanExtGfxForLegacyOpRom,
|
|
||||||
new->ScanExtGfxForLegacyOpRom);
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue