Commit 4f2acb53 authored by Heiko Stuebner's avatar Heiko Stuebner Committed by Anup Patel
Browse files

lib: sbi_platform: expose hart_features to extension_init callback



The platform-specific extension_init callback is supposed to
set specific things for the platform opensbi is running on.

So it's also the right place to override specific hart_features
if needed - when it's know that autodetection has provided
wrong results for example.

Suggested-by: default avatarAtish Patra <atishp@atishpatra.org>
Reviewed-by: default avatarAndrew Jones <ajones@ventanamicro.com>
Reviewed-by: default avatarGuo Ren <guoren@kernel.org>
Reviewed-by: default avatarAnup Patel <anup@brainfault.org>
Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
parent c316fa38
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment