diff options
author | Anup Patel <anup.patel@wdc.com> | 2020-03-02 17:49:17 +0530 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2020-03-11 15:30:12 +0530 |
commit | 44ce5b99e97eb0c3695414cdb64c61f07d9a76a4 (patch) | |
tree | bdf1778b00df90d69a76f2ee65fb4456aad81f45 /platform/andes/ae350/platform.c | |
parent | 2b945fc180026d8eef701226a9bf0a82976c71c1 (diff) |
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/andes/ae350/platform.c')
-rw-r--r-- | platform/andes/ae350/platform.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/platform/andes/ae350/platform.c b/platform/andes/ae350/platform.c index d14266d..08db3eb 100644 --- a/platform/andes/ae350/platform.c +++ b/platform/andes/ae350/platform.c @@ -156,7 +156,6 @@ static int ae350_system_shutdown(u32 type) /* Platform descriptor. */ const struct sbi_platform_operations platform_ops = { - .final_init = ae350_final_init, .pmp_region_count = ae350_pmp_region_count, @@ -182,13 +181,11 @@ const struct sbi_platform_operations platform_ops = { }; const struct sbi_platform platform = { - .opensbi_version = OPENSBI_VERSION, .platform_version = SBI_PLATFORM_VERSION(0x0, 0x01), .name = "Andes AE350", .features = SBI_PLATFORM_DEFAULT_FEATURES, .hart_count = AE350_HART_COUNT, .hart_stack_size = AE350_HART_STACK_SIZE, - .disabled_hart_mask = 0, .platform_ops_addr = (unsigned long)&platform_ops }; |