aboutsummaryrefslogtreecommitdiff
path: root/src/soc/nvidia/tegra124/verstage.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/nvidia/tegra124/verstage.c')
-rw-r--r--src/soc/nvidia/tegra124/verstage.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/soc/nvidia/tegra124/verstage.c b/src/soc/nvidia/tegra124/verstage.c
index 234a89d0b2..d85fc5c8cf 100644
--- a/src/soc/nvidia/tegra124/verstage.c
+++ b/src/soc/nvidia/tegra124/verstage.c
@@ -1,9 +1,15 @@
#include "verstage.h"
+#include <vendorcode/google/chromeos/chromeos.h>
/**
* Stage entry point
*/
void vboot_main(void)
{
- for(;;);
+ /* Stub to force arm_init_caches to the top, before any stack/memory
+ * accesses */
+ asm volatile ("bl arm_init_caches"
+ ::: "r0","r1","r2","r3","r4","r5","ip");
+
+ select_firmware();
}