]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
tools: ifdtool: Do not write region while its size is negative
authorBin Meng <bmeng.cn@gmail.com>
Sun, 31 May 2015 06:57:35 +0000 (14:57 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:48:16 +0000 (22:48 +0200)
commitf3d774ec560921ba17b031bf45248b93fbc19f6c
treee0b58a2fc870134394c0d974cdb8815006940520
parentd649e81b648610f7a0909a7c779f08aee543d211
tools: ifdtool: Do not write region while its size is negative

We should ignore those regions whose size is negative. These are
typically optional and unused regions (like GbE and platform data).

Change-Id: I65ad01746144604a1dc0588b617af21f2722ebbf
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
tools/ifdtool.c