lib: Add timer exit API
authorAnup Patel <anup.patel@wdc.com>
Fri, 3 Jan 2020 03:48:42 +0000 (09:18 +0530)
committerAnup Patel <anup.patel@wdc.com>
Tue, 7 Jan 2020 06:40:55 +0000 (12:10 +0530)
commit6469ed101cb3c036cce1ead0d64160a7315f72af
tree3deec50bffa180639771f83c07d3ca2a7d470e9f
parent55e191e3b09c4979212c592a4e86e0f561ce1f97
lib: Add timer exit API

We add sbi_timer_exit() API for OpenSBI exit path handling in
sbi_exit() implementation.

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