aboutsummaryrefslogtreecommitdiff
path: root/tools/kwbimage.h
diff options
context:
space:
mode:
authorKever Yang <kever.yang@rock-chips.com>2020-03-30 11:56:20 +0800
committerTom Rini <trini@konsulko.com>2020-04-24 10:10:00 -0400
commite002ee7efc4a236f239aed54f89da913105ac6d5 (patch)
treed4427904aa00fa1295f66ec3e6a19fe5f7282488 /tools/kwbimage.h
parent29e7ab01866f44eec9dbe9ec7093eb1d1dda57d5 (diff)
downloadu-boot-e002ee7efc4a236f239aed54f89da913105ac6d5.zip
u-boot-e002ee7efc4a236f239aed54f89da913105ac6d5.tar.gz
u-boot-e002ee7efc4a236f239aed54f89da913105ac6d5.tar.bz2
tools: kwbimage: use common ALIGN to do the size align
The ALIGN() is now available at imagetool.h, migrate to use it. 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> Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'tools/kwbimage.h')
-rw-r--r--tools/kwbimage.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/kwbimage.h b/tools/kwbimage.h
index 25bc08c..0b6d05b 100644
--- a/tools/kwbimage.h
+++ b/tools/kwbimage.h
@@ -29,8 +29,6 @@
#define IBR_HDR_UART_ID 0x69
#define IBR_DEF_ATTRIB 0x00
-#define ALIGN_SUP(x, a) (((x) + (a - 1)) & ~(a - 1))
-
/* Structure of the main header, version 0 (Kirkwood, Dove) */
struct main_hdr_v0 {
uint8_t blockid; /* 0x0 */