diff options
author | Vadim Bendebury <vbendeb@chromium.org> | 2012-10-23 18:04:33 +0000 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2012-12-06 14:30:38 -0800 |
commit | 6dbe0cce3ffce8db8cffad7a16487ef9e3c95021 (patch) | |
tree | 4dcd6ab8fc2cf03072a0a6fa18c8bab295cd5398 /arch/x86/lib | |
parent | 2f899e03a94cac4b092e4c013c6afda73178cc9f (diff) | |
download | u-boot-imx-6dbe0cce3ffce8db8cffad7a16487ef9e3c95021.zip u-boot-imx-6dbe0cce3ffce8db8cffad7a16487ef9e3c95021.tar.gz u-boot-imx-6dbe0cce3ffce8db8cffad7a16487ef9e3c95021.tar.bz2 |
x86: Enable coreboot timestamp facility support in u-boot.
This change turns on the code which allows u-boot to add
timestamps to the timestamp table created by coreboot.
Since u-boot does not use the tsc_t like structure to represent
HW counter readings, this structure is being replaced by 64 bit
integer.
The timestamp_init() function is now initializing the base timer
value used by u-boot to calculate the HW counter increments.
Timestamp facility is initialized as soon as the timestamp table
pointer is found in the coreboot table. The u-boot generated
timer events' ID will start at 1000 to clearly separate u-boot
events from coreboot events in the timer trace.
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Signed-off-by: Stefan Reinauer <reinauer@chromium.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86/lib')
0 files changed, 0 insertions, 0 deletions