summaryrefslogtreecommitdiff
path: root/src/soc/amd
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/amd')
-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 d3e1bd7a65..b64fb4bbe5 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 7e207687d3..d3ceec587f 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);