mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-11-03 21:48:15 +00:00 
			
		
		
		
	versal_pm_request() and invoke_smc() are almost the same. Only one difference is that versal_pm_request is adding PM_SIP_SVC offset to api_id. The patch is moving platform implementation to firmware driver code for synchronization. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Luca Ceresoli <luca@lucaceresoli.net>
		
			
				
	
	
		
			15 lines
		
	
	
		
			197 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			197 B
		
	
	
	
		
			C
		
	
	
	
	
	
/* SPDX-License-Identifier: GPL-2.0+ */
 | 
						|
/*
 | 
						|
 * Copyright 2016 - 2018 Xilinx, Inc.
 | 
						|
 */
 | 
						|
 | 
						|
enum {
 | 
						|
	TCM_LOCK,
 | 
						|
	TCM_SPLIT,
 | 
						|
};
 | 
						|
 | 
						|
#define PAYLOAD_ARG_CNT	4U
 | 
						|
 | 
						|
void tcm_init(u8 mode);
 | 
						|
void mem_map_fill(void);
 |