mirror of
https://github.com/riscv-software-src/opensbi.git
synced 2026-11-20 02:22:19 +00:00
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:
1 parent
51d3964f07
commit
24b4d48674
8 files changed
+4
-8
No files matched your search
@@ -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