Call real_main if there is a failover image and this is not it.

Without this patch normal and fallback just hang... Nice.

This is nearly trivial, but since I broke it and it's already been "fixed"
once...

Boot tested with a failover image.  Most of the time I don't use failover,
which is why I didn't find the problem sooner.

Signed-off-by: Myles Watson <[email protected]>

Thanks,
Myles
Index: cbv2/src/mainboard/tyan/s2895/cache_as_ram_auto.c
===================================================================
--- cbv2.orig/src/mainboard/tyan/s2895/cache_as_ram_auto.c
+++ cbv2/src/mainboard/tyan/s2895/cache_as_ram_auto.c
@@ -214,6 +214,8 @@ void cache_as_ram_main(unsigned long bis
 #if HAVE_FAILOVER_BOOT==1
 	#if USE_FAILOVER_IMAGE==1
 	failover_process(bist, cpu_init_detectedx);
+	#else
+	real_main(bist, cpu_init_detectedx);
 	#endif
 #else
 	#if USE_FALLBACK_IMAGE == 1
-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to