summaryrefslogtreecommitdiff
path: root/src/soc/nvidia/tegra132/bootblock.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/nvidia/tegra132/bootblock.c')
-rw-r--r--src/soc/nvidia/tegra132/bootblock.c17
1 files changed, 2 insertions, 15 deletions
diff --git a/src/soc/nvidia/tegra132/bootblock.c b/src/soc/nvidia/tegra132/bootblock.c
index ad78f51f16..5a6050a2b9 100644
--- a/src/soc/nvidia/tegra132/bootblock.c
+++ b/src/soc/nvidia/tegra132/bootblock.c
@@ -20,19 +20,16 @@
#include <arch/exception.h>
#include <arch/hlt.h>
#include <bootblock_common.h>
-#include <cbfs.h>
#include <console/console.h>
+#include <program_loading.h>
#include <soc/clock.h>
#include <soc/nvidia/tegra/apbmisc.h>
-#include <arch/stages.h>
#include "pinmux.h"
#include "power.h"
void main(void)
{
- void *entry;
-
// enable pinmux clamp inputs
clamp_tristate_inputs();
@@ -68,15 +65,5 @@ void main(void)
printk(BIOS_INFO, "T132 bootblock: Mainboard bootblock init done\n");
- entry = cbfs_load_stage(CBFS_DEFAULT_MEDIA,
- CONFIG_CBFS_PREFIX "/romstage");
-
- if (entry) {
- printk(BIOS_INFO, "T132 bootblock: jumping to romstage\n");
- stage_exit(entry);
- } else {
- printk(BIOS_INFO, "T132 bootblock: fallback/romstage not found\n");
- }
-
- hlt();
+ run_romstage();
}