aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/mach-imx
diff options
context:
space:
mode:
authorBryan O'Donoghue <bryan.odonoghue@linaro.org>2018-01-12 12:40:13 +0000
committerStefano Babic <sbabic@denx.de>2018-01-14 17:26:30 +0100
commit57f65486068e807c4d39309009930451f7cf9604 (patch)
treea61635e56cde71727a92e73f9f92858586ef6f61 /arch/arm/include/asm/mach-imx
parent58bebfb753e5ae0a87fff59fa44afae0c1b0cabf (diff)
downloadu-boot-57f65486068e807c4d39309009930451f7cf9604.zip
u-boot-57f65486068e807c4d39309009930451f7cf9604.tar.gz
u-boot-57f65486068e807c4d39309009930451f7cf9604.tar.bz2
arm: imx: hab: Prefix authenticate_image with imx_hab
Tidy up the HAB namespace a bit by prefixing external functions with imx_hab. All external facing functions past this point will be prefixed in the same way to make the fact we are doing IMX HAB activities clear from reading the code. authenticate_image() could mean anything imx_hab_authenticate_image() is on the other hand very explicit. Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Cc: Stefano Babic <sbabic@denx.de> Cc: Fabio Estevam <fabio.estevam@nxp.com> Cc: Peng Fan <peng.fan@nxp.com> Cc: Albert Aribaud <albert.u.boot@aribaud.net> Cc: Sven Ebenfeld <sven.ebenfeld@gmail.com> Cc: George McCollister <george.mccollister@gmail.com> Cc: Breno Matheus Lima <brenomatheus@gmail.com> Tested-by: Breno Lima <breno.lima@nxp.com> Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Diffstat (limited to 'arch/arm/include/asm/mach-imx')
-rw-r--r--arch/arm/include/asm/mach-imx/hab.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/include/asm/mach-imx/hab.h b/arch/arm/include/asm/mach-imx/hab.h
index 14e1220..98bc1bd 100644
--- a/arch/arm/include/asm/mach-imx/hab.h
+++ b/arch/arm/include/asm/mach-imx/hab.h
@@ -185,7 +185,7 @@ typedef void hapi_clock_init_t(void);
/* ----------- end of HAB API updates ------------*/
-int authenticate_image(uint32_t ddr_start, uint32_t image_size,
- uint32_t ivt_offset);
+int imx_hab_authenticate_image(uint32_t ddr_start, uint32_t image_size,
+ uint32_t ivt_offset);
#endif