From 57459dbeacb4759c3352206464b6c19b7add00d5 Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Sun, 12 May 2019 14:11:00 +0200 Subject: mb/{lenovo/x201,packardbell/ms2290}: Remove superfluous TS init Timestamps are initialized in cpu/intel/car/romstage.c. Change-Id: Ia2b762667be17aa5b482cd585dd6f6198cf50d9e Signed-off-by: Arthur Heymans Reviewed-on: https://review.coreboot.org/c/coreboot/+/32758 Reviewed-by: Nico Huber Reviewed-by: Alexander Couzens Tested-by: build bot (Jenkins) --- src/mainboard/lenovo/x201/romstage.c | 4 ---- src/mainboard/packardbell/ms2290/romstage.c | 4 ---- 2 files changed, 8 deletions(-) (limited to 'src') diff --git a/src/mainboard/lenovo/x201/romstage.c b/src/mainboard/lenovo/x201/romstage.c index 7e895b46f0..ae154e25b1 100644 --- a/src/mainboard/lenovo/x201/romstage.c +++ b/src/mainboard/lenovo/x201/romstage.c @@ -175,10 +175,6 @@ void mainboard_romstage_entry(unsigned long bist) int s3resume = 0; const u8 spd_addrmap[4] = { 0x50, 0, 0x51, 0 }; - timestamp_init(timestamp_get()); - - timestamp_add_now(TS_START_ROMSTAGE); - if (bist == 0) enable_lapic(); diff --git a/src/mainboard/packardbell/ms2290/romstage.c b/src/mainboard/packardbell/ms2290/romstage.c index 8442dfaee9..efaa9e423d 100644 --- a/src/mainboard/packardbell/ms2290/romstage.c +++ b/src/mainboard/packardbell/ms2290/romstage.c @@ -168,14 +168,10 @@ void mainboard_romstage_entry(unsigned long bist) int s3resume = 0; const u8 spd_addrmap[4] = { 0x50, 0, 0x52, 0 }; - timestamp_init(timestamp_get()); - /* SERR pin is confused on reset. Clear NMI. */ outb(4, 0x61); outb(0, 0x61); - timestamp_add_now(TS_START_ROMSTAGE); - if (bist == 0) enable_lapic(); -- cgit v1.2.3