summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorMahesh Mahadevan <Mahesh.Mahadevan@freescale.com>2013-06-05 15:14:35 -0500
committerMahesh Mahadevan <Mahesh.Mahadevan@freescale.com>2013-06-07 12:55:19 -0500
commit613bf07455a67bd0f6bea608888ed825dc0e686b (patch)
treee4138e6f98125a3fde953d08eb0de34894f448e4 /board
parent3646cf55f4c5e82268743c78fbe1112d098e6981 (diff)
downloadu-boot-imx-613bf07455a67bd0f6bea608888ed825dc0e686b.zip
u-boot-imx-613bf07455a67bd0f6bea608888ed825dc0e686b.tar.gz
u-boot-imx-613bf07455a67bd0f6bea608888ed825dc0e686b.tar.bz2
ENGR00266247 Do not limit HAB code for closed systems only
1. It is very useful to print the HAB event details when the system is not closed to help debug issues before blowing the fuse to secure the system. 2. Also need to authenticate a signed uImage in a open system to help debug issues. Signed-off-by: Mahesh Mahadevan <Mahesh.Mahadevan@freescale.com>
Diffstat (limited to 'board')
-rw-r--r--board/freescale/mx6q_arm2/mx6q_arm2.c3
-rw-r--r--board/freescale/mx6q_sabresd/mx6q_sabresd.c3
-rw-r--r--board/freescale/mx6sl_arm2/mx6sl_arm2.c3
-rw-r--r--board/freescale/mx6sl_evk/mx6sl_evk.c3
4 files changed, 4 insertions, 8 deletions
diff --git a/board/freescale/mx6q_arm2/mx6q_arm2.c b/board/freescale/mx6q_arm2/mx6q_arm2.c
index e8c54c9..d6d7257 100644
--- a/board/freescale/mx6q_arm2/mx6q_arm2.c
+++ b/board/freescale/mx6q_arm2/mx6q_arm2.c
@@ -1449,8 +1449,7 @@ int checkboard(void)
}
#ifdef CONFIG_SECURE_BOOT
- if (check_hab_enable() == 1)
- get_hab_status();
+ get_hab_status();
#endif
return 0;
diff --git a/board/freescale/mx6q_sabresd/mx6q_sabresd.c b/board/freescale/mx6q_sabresd/mx6q_sabresd.c
index 32f23ac..b37b776 100644
--- a/board/freescale/mx6q_sabresd/mx6q_sabresd.c
+++ b/board/freescale/mx6q_sabresd/mx6q_sabresd.c
@@ -1965,8 +1965,7 @@ int checkboard(void)
}
#ifdef CONFIG_SECURE_BOOT
- if (check_hab_enable() == 1)
- get_hab_status();
+ get_hab_status();
#endif
return 0;
diff --git a/board/freescale/mx6sl_arm2/mx6sl_arm2.c b/board/freescale/mx6sl_arm2/mx6sl_arm2.c
index 5c28ebc..0e4027e 100644
--- a/board/freescale/mx6sl_arm2/mx6sl_arm2.c
+++ b/board/freescale/mx6sl_arm2/mx6sl_arm2.c
@@ -1098,8 +1098,7 @@ int checkboard(void)
}
#ifdef CONFIG_SECURE_BOOT
- if (check_hab_enable() == 1)
- get_hab_status();
+ get_hab_status();
#endif
return 0;
diff --git a/board/freescale/mx6sl_evk/mx6sl_evk.c b/board/freescale/mx6sl_evk/mx6sl_evk.c
index 6cdcc0f..e29761e 100644
--- a/board/freescale/mx6sl_evk/mx6sl_evk.c
+++ b/board/freescale/mx6sl_evk/mx6sl_evk.c
@@ -1117,8 +1117,7 @@ int checkboard(void)
}
#ifdef CONFIG_SECURE_BOOT
- if (check_hab_enable() == 1)
- get_hab_status();
+ get_hab_status();
#endif
return 0;