summaryrefslogtreecommitdiff
path: root/platform/thead
diff options
context:
space:
mode:
authorAnup Patel <anup.patel@wdc.com>2020-03-02 15:19:17 +0300
committerAnup Patel <anup@brainfault.org>2020-03-11 13:00:12 +0300
commit44ce5b99e97eb0c3695414cdb64c61f07d9a76a4 (patch)
treebdf1778b00df90d69a76f2ee65fb4456aad81f45 /platform/thead
parent2b945fc180026d8eef701226a9bf0a82976c71c1 (diff)
downloadopensbi-44ce5b99e97eb0c3695414cdb64c61f07d9a76a4.tar.xz
include: Remove disabled_hart_mask from sbi_platform
The disabled_hard_mask in sbi_platform is only 64bits wide so we cannot disable a HART with HARTID > 63. To tackle this, we remove disabled_hart_mask and replace it with hart_disabled() platform callback. Signed-off-by: Anup Patel <anup.patel@wdc.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Atish Patra <atish.patra@wdc.com>
Diffstat (limited to 'platform/thead')
-rw-r--r--platform/thead/c910/platform.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/platform/thead/c910/platform.c b/platform/thead/c910/platform.c
index 9d73bf4..482caad 100644
--- a/platform/thead/c910/platform.c
+++ b/platform/thead/c910/platform.c
@@ -153,6 +153,5 @@ const struct sbi_platform platform = {
.features = SBI_THEAD_FEATURES,
.hart_count = C910_HART_COUNT,
.hart_stack_size = C910_HART_STACK_SIZE,
- .disabled_hart_mask = 0,
.platform_ops_addr = (unsigned long)&platform_ops
};