forked from Mirrors/opensbi
		
	include: Add version info to struct sbi_platform
Add version control of sbi_platform structure - Add opensbi_version, this gives information of opensbi revision on which the sbi_platform table was created. - Add platform_version field in sbi_platform structure for platform level version control. Signed-off-by: Abner Chang <abner.chang@hpe.com> Acked-by: Anup Patel <anup.patel@wdc.com>
This commit is contained in:
		@@ -196,6 +196,8 @@ const struct sbi_platform_operations platform_ops = {
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
const struct sbi_platform platform = {
 | 
			
		||||
	.opensbi_version = OPENSBI_VERSION,
 | 
			
		||||
	.platform_version = SBI_PLATFORM_VERSION(0x0, 0x01),
 | 
			
		||||
	.name = "ARIANE RISC-V",
 | 
			
		||||
	.features = SBI_ARIANE_FEATURES,
 | 
			
		||||
	.hart_count = ARIANE_HART_COUNT,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user