diff options
author | Jan Dabros <jsd@semihalf.com> | 2020-08-20 08:29:49 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-08-26 07:32:54 +0000 |
commit | 93d56f51653b0310d81d63c5ee0c9e5c252e9cbe (patch) | |
tree | 7d221894d0133a16794875159fcb9226e2542368 /src/lib/ramtest.c | |
parent | fc83588e85c5ec080db368f30521e27f1535f34c (diff) |
lib/imd: Improve check to filter out 0-size imd_entries
Previously it was allowed to create an imd_entry with size 0, however
algorithm sets the offset of such entry to the exact same address as
the last registered entry.
Signed-off-by: Jan Dabros <jsd@semihalf.com>
Change-Id: Ifa2cdc887381fb0d268e2c199e868b038aafff5f
Reviewed-on: https://review.coreboot.org/c/coreboot/+/44666
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org>
Diffstat (limited to 'src/lib/ramtest.c')
0 files changed, 0 insertions, 0 deletions