From: Ye Li Date: Thu, 25 Mar 2021 09:30:09 +0000 (+0800) Subject: hab: Change calling to ROM API failsafe X-Git-Tag: v2021.10~234^2~82 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1dc295148a93bc5b856b8b964079b54ea7f29514;p=platform%2Fkernel%2Fu-boot.git hab: Change calling to ROM API failsafe Modify to use hab_rvt_failsafe function for failsafe ROM API, not directly call its ROM address. This function will wrap the sip call for iMX8M platforms. Signed-off-by: Ye Li Signed-off-by: Peng Fan --- diff --git a/arch/arm/mach-imx/hab.c b/arch/arm/mach-imx/hab.c index f2d5f74..bd00d4a 100644 --- a/arch/arm/mach-imx/hab.c +++ b/arch/arm/mach-imx/hab.c @@ -539,14 +539,11 @@ static int do_authenticate_image(struct cmd_tbl *cmdtp, int flag, int argc, static int do_hab_failsafe(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]) { - hab_rvt_failsafe_t *hab_rvt_failsafe; - if (argc != 1) { cmd_usage(cmdtp); return 1; } - hab_rvt_failsafe = (hab_rvt_failsafe_t *)HAB_RVT_FAILSAFE; hab_rvt_failsafe(); return 0;