rockchip: return boolean for otp verified-boot flag

Print this important information.

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: Ibf59f5c13285960d3b022a9c67d6cee3a274eaf1
This commit is contained in:
Joseph Chen 2020-05-22 17:27:01 +08:00 committed by Jianhong Chen
parent 1ab43d022e
commit c22a6b218d
2 changed files with 5 additions and 1 deletions

View File

@ -816,6 +816,8 @@ int fit_board_verify_required_sigs(void)
return 1;
}
#endif
printf("## Verified-boot: %d\n", vboot);
return vboot;
}

View File

@ -328,5 +328,7 @@ int fit_board_verify_required_sigs(void)
return 1;
}
#endif
return vboot;
printf("## Verified-boot: %d\n", vboot);
return vboot == 0xff;
}