summaryrefslogtreecommitdiff
path: root/tools/updater
diff options
context:
space:
mode:
authorPeter Tyser <ptyser@xes-inc.com>2009-04-20 11:09:05 -0500
committerWolfgang Denk <wd@denx.de>2009-04-28 01:02:04 +0200
commit54e822f9590cc6c70411bd8cabd42236e07a2aa7 (patch)
tree905330a238ff670819704b223aa36255b4f358b4 /tools/updater
parentf9a109b3adc5e8647535357500e2a38f0558b5c2 (diff)
downloadu-boot-imx-54e822f9590cc6c70411bd8cabd42236e07a2aa7.zip
u-boot-imx-54e822f9590cc6c70411bd8cabd42236e07a2aa7.tar.gz
u-boot-imx-54e822f9590cc6c70411bd8cabd42236e07a2aa7.tar.bz2
Replace __asm references with __asm__
__asm__ follows gcc's documented syntax and is generally more common than __asm. This change is only asthetic and should not affect functionality. Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
Diffstat (limited to 'tools/updater')
-rw-r--r--tools/updater/flash_hw.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/updater/flash_hw.c b/tools/updater/flash_hw.c
index 8af4b45..b5058b3 100644
--- a/tools/updater/flash_hw.c
+++ b/tools/updater/flash_hw.c
@@ -153,14 +153,14 @@ static ulong flash_get_size (ulong addr, flash_info_t *info)
/* Write auto select command: read Manufacturer ID */
x[0x0555] = 0xAA;
- __asm volatile ("sync\n eieio");
+ __asm__ volatile ("sync\n eieio");
x[0x02AA] = 0x55;
- __asm volatile ("sync\n eieio");
+ __asm__ volatile ("sync\n eieio");
x[0x0555] = 0x90;
- __asm volatile ("sync\n eieio");
+ __asm__ volatile ("sync\n eieio");
value = x[0];
- __asm volatile ("sync\n eieio");
+ __asm__ volatile ("sync\n eieio");
DEBUGF("Manuf. ID @ 0x%08lx: 0x%08x\n", (ulong)addr, value);
@@ -186,7 +186,7 @@ static ulong flash_get_size (ulong addr, flash_info_t *info)
}
value = x[1];
- __asm volatile ("sync\n eieio");
+ __asm__ volatile ("sync\n eieio");
DEBUGF("Device ID @ 0x%08lx: 0x%08x\n", addr+1, value);