mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-11-04 05:50:17 +00:00 
			
		
		
		
	This patch adds an implementation of the Meson Secure Monitor driver based on UCLASS_SM. Signed-off-by: Alexey Romanov <avromanov@salutedevices.com> Reviewed-by: Simon Glass <sjg@chromium.org> Link: https://lore.kernel.org/r/20230921081346.22157-7-avromanov@salutedevices.com Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
		
			
				
	
	
		
			20 lines
		
	
	
		
			487 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			487 B
		
	
	
	
		
			C
		
	
	
	
	
	
/* SPDX-License-Identifier: GPL-2.0+ */
 | 
						|
/*
 | 
						|
 * Copyright (c) 2023 SberDevices, Inc.
 | 
						|
 *
 | 
						|
 * Author: Alexey Romanov <avromanov@salutedevices.com>
 | 
						|
 */
 | 
						|
 | 
						|
#ifndef __MESON_SM_CMD_H__
 | 
						|
#define __MESON_SM_CMD_H__
 | 
						|
 | 
						|
enum meson_smc_cmd {
 | 
						|
	MESON_SMC_CMD_EFUSE_READ,  /* read efuse memory */
 | 
						|
	MESON_SMC_CMD_EFUSE_WRITE, /* write efuse memory */
 | 
						|
	MESON_SMC_CMD_CHIP_ID_GET, /* readh chip unique id */
 | 
						|
	MESON_SMC_CMD_PWRDM_SET,   /* do command at specified power domain */
 | 
						|
	MESON_SMC_CMD_COUNT,
 | 
						|
};
 | 
						|
 | 
						|
#endif
 |