include: sbi: Use scratch pointer as parmeter in HART feature APIs
authorAnup Patel <anup.patel@wdc.com>
Mon, 11 May 2020 06:00:15 +0000 (11:30 +0530)
committerAnup Patel <anup@brainfault.org>
Tue, 19 May 2020 03:49:42 +0000 (09:19 +0530)
commit63b0f5f71a4d6bf8539a8cbfa27228dc76e7d71a
treeabbcdde88ebf1a646ef71829799718aa01a2fb3b
parent3a8fc8135714e39bef99cbf2a4b31e6f2f19a929
include: sbi: Use scratch pointer as parmeter in HART feature APIs

It makes more sense to have scratch pointer as parameter in
HART feature APIs because:
1. We already have scratch pointer at places where these APIs
   are used.
2. This is consistent with lot of other APIs in sbi_hart.h

Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
include/sbi/sbi_hart.h
lib/sbi/sbi_hart.c
lib/sbi/sbi_init.c
lib/sbi/sbi_timer.c
lib/utils/fdt/fdt_fixup.c