tool: Move ALIGN_MASK to header as common MACRO
authorKever Yang <kever.yang@rock-chips.com>
Mon, 30 Mar 2020 03:56:17 +0000 (11:56 +0800)
committerTom Rini <trini@konsulko.com>
Fri, 24 Apr 2020 14:10:00 +0000 (10:10 -0400)
commitc738adb8dbbf28a34f8574239a241e85d46f3877
treef16bc06c077bda0a20db03571e23c053d9a95363
parent9b544c9eb312741e8e27bb738329bcf2737168ad
tool: Move ALIGN_MASK to header as common MACRO

The ALIGN code is need by many files who need handle structure or image
align, so move the macro to imagetool.h file.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Reviewed-by: Punit Agrawal <punit1.agrawal@toshiba.co.jp>
Reviewed-by: Tom Rini <trini@konsulko.com>
include/imx8image.h
tools/ifwitool.c
tools/imagetool.h
tools/imx8mimage.c
tools/mksunxiboot.c