include: sbi: Remove opensbi specific reset type defines
authorAnup Patel <anup.patel@wdc.com>
Tue, 24 Nov 2020 04:43:16 +0000 (10:13 +0530)
committerAnup Patel <anup@brainfault.org>
Tue, 1 Dec 2020 11:35:12 +0000 (17:05 +0530)
commitc4acc60a4694a45ac154948efa300adbf30d0425
tree4f87822115de7fc653965d28eada29ac27f7fa94
parent54a7734d86fb43d3a7892d474c7d4593f34c124e
include: sbi: Remove opensbi specific reset type defines

We can now use the standard SBI SRST extension reset types instead
of the opensbi specific (SBI_PLATFORM_RESET_xyz) reset types hence
remove related opensbi specific defines. The "platform_" prefix of
the reset type parameter of sbi_system_reset() function should also
be removed.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
include/sbi/sbi_platform.h
include/sbi/sbi_system.h
lib/sbi/sbi_ecall_legacy.c
lib/sbi/sbi_system.c
lib/utils/sys/sifive_test.c