diff options
author | Anup Patel <anup.patel@wdc.com> | 2020-03-11 19:08:08 +0530 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2020-03-13 12:18:07 +0530 |
commit | f92147c2b2fd01bd32debe4d6cb0375705dceeac (patch) | |
tree | fc13e8112f70b8788a5d0352fc35f97796ecfc2e /firmware | |
parent | baac7e066d1d1eabffa7f40ab7414c23b38b9fae (diff) |
include: Make sbi_hart_id_to_scratch() as macro
The sbi_hart_id_to_scratch() just forwards call to firmware specific
hartid_to_scratch() callback so we make sbi_hart_id_to_scratch() as
macro in sbi_scratch.h instead of regular function in sbi_hart.c.
Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions