imximage: Encase majority of header in __ASSEMBLY__ declaration
authorBryan O'Donoghue <[email protected]>
Mon, 26 Mar 2018 14:36:45 +0000 (15:36 +0100)
committerStefano Babic <[email protected]>
Sun, 15 Apr 2018 09:44:13 +0000 (11:44 +0200)
commitf4d8fccd3884ea8f76503966b14d0c25129e23eb
tree2863a117a8c70a076433bf5fa0ae155da268e435
parent852cc548b3fdf6d5b46e2a96f876d14608ccdcf4
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 <[email protected]>
Cc: Utkarsh Gupta <[email protected]>
Cc: Breno Lima <[email protected]>
Cc: Fabio Estevam <[email protected]>
Signed-off-by: Bryan O'Donoghue <[email protected]>
Tested-by: Breno Lima <[email protected]>
include/imximage.h