Commit c6a35733 authored by Anup Patel's avatar Anup Patel Committed by Anup Patel
Browse files

lib: utils: Fix sbi_hartid_to_scratch() usage in ACLINT drivers



The cold_init() functions of ACLINT drivers should skip the HART
if sbi_hartid_to_scratch() returns NULL because we might be dealing
with a HART that is disabled in the device tree.

Signed-off-by: default avatarAnup Patel <apatel@ventanamicro.com>
Reviewed-by: default avatarXiang W <wxjstz@126.com>
parent 7828eeba
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