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="Kendryte K210"
|
||||
platform-cppflags-y+= -DPLAT_HART_COUNT=2
|
||||
platform-cppflags-y+= -DPLAT_HART_STACK_SIZE=4096
|
||||
|
||||
|
@@ -76,7 +76,7 @@ static int k210_system_shutdown(u32 type)
|
||||
|
||||
struct sbi_platform platform = {
|
||||
|
||||
.name = STRINGIFY(PLAT_NAME),
|
||||
.name = "Kendryte K210",
|
||||
.features = SBI_PLATFORM_HAS_MMIO_TIMER_VALUE,
|
||||
|
||||
.hart_count = PLAT_HART_COUNT,
|
||||
|
Reference in New Issue
Block a user