diff options
Diffstat (limited to 'src/mainboard/arima/hdama')
-rw-r--r-- | src/mainboard/arima/hdama/auto.c | 2 | ||||
-rw-r--r-- | src/mainboard/arima/hdama/failover.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/mainboard/arima/hdama/auto.c b/src/mainboard/arima/hdama/auto.c index 15b030d0e0..fd0f90ba07 100644 --- a/src/mainboard/arima/hdama/auto.c +++ b/src/mainboard/arima/hdama/auto.c @@ -159,7 +159,7 @@ static void main(void) init_timer(); if (cpu_init_detected()) { - asm("jmp __cpu_reset"); + asm volatile ("jmp __cpu_reset"); } distinguish_cpu_resets(); diff --git a/src/mainboard/arima/hdama/failover.c b/src/mainboard/arima/hdama/failover.c index b22abfea06..201bcb9203 100644 --- a/src/mainboard/arima/hdama/failover.c +++ b/src/mainboard/arima/hdama/failover.c @@ -60,13 +60,13 @@ static void main(void) goto fallback_image; } normal_image: - asm("jmp __normal_image" + asm volatile ("jmp __normal_image" : /* outputs */ : "a" (bist) /* inputs */ : /* clobbers */ ); cpu_reset: - asm("jmp __cpu_reset" + asm volatile ("jmp __cpu_reset" : /* outputs */ : "a"(bist) /* inputs */ : /* clobbers */ |