summaryrefslogtreecommitdiff
path: root/src/mainboard/amd/norwich/failover.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/amd/norwich/failover.c')
-rw-r--r--src/mainboard/amd/norwich/failover.c27
1 files changed, 12 insertions, 15 deletions
diff --git a/src/mainboard/amd/norwich/failover.c b/src/mainboard/amd/norwich/failover.c
index 4a15ba6f6a..29d24cadbf 100644
--- a/src/mainboard/amd/norwich/failover.c
+++ b/src/mainboard/amd/norwich/failover.c
@@ -12,23 +12,20 @@ static unsigned long main(unsigned long bist)
/* This is the primary cpu how should I boot? */
if (do_normal_boot()) {
goto normal_image;
- }
- else {
+ } 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:
+ 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;
}