diff options
Diffstat (limited to 'util/cbfstool')
-rw-r--r-- | util/cbfstool/fit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/cbfstool/fit.c b/util/cbfstool/fit.c index 02cfaee21d..c76ba480ad 100644 --- a/util/cbfstool/fit.c +++ b/util/cbfstool/fit.c @@ -216,8 +216,8 @@ static int parse_microcode_blob(struct cbfs_image *image, /* Proceed to next payload. */ current_offset += mcus[num_mcus].size; - num_mcus++; file_length -= mcus[num_mcus].size; + num_mcus++; /* Reached limit of FIT entries. */ if (num_mcus == *total_mcus) |