summaryrefslogtreecommitdiff
path: root/src/mainboard/arima/hdama
diff options
context:
space:
mode:
authorEric Biederman <ebiederm@xmission.com>2004-05-28 14:18:45 +0000
committerEric Biederman <ebiederm@xmission.com>2004-05-28 14:18:45 +0000
commitd67e76568acff164328467a744a76de62b67f026 (patch)
treeba6e8f77d56df74515af3df5392d41f5aef933cb /src/mainboard/arima/hdama
parent90089603393a1a67b9a4afe1f2b7237a74e1b21b (diff)
downloadcoreboot-d67e76568acff164328467a744a76de62b67f026.tar.xz
- Added volatile to asm statements in auto.c and failover.c
- Updated the romcc version in Config.lb - Fixed type sizes in romcc_io.h and io.h inl() returning a byte was nasty git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1583 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/arima/hdama')
-rw-r--r--src/mainboard/arima/hdama/auto.c2
-rw-r--r--src/mainboard/arima/hdama/failover.c4
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 */