mirror of
https://github.com/riscv-software-src/opensbi.git
synced 2025-10-10 10:31:43 +01:00

The sbi_hartid_to_scratch() involves translating hartid to hartindex which is expensive so let's use sbi_hartindex_to_scratch() instead. Signed-off-by: Anup Patel <apatel@ventanamicro.com>