summaryrefslogtreecommitdiff
path: root/src/lib/memchr.c
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2020-01-09 08:41:46 +0200
committerNico Huber <nico.h@gmx.de>2020-01-10 14:12:00 +0000
commitd548edde4b8cb67a669cf621f506773d0a3afc73 (patch)
treef9c077f45eff3a3d5edc8d22ef7dc0bbc6bb22c0 /src/lib/memchr.c
parent8b93cb756cda7437bff13a34dba1b2754e306ab8 (diff)
downloadcoreboot-d548edde4b8cb67a669cf621f506773d0a3afc73.tar.xz
timestamps: Fix syncing, logging and comments
For timestamps added before CBMEM coming online and call to timestamp_sync_cache_to_cbmem(), ts_table->base_time was subtracted twice. The second time though, the value of zero was subtracted. Make the stamps logged on the console relative to base_time too, such that cbmem -1 and cbmem -c outputs will match. Remove comments about postponing initialisation of timestamps to ramstage, that does not happen anymore. Change-Id: Ia786c12c68c8921c0d09bc58a29fefdc72bf0c6d Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/38301 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Martin Roth <martinroth@google.com> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/lib/memchr.c')
0 files changed, 0 insertions, 0 deletions