diff options
author | Ben Gardner <gardner.ben@gmail.com> | 2015-11-20 13:25:25 -0600 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2015-11-24 21:01:25 +0100 |
commit | f5fd4c99d5b05fd9677cf81124d5ad5ef2270011 (patch) | |
tree | f8883929177e3c07594af10f40549701302afd33 /src/drivers/net | |
parent | 1ef80141c05bd1a5acb17b3b59567fd2d4dee9f0 (diff) |
lib/timestamp.c: only log "Timestamp table full" once
If the timestamp table gets corrupted (separate issue), the
timestamp_sync_cache_to_cbmem() function may add a large number of bogus
timestamp entries.
This causes a flood of "ERROR: Timestamp table full". With logs going
to a serial console, this renders the system essentially unbootable.
There really isn't a need to log that more than once, so log it when the
last slot in the timestamp table is filled.
Change-Id: I05d131183afceca31f4dac91c5edc95cfb1e443f
Signed-off-by: Ben Gardner <gardner.ben@gmail.com>
Reviewed-on: http://review.coreboot.org/12506
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/drivers/net')
0 files changed, 0 insertions, 0 deletions