soc/intel/cannonlake: Enable CPU flexible ratio
CPU ratio will be fixed to non-turbo max value if CpuRatio UPD had been set to zero. BUG=N/A TEST=Boot up into sarien system, cat /proc/cpuinfo and cpu frequency is changing. Signed-off-by: Lijian Zhao <lijian.zhao@intel.com> Change-Id: I3e82293c8b6027ddf9a528d0654fe46f233dcb82 Reviewed-on: https://review.coreboot.org/c/30216 Reviewed-by: Nick Vaccaro <nvaccaro@google.com> Reviewed-by: Duncan Laurie <dlaurie@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
		
				
					committed by
					
						 Patrick Georgi
						Patrick Georgi
					
				
			
			
				
	
			
			
			
						parent
						
							8fc49096f9
						
					
				
				
					commit
					fd02ff0375
				
			| @@ -45,8 +45,6 @@ static void soc_memory_init_params(FSP_M_CONFIG *m_cfg, const config_t *config) | ||||
| 	m_cfg->PcieRpEnableMask = mask; | ||||
| 	m_cfg->PrmrrSize = config->PrmrrSize; | ||||
| 	m_cfg->EnableC6Dram = config->enable_c6dram; | ||||
| 	/* Disable Cpu Ratio Override temporary. */ | ||||
| 	m_cfg->CpuRatio = 0; | ||||
| 	m_cfg->PcdSerialIoUartNumber = CONFIG_UART_FOR_CONSOLE; | ||||
| 	/* Disable Vmx if Vt-d is already disabled */ | ||||
| 	if (config->VtdDisable) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user