soc/intel/skylake: Enable TraceHub depending on devicetree configuration
Currently TraceHub gets enabled by the option EnableTraceHub, but this duplicates the devicetree on/off options. Therefore use the on/off options for the enablement of the TraceHub controller. I checked all corresponding mainboards if the devicetree configuration matches the EnableTraceHub setting. Change-Id: Idcd1e5035bc66c48620e4033d8b4988428e63db9 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/43847 Reviewed-by: Michael Niewöhner Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
ffe90c528b
commit
87aecf811d
17 changed files with 3 additions and 17 deletions
|
@ -49,7 +49,6 @@ chip soc/intel/skylake
|
|||
register "EnableAzalia" = "1"
|
||||
register "DspEnable" = "0"
|
||||
register "IoBufferOwnership" = "0"
|
||||
register "EnableTraceHub" = "0"
|
||||
register "SsicPortEnable" = "0"
|
||||
register "Cio2Enable" = "0"
|
||||
register "ScsEmmcEnabled" = "0"
|
||||
|
|
|
@ -42,7 +42,6 @@ chip soc/intel/skylake
|
|||
register "EnableAzalia" = "1"
|
||||
register "DspEnable" = "1"
|
||||
register "IoBufferOwnership" = "3"
|
||||
register "EnableTraceHub" = "0"
|
||||
register "SsicPortEnable" = "0"
|
||||
register "Cio2Enable" = "0"
|
||||
register "ScsEmmcEnabled" = "1"
|
||||
|
|
|
@ -73,7 +73,6 @@ chip soc/intel/skylake
|
|||
register "EnableAzalia" = "1"
|
||||
register "DspEnable" = "1"
|
||||
register "IoBufferOwnership" = "3"
|
||||
register "EnableTraceHub" = "0"
|
||||
register "SsicPortEnable" = "0"
|
||||
register "Cio2Enable" = "0"
|
||||
register "ScsEmmcEnabled" = "0"
|
||||
|
|
|
@ -44,7 +44,6 @@ chip soc/intel/skylake
|
|||
register "EnableAzalia" = "1"
|
||||
register "DspEnable" = "1"
|
||||
register "IoBufferOwnership" = "3"
|
||||
register "EnableTraceHub" = "0"
|
||||
register "SsicPortEnable" = "0"
|
||||
register "Cio2Enable" = "0"
|
||||
register "ScsEmmcEnabled" = "1"
|
||||
|
|
|
@ -48,7 +48,6 @@ chip soc/intel/skylake
|
|||
register "EnableAzalia" = "1"
|
||||
register "DspEnable" = "1"
|
||||
register "IoBufferOwnership" = "3"
|
||||
register "EnableTraceHub" = "0"
|
||||
register "SsicPortEnable" = "0"
|
||||
register "Cio2Enable" = "1"
|
||||
register "SaImguEnable" = "1"
|
||||
|
|
|
@ -38,7 +38,6 @@ chip soc/intel/skylake
|
|||
register "EnableAzalia" = "1"
|
||||
register "DspEnable" = "1"
|
||||
register "IoBufferOwnership" = "3"
|
||||
register "EnableTraceHub" = "0"
|
||||
register "SsicPortEnable" = "0"
|
||||
register "Cio2Enable" = "1"
|
||||
register "SaImguEnable" = "1"
|
||||
|
|
|
@ -37,7 +37,6 @@ chip soc/intel/skylake
|
|||
register "EnableAzalia" = "1"
|
||||
register "DspEnable" = "1"
|
||||
register "IoBufferOwnership" = "3"
|
||||
register "EnableTraceHub" = "0"
|
||||
register "SsicPortEnable" = "0"
|
||||
register "Cio2Enable" = "0"
|
||||
register "SaImguEnable" = "0"
|
||||
|
|
|
@ -38,7 +38,6 @@ chip soc/intel/skylake
|
|||
register "EnableAzalia" = "1"
|
||||
register "DspEnable" = "1"
|
||||
register "IoBufferOwnership" = "3"
|
||||
register "EnableTraceHub" = "0"
|
||||
register "SsicPortEnable" = "0"
|
||||
register "Cio2Enable" = "1"
|
||||
register "SaImguEnable" = "1"
|
||||
|
|
|
@ -43,7 +43,6 @@ chip soc/intel/skylake
|
|||
register "EnableAzalia" = "1"
|
||||
register "DspEnable" = "1"
|
||||
register "IoBufferOwnership" = "3"
|
||||
register "EnableTraceHub" = "0"
|
||||
register "SsicPortEnable" = "0"
|
||||
register "Cio2Enable" = "1"
|
||||
register "SaImguEnable" = "1"
|
||||
|
|
|
@ -48,7 +48,6 @@ chip soc/intel/skylake
|
|||
register "EnableAzalia" = "1"
|
||||
register "DspEnable" = "1"
|
||||
register "IoBufferOwnership" = "3"
|
||||
register "EnableTraceHub" = "0"
|
||||
register "SsicPortEnable" = "0"
|
||||
register "Cio2Enable" = "0"
|
||||
register "SaImguEnable" = "0"
|
||||
|
|
|
@ -38,7 +38,6 @@ chip soc/intel/skylake
|
|||
register "EnableAzalia" = "1"
|
||||
register "DspEnable" = "1"
|
||||
register "IoBufferOwnership" = "3"
|
||||
register "EnableTraceHub" = "0"
|
||||
register "SsicPortEnable" = "0"
|
||||
register "Cio2Enable" = "1"
|
||||
register "SaImguEnable" = "1"
|
||||
|
|
|
@ -50,7 +50,6 @@ chip soc/intel/skylake
|
|||
register "EnableAzalia" = "1"
|
||||
register "DspEnable" = "1"
|
||||
register "IoBufferOwnership" = "0"
|
||||
register "EnableTraceHub" = "0"
|
||||
register "SsicPortEnable" = "0"
|
||||
register "Cio2Enable" = "0"
|
||||
register "ScsEmmcEnabled" = "0"
|
||||
|
|
|
@ -39,7 +39,6 @@ chip soc/intel/skylake
|
|||
register "EnableAzalia" = "0"
|
||||
register "DspEnable" = "0"
|
||||
register "IoBufferOwnership" = "0"
|
||||
register "EnableTraceHub" = "0"
|
||||
register "SsicPortEnable" = "0"
|
||||
register "Cio2Enable" = "0"
|
||||
register "ScsEmmcEnabled" = "0"
|
||||
|
|
|
@ -55,7 +55,6 @@ chip soc/intel/skylake
|
|||
register "EnableAzalia" = "1"
|
||||
register "DspEnable" = "0"
|
||||
register "IoBufferOwnership" = "0"
|
||||
register "EnableTraceHub" = "0"
|
||||
register "SsicPortEnable" = "0"
|
||||
register "Cio2Enable" = "0"
|
||||
register "ScsEmmcEnabled" = "0"
|
||||
|
|
|
@ -35,7 +35,6 @@ chip soc/intel/skylake
|
|||
register "EnableAzalia" = "1"
|
||||
register "DspEnable" = "0"
|
||||
register "IoBufferOwnership" = "0"
|
||||
register "EnableTraceHub" = "0"
|
||||
register "SsicPortEnable" = "0"
|
||||
register "Cio2Enable" = "0"
|
||||
register "ScsEmmcEnabled" = "0"
|
||||
|
|
|
@ -175,7 +175,6 @@ struct soc_intel_skylake_config {
|
|||
u8 IoBufferOwnership;
|
||||
|
||||
/* Trace Hub function */
|
||||
u8 EnableTraceHub;
|
||||
u32 TraceHubMemReg0Size;
|
||||
u32 TraceHubMemReg1Size;
|
||||
|
||||
|
|
|
@ -293,7 +293,9 @@ void platform_fsp_memory_init_params_cb(FSPM_UPD *mupd, uint32_t version)
|
|||
|
||||
/* DCI and TraceHub configs */
|
||||
m_t_cfg->PchDciEn = config->PchDciEn;
|
||||
m_cfg->EnableTraceHub = config->EnableTraceHub;
|
||||
|
||||
dev = pcidev_path_on_root(PCH_DEVFN_TRACEHUB);
|
||||
m_cfg->EnableTraceHub = dev ? dev->enabled : 0;
|
||||
m_cfg->TraceHubMemReg0Size = config->TraceHubMemReg0Size;
|
||||
m_cfg->TraceHubMemReg1Size = config->TraceHubMemReg1Size;
|
||||
|
||||
|
|
Loading…
Reference in a new issue