summaryrefslogtreecommitdiff
path: root/src/soc/nvidia
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/nvidia')
-rw-r--r--src/soc/nvidia/tegra124/verstage.c9
-rw-r--r--src/soc/nvidia/tegra132/verstage.c8
2 files changed, 4 insertions, 13 deletions
diff --git a/src/soc/nvidia/tegra124/verstage.c b/src/soc/nvidia/tegra124/verstage.c
index 2d7a9530b6..6b259bfdfb 100644
--- a/src/soc/nvidia/tegra124/verstage.c
+++ b/src/soc/nvidia/tegra124/verstage.c
@@ -22,11 +22,11 @@
#include <arch/hlt.h>
#include <arch/stages.h>
#include <console/console.h>
+#include <program_loading.h>
#include <soc/cache.h>
#include <soc/early_configs.h>
#include <stdlib.h>
#include <symbols.h>
-#include <vendorcode/google/chromeos/chromeos.h>
static void enable_cache(void)
{
@@ -51,14 +51,9 @@ static void soc_init(void)
static void verstage(void)
{
- void *entry;
-
soc_init();
early_mainboard_init();
-
- entry = vboot2_verify_firmware();
- if (entry != (void *)-1)
- stage_exit(entry);
+ run_romstage();
}
void main(void)
diff --git a/src/soc/nvidia/tegra132/verstage.c b/src/soc/nvidia/tegra132/verstage.c
index e629eedc27..baf7fb7eb5 100644
--- a/src/soc/nvidia/tegra132/verstage.c
+++ b/src/soc/nvidia/tegra132/verstage.c
@@ -23,7 +23,7 @@
#include <arch/stages.h>
#include <console/console.h>
#include <soc/verstage.h>
-#include <vendorcode/google/chromeos/chromeos.h>
+#include <program_loading.h>
void __attribute__((weak)) verstage_mainboard_init(void)
{
@@ -32,15 +32,11 @@ void __attribute__((weak)) verstage_mainboard_init(void)
static void verstage(void)
{
- void *entry;
-
console_init();
exception_init();
verstage_mainboard_init();
- entry = vboot2_verify_firmware();
- if (entry != (void *)-1)
- stage_exit(entry);
+ run_romstage();
}
void main(void)