[U-Boot] [PATCH v3 1/2] imximage: Encase majority of header in __ASSEMBLY__ declaration

Breno Matheus Lima breno.lima at nxp.com
Wed Mar 28 00:56:21 UTC 2018


Hi All,

-----Original Message-----
From: Bryan O'Donoghue [mailto:bryan.odonoghue at linaro.org] 
Sent: segunda-feira, 26 de março de 2018 11:37
To: u-boot at lists.denx.de; Fabio Estevam <fabio.estevam at nxp.com>
Cc: rui.silva at linaro.org; sbabic at denx.de; Bryan O'Donoghue <bryan.odonoghue at linaro.org>; Utkarsh Gupta <utkarsh.gupta at nxp.com>; Breno Matheus Lima <breno.lima at nxp.com>
Subject: [PATCH v3 1/2] imximage: Encase majority of header in __ASSEMBLY__ declaration

Subsequent patches will want to include imageimage.h but in doing so include it on an assembly compile path causing a range of compile errors.
Fix the errors pre-emptively by encasing the majority of the declarations in imximage.h inside an ifdef __ASSEMBLY__ block.

Signed-off-by: Bryan O'Donoghue <bryan.odonoghue at linaro.org>
Cc: Utkarsh Gupta <utkarsh.gupta at nxp.com>
Cc: Breno Lima <breno.lima at nxp.com>
Cc: Fabio Estevam <fabio.estevam at nxp.com>

Tested-by: Breno Lima <breno.lima at nxp.com>

Thanks,
Breno



More information about the U-Boot mailing list