mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-10-31 03:58:17 +00:00 
			
		
		
		
	System firmware does not guarantee that clocks going out of the device will be stable during power management configuration. There are some DCRC errors when SPL tries to get the next stage during eMMC boot after sysfw pm configuration. Therefore add a config_pm_pre_callback() to switch off the eMMC clock before power management and restart it after it is done. Signed-off-by: Faiz Abbas <faiz_abbas@ti.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
		
			
				
	
	
		
			13 lines
		
	
	
		
			322 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			322 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /* SPDX-License-Identifier: GPL-2.0+ */
 | |
| /*
 | |
|  * Copyright (C) 2019 Texas Instruments Incorporated - http://www.ti.com/
 | |
|  *	Andreas Dannenberg <dannenberg@ti.com>
 | |
|  */
 | |
| 
 | |
| #ifndef _SYSFW_LOADER_H_
 | |
| #define _SYSFW_LOADER_H_
 | |
| 
 | |
| void k3_sysfw_loader(void (*config_pm_pre_callback)(void), void (*config_pm_done_callback)(void));
 | |
| 
 | |
| #endif
 |