From e002ee7efc4a236f239aed54f89da913105ac6d5 Mon Sep 17 00:00:00 2001 From: Kever Yang Date: Mon, 30 Mar 2020 11:56:20 +0800 Subject: 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 Reviewed-by: Punit Agrawal Reviewed-by: Tom Rini Reviewed-by: Stefan Roese --- tools/kwbimage.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'tools/kwbimage.h') 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 */ -- cgit v1.1