forked from Mirrors/opensbi
		
	platform: Remove PLAT_NAME from all platforms
The PLAT_NAME is used only in platform.c for all platforms hence remove it. Signed-off-by: Anup Patel <anup.patel@wdc.com>
This commit is contained in:
		@@ -8,7 +8,6 @@
 | 
			
		||||
#
 | 
			
		||||
 | 
			
		||||
# Essential defines required by SBI platform
 | 
			
		||||
platform-cppflags-y = -DPLAT_NAME="SiFive HiFive U540"
 | 
			
		||||
platform-cppflags-y+= -DPLAT_HART_COUNT=5
 | 
			
		||||
platform-cppflags-y+= -DPLAT_HART_STACK_SIZE=8192
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -120,7 +120,7 @@ static int sifive_u_system_down(u32 type)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
struct sbi_platform platform = {
 | 
			
		||||
	.name = STRINGIFY(PLAT_NAME),
 | 
			
		||||
	.name = "SiFive HiFive U540",
 | 
			
		||||
	.features = SBI_PLATFORM_DEFAULT_FEATURES,
 | 
			
		||||
	.hart_count = PLAT_HART_COUNT,
 | 
			
		||||
	.hart_stack_size = PLAT_HART_STACK_SIZE,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user