mb/system76: Enable C10 reporting on systems using eSPI
Report CPU C10 state over eSPI so that the EC can use Virtual Wires to detect if PECI can be used. Change-Id: I301361f35caee8ba1c3fd9227219603897add92b Signed-off-by: Tim Crawford <tcrawford@system76.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/76910 Reviewed-by: Jeremy Soller <jeremy@system76.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
		
				
					committed by
					
						
						Kyösti Mälkki
					
				
			
			
				
	
			
			
			
						parent
						
							c9f99e5632
						
					
				
				
					commit
					1d3e6eba02
				
			@@ -17,6 +17,9 @@ void mainboard_silicon_init_params(FSP_S_CONFIG *params)
 | 
				
			|||||||
	params->SataPortDevSlpPinMux[1] = 0x5967400d; // GPP_H13
 | 
						params->SataPortDevSlpPinMux[1] = 0x5967400d; // GPP_H13
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	params->SataPortsSolidStateDrive[1] = 1;
 | 
						params->SataPortsSolidStateDrive[1] = 1;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						// Enable reporting CPU C10 state over eSPI
 | 
				
			||||||
 | 
						params->PchEspiHostC10ReportEnable = 1;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static void mainboard_init(void *chip_info)
 | 
					static void mainboard_init(void *chip_info)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -18,4 +18,7 @@ void mainboard_silicon_init_params(FSP_S_CONFIG *params)
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
	// Remap PEG2 as PEG1
 | 
						// Remap PEG2 as PEG1
 | 
				
			||||||
	params->CpuPcieRpFunctionSwap = 1;
 | 
						params->CpuPcieRpFunctionSwap = 1;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						// Enable reporting CPU C10 state over eSPI
 | 
				
			||||||
 | 
						params->PchEspiHostC10ReportEnable = 1;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -15,4 +15,7 @@ void mainboard_silicon_init_params(FSP_S_CONFIG *params)
 | 
				
			|||||||
	params->CpuPcieRpAdvancedErrorReporting[1] = 0;
 | 
						params->CpuPcieRpAdvancedErrorReporting[1] = 0;
 | 
				
			||||||
	params->CpuPcieRpLtrEnable[1] = 1;
 | 
						params->CpuPcieRpLtrEnable[1] = 1;
 | 
				
			||||||
	params->CpuPcieRpPtmEnabled[1] = 0;
 | 
						params->CpuPcieRpPtmEnabled[1] = 0;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						// Enable reporting CPU C10 state over eSPI
 | 
				
			||||||
 | 
						params->PchEspiHostC10ReportEnable = 1;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -21,4 +21,7 @@ void mainboard_silicon_init_params(FSP_S_CONFIG *params)
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
	// Low latency legacy I/O
 | 
						// Low latency legacy I/O
 | 
				
			||||||
	params->PchLegacyIoLowLatency = 1;
 | 
						params->PchLegacyIoLowLatency = 1;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						// Enable reporting CPU C10 state over eSPI
 | 
				
			||||||
 | 
						params->PchEspiHostC10ReportEnable = 1;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user