From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Tue, 17 Mar 2015 10:24:38 +0100 Subject: [U-Boot] [PATCH] tools/kwbimage.c: Correct header size for SPI boot In-Reply-To: <1426517877-7051-1-git-send-email-kevin.smith@elecsyscorp.com> References: <1426517877-7051-1-git-send-email-kevin.smith@elecsyscorp.com> Message-ID: <5507F2D6.8000506@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 16.03.2015 15:58, Kevin Smith wrote: > If defined, the macro CONFIG_SYS_SPI_U_BOOT_OFFS allows a board > to specify the offset of the payload image into the kwb image > file. This value was being used to locate the image, but was not > used in the "header size" field of the main header. Move the > use of this macro into the function that returns the header size > so that the same value is used in all places. > > Signed-off-by: Kevin Smith Works fine, so: Tested-by: Stefan Roese Thanks, Stefan