baytrail: start collecting timestamps
This commit always selects COLLECT_TIMESTAMPS and starts
tracking TSC values from the early stages of bootblock.
The initial timestamp value is saved in mm0 and mm1 while
in bootlbock. This approach works because romcc is not configured
to use mmx registers for its compilation.
Additionally, the romstage api with the mainboard was changed to
always pass around a pointer to a romstage_params structure as the
timestamps are saved in there until ram is up.
TEST=Built and booted with added code to print out timestamps at
and of ramstage. Everything looks legit.
Signed-off-by: Aaron Durbin <firstname.lastname@example.org>
Reviewed-by: Shawn Nematbakhsh <email@example.com>
8 files changed