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:
parent
1ab43d022e
commit
c22a6b218d
|
|
@ -816,6 +816,8 @@ int fit_board_verify_required_sigs(void)
|
|||
return 1;
|
||||
}
|
||||
#endif
|
||||
printf("## Verified-boot: %d\n", vboot);
|
||||
|
||||
return vboot;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue