From df4e8b4c8a1002443a936bd0563fbc9e0710f489 Mon Sep 17 00:00:00 2001 From: Furquan Shaikh Date: Tue, 22 Jul 2014 17:21:14 -0700 Subject: [PATCH] coreboot t132: Stop running AVP at the end of romstage Stop running AVP at the end of romstage until event conditions are met (JTAG, GIC_IRQ or LIC_IRQ). BUG=chrome-os-partner:30831 BRANCH=None TEST=Compiles successfully and boots till last known good checkpoint. Change-Id: Ia221f08b27ac0c60a66d588e351677144cc6a322 Signed-off-by: Furquan Shaikh Reviewed-on: https://chromium-review.googlesource.com/209424 Tested-by: Furquan Shaikh Reviewed-by: Aaron Durbin Commit-Queue: Furquan Shaikh --- src/soc/nvidia/tegra132/romstage.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/soc/nvidia/tegra132/romstage.c b/src/soc/nvidia/tegra132/romstage.c index caeafc3fee..9d1a034cea 100644 --- a/src/soc/nvidia/tegra132/romstage.c +++ b/src/soc/nvidia/tegra132/romstage.c @@ -28,6 +28,8 @@ #include "sdram.h" #include "ccplex.h" +#include + void romstage(void); void romstage(void) { @@ -70,5 +72,5 @@ void romstage(void) ccplex_cpu_start(entry); - while (1); + clock_halt_avp(); }