]> git.sur5r.net Git - u-boot/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)
committerSimon Glass <sjg@chromium.org>
Thu, 4 Jun 2015 09:02:57 +0000 (03:02 -0600)
commit6c4247e98eb3b1bf7ec19b61915c803db5670ad0
tree7327ff07d89283dcaa1e1991fdbdf82fd4ccd685
parent4be2f42bbc8171eae930db37f370f10779c5b02c
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