coreboot/util/cbfstool
Aaron Durbin 8a0cb8de65 cbfstool: check potential microcode update earlier
The update-fit command takes in a parameter for number of slots
in the FIT table. It then processes the microcobe blob in cbfs
adding those entries to the FIT table. However, the tracking of
the number of mircocode updates was incremented before validating
the update. Therefore, move the sanity checking before an increment
of the number of updates.

Change-Id: Ie8290f53316b251e500b88829fdcf9b5735c1b0e
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/50319
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-on: http://review.coreboot.org/4161
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
2013-11-25 23:24:57 +01:00
..
lzma Fix whitespace leaked into tree 2013-09-17 21:04:35 +02:00
cbfs-mkpayload.c Add a (b)zImage parser to cbfstool 2013-08-31 08:58:34 +02:00
cbfs-mkstage.c
cbfs-payload-linux.c Add a (b)zImage parser to cbfstool 2013-08-31 08:58:34 +02:00
cbfs.h
cbfs_image.c Correct spelling of shadow, setting and memory 2013-08-16 22:25:56 +02:00
cbfs_image.h
cbfstool.c Add a (b)zImage parser to cbfstool 2013-08-31 08:58:34 +02:00
coff.h
common.c cbfstool: Add buffer management API. 2013-02-05 22:24:45 +01:00
common.h Add a (b)zImage parser to cbfstool 2013-08-31 08:58:34 +02:00
compress.c
elf.h cbfstool: add a constant for the aarch64 2013-11-18 16:58:58 +01:00
EXAMPLE
fit.c cbfstool: check potential microcode update earlier 2013-11-25 23:24:57 +01:00
fit.h
fv.h
linux.h Add a (b)zImage parser to cbfstool 2013-08-31 08:58:34 +02:00
linux_trampoline.c Add a (b)zImage parser to cbfstool 2013-08-31 08:58:34 +02:00
Makefile Add a (b)zImage parser to cbfstool 2013-08-31 08:58:34 +02:00
Makefile.inc Add a (b)zImage parser to cbfstool 2013-08-31 08:58:34 +02:00
swab.h