summaryrefslogtreecommitdiff
path: root/src/mainboard/olpc/btest/failover.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/olpc/btest/failover.c')
-rw-r--r--src/mainboard/olpc/btest/failover.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/mainboard/olpc/btest/failover.c b/src/mainboard/olpc/btest/failover.c
index 1b6c6da9b1..8f000489ec 100644
--- a/src/mainboard/olpc/btest/failover.c
+++ b/src/mainboard/olpc/btest/failover.c
@@ -9,27 +9,5 @@
static unsigned long main(unsigned long bist)
{
-#if 0
- /* This is the primary cpu how should I boot? */
- if (do_normal_boot()) {
- goto normal_image;
- }
- else {
- goto fallback_image;
- }
- normal_image:
- asm volatile ("jmp __normal_image"
- : /* outputs */
- : "a" (bist) /* inputs */
- : /* clobbers */
- );
- cpu_reset:
- asm volatile ("jmp __cpu_reset"
- : /* outputs */
- : "a"(bist) /* inputs */
- : /* clobbers */
- );
- fallback_image:
-#endif
return bist;
}