summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaul E Rangel <rrangel@chromium.org>2021-06-10 14:03:36 -0600
committerFelix Held <felix-coreboot@felixheld.de>2021-06-14 18:54:55 +0000
commit5c124a97aaea675bdff1d690993e17bcbd901a2f (patch)
tree1d9f0d15c17cc8795344039fa2d20fad29e69512
parent705f774c9350fc987fe27a3fa4c0a9225a897e41 (diff)
downloadcoreboot-5c124a97aaea675bdff1d690993e17bcbd901a2f.tar.gz
coreboot-5c124a97aaea675bdff1d690993e17bcbd901a2f.tar.bz2
coreboot-5c124a97aaea675bdff1d690993e17bcbd901a2f.zip
soc/amd/{cezanne,picasso}: Add TS_START_ROMSTAGE
BUG=b:179092979 TEST=boot guybrush and see romstage tag 14:finished loading romstage 2,683,151 (10,079) 1:start of romstage 2,683,159 (8) 970:<unknown> 2,683,386 (227) 15:starting LZMA decompress (ignore for x86) 2,683,391 (5) 16:finished LZMA decompress (ignore for x86) 2,717,867 (34,476) Signed-off-by: Raul E Rangel <rrangel@chromium.org> Change-Id: Ib8b3fe909140e05a89b74df526bf4f81799ad915 Reviewed-on: https://review.coreboot.org/c/coreboot/+/55398 Reviewed-by: Paul Menzel <paulepanter@mailbox.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/soc/amd/cezanne/romstage.c4
-rw-r--r--src/soc/amd/picasso/romstage.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/src/soc/amd/cezanne/romstage.c b/src/soc/amd/cezanne/romstage.c
index d3e1bd7a655a..b64fb4bbe530 100644
--- a/src/soc/amd/cezanne/romstage.c
+++ b/src/soc/amd/cezanne/romstage.c
@@ -9,10 +9,14 @@
#include <console/console.h>
#include <fsp/api.h>
#include <program_loading.h>
+#include <timestamp.h>
asmlinkage void car_stage_entry(void)
{
+ timestamp_add_now(TS_START_ROMSTAGE);
+
post_code(0x40);
+
console_init();
post_code(0x41);
diff --git a/src/soc/amd/picasso/romstage.c b/src/soc/amd/picasso/romstage.c
index 7e207687d30a..d3ceec587f02 100644
--- a/src/soc/amd/picasso/romstage.c
+++ b/src/soc/amd/picasso/romstage.c
@@ -9,11 +9,15 @@
#include <console/console.h>
#include <fsp/api.h>
#include <program_loading.h>
+#include <timestamp.h>
#include <types.h>
asmlinkage void car_stage_entry(void)
{
+ timestamp_add_now(TS_START_ROMSTAGE);
+
post_code(0x40);
+
console_init();
post_code(0x42);