diff options
author | Vadim Bendebury <vbendeb@chromium.org> | 2011-08-16 11:44:35 -0700 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2012-03-09 20:38:06 +0100 |
commit | 05239898f2e7b1d35a2f4882c8c3f2c1a783f592 (patch) | |
tree | c9e613dfbb04a1f1f3e9ad8d1d7e43672e5980ac /src/pc80/mc146818rtc.c | |
parent | c75bfde967a3d535a8ae94d58ed9cb4d0a827442 (diff) |
Fix coreboot table size calculations.
The code when reporting the coreboot table size did not account
for the last added table record. This change fixes the problem.
. rebuild coreboot, program it on the target, restart it
. look for 'Wrote coreboot table at:' in the console log
. observe the adequate table size reported
$ grep 'Wrote coreboot table:' /tmp/cb.log
Wrote coreboot table at: 00000500, 0x10 bytes, checksum c06f
Wrote coreboot table at: 7f6fc000, 0x1a73 bytes, checksum 3e45
$
Change-Id: Ic55501a4ae06fab2bcda9aea58e362325f2edccf
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: http://review.coreboot.org/703
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src/pc80/mc146818rtc.c')
0 files changed, 0 insertions, 0 deletions