mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-09-30 18:21:28 +02:00
imx: hab: Display All HAB events via hab_status command
Add ability for hab_status command to show All HAB events and not just HAB failure events Signed-off-by: Utkarsh Gupta <utkarsh.gupta@nxp.com> Reviewed-by: Ye Li <ye.li@nxp.com> Signed-off-by: Peng Fan <peng.fan@nxp.com>
This commit is contained in:
parent
1d756add3c
commit
cd8355664d
@ -456,8 +456,8 @@ static int get_hab_status(void)
|
|||||||
printf("\nHAB Configuration: 0x%02x, HAB State: 0x%02x\n",
|
printf("\nHAB Configuration: 0x%02x, HAB State: 0x%02x\n",
|
||||||
config, state);
|
config, state);
|
||||||
|
|
||||||
/* Display HAB Error events */
|
/* Display HAB events */
|
||||||
while (hab_rvt_report_event(HAB_FAILURE, index, event_data,
|
while (hab_rvt_report_event(HAB_STS_ANY, index, event_data,
|
||||||
&bytes) == HAB_SUCCESS) {
|
&bytes) == HAB_SUCCESS) {
|
||||||
puts("\n");
|
puts("\n");
|
||||||
printf("--------- HAB Event %d -----------------\n",
|
printf("--------- HAB Event %d -----------------\n",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user