mirror of
https://github.com/riscv-software-src/opensbi.git
synced 2025-08-28 17:21:40 +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>