forked from Mirrors/opensbi
		
	include: sbi: Simplify HSM state define names
We simplify HSM state define names so that these defines can directly replace SBI_HART_xyz defines used by SBI HSM implementation. Signed-off-by: Anup Patel <anup.patel@wdc.com> Reviewed-by: Atish Patra <atish.patra@wdc.com>
This commit is contained in:
		@@ -58,10 +58,10 @@
 | 
			
		||||
#define SBI_EXT_HSM_HART_STOP			0x1
 | 
			
		||||
#define SBI_EXT_HSM_HART_GET_STATUS		0x2
 | 
			
		||||
 | 
			
		||||
#define SBI_HSM_HART_STATUS_STARTED		0x0
 | 
			
		||||
#define SBI_HSM_HART_STATUS_STOPPED		0x1
 | 
			
		||||
#define SBI_HSM_HART_STATUS_START_PENDING	0x2
 | 
			
		||||
#define SBI_HSM_HART_STATUS_STOP_PENDING	0x3
 | 
			
		||||
#define SBI_HSM_STATE_STARTED			0x0
 | 
			
		||||
#define SBI_HSM_STATE_STOPPED			0x1
 | 
			
		||||
#define SBI_HSM_STATE_START_PENDING		0x2
 | 
			
		||||
#define SBI_HSM_STATE_STOP_PENDING		0x3
 | 
			
		||||
 | 
			
		||||
/* SBI function IDs for SRST extension */
 | 
			
		||||
#define SBI_EXT_SRST_RESET			0x0
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user