diff options
Diffstat (limited to 'include/hab.h')
-rw-r--r-- | include/hab.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/hab.h b/include/hab.h index abfce18736..a74b7dafce 100644 --- a/include/hab.h +++ b/include/hab.h @@ -21,9 +21,9 @@ #include <errno.h> #ifdef CONFIG_HABV4 -extern bool habv4_need_rng_software_self_test; int imx28_hab_get_status(void); int imx6_hab_get_status(void); +bool caam_need_rng_software_selftest(void); #else static inline int imx28_hab_get_status(void) { @@ -33,6 +33,10 @@ static inline int imx6_hab_get_status(void) { return -EPERM; } +static inline bool caam_need_rng_software_selftest(void) +{ + return false; +} #endif #ifdef CONFIG_HABV3 |