arm: imx: hab: Make imx_hab_is_enabled global
authorBryan O'Donoghue <[email protected]>
Fri, 12 Jan 2018 12:40:16 +0000 (12:40 +0000)
committerStefano Babic <[email protected]>
Sun, 14 Jan 2018 16:26:30 +0000 (17:26 +0100)
commit07eefaf16e2a7aec35fa3ae8c17c5492cc0af524
tree3894f02d95fe988075812d950df4078216341064
parent4467ae6c28aa7eef84d5784f56234472a015d5e2
arm: imx: hab: Make imx_hab_is_enabled global

It will be helpful to boot commands to know if the HAB is enabled. Export
imx_hab_is_enabled() now to facilitate further work with this data-point in
a secure-boot context.

Signed-off-by: Bryan O'Donoghue <[email protected]>
Cc: Stefano Babic <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: Peng Fan <[email protected]>
Cc: Albert Aribaud <[email protected]>
Cc: Sven Ebenfeld <[email protected]>
Cc: George McCollister <[email protected]>
Cc: Breno Matheus Lima <[email protected]>
Tested-by: Breno Lima <[email protected]>
Reviewed-by: Fabio Estevam <[email protected]>
arch/arm/include/asm/mach-imx/hab.h
arch/arm/mach-imx/hab.c