aboutsummaryrefslogtreecommitdiff
path: root/lib/sbi/sbi_platform.c
diff options
context:
space:
mode:
authorAnup Patel <anup.patel@wdc.com>2021-04-22 14:14:02 +0530
committerAnup Patel <anup@brainfault.org>2021-04-28 17:31:07 +0530
commita84a1ddbbabb2389b5af91473250d0aff90e40d7 (patch)
tree23d28621efd4573e17ded43bbb474600084e5b32 /lib/sbi/sbi_platform.c
parent043d088e3964ec64b091f739e2282f53f7d264fb (diff)
lib: sbi: Simplify HSM platform operations
Instead of having hsm_start(), hsm_stop() and hsm_suspend() callbacks in platform operations, it will be much simpler for HSM driver to directly register these operations as a device to the sbi_hsm implementation. Signed-off-by: Anup Patel <anup.patel@wdc.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'lib/sbi/sbi_platform.c')
-rw-r--r--lib/sbi/sbi_platform.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/sbi/sbi_platform.c b/lib/sbi/sbi_platform.c
index e78119a..e8b94a3 100644
--- a/lib/sbi/sbi_platform.c
+++ b/lib/sbi/sbi_platform.c
@@ -19,15 +19,9 @@ static inline char *sbi_platform_feature_id2string(unsigned long feature)
return NULL;
switch (feature) {
- case SBI_PLATFORM_HAS_HART_HOTPLUG:
- fstr = "hotplug";
- break;
case SBI_PLATFORM_HAS_MFAULTS_DELEGATION:
fstr = "mfdeleg";
break;
- case SBI_PLATFORM_HAS_HART_SECONDARY_BOOT:
- fstr = "sec_boot";
- break;
default:
break;
}