]> git.baikalelectronics.ru Git - uboot.git/commit
imx: hab: Make usage of packed attribute consistent
authorBryan O'Donoghue <bryan.odonoghue@linaro.org>
Fri, 9 Mar 2018 13:07:20 +0000 (13:07 +0000)
committerStefano Babic <sbabic@denx.de>
Sun, 11 Mar 2018 15:00:00 +0000 (16:00 +0100)
commit9286f7a01262a5a1355ee268941ddfc498cbed24
tree9dd79d28d8ea26889fef72838ea00976cd74138c
parent720a6ca2c92c98ff6b9710449ba7c0328c39ea1c
imx: hab: Make usage of packed attribute consistent

commit 603a7f475c35 ("arm: imx: hab: Add IVT header definitions") declares
struct ivt_header as "__attribute__((packed))".

commit bc1b348e6133 ("imx: hab: Check if CSF is valid before
authenticating image") declares struct hab_hdr with __packed.

This patch makes the __packed convention consistent.

Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Cc: Utkarsh Gupta <utkarsh.gupta@nxp.com>
Cc: Breno Lima <breno.lima@nxp.com>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
arch/arm/include/asm/mach-imx/hab.h