diff options
author | Peter Tyser <ptyser@xes-inc.com> | 2009-04-20 11:09:05 -0500 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-04-28 01:02:04 +0200 |
commit | 54e822f9590cc6c70411bd8cabd42236e07a2aa7 (patch) | |
tree | 905330a238ff670819704b223aa36255b4f358b4 /board/MAI/AmigaOneG3SE/serial.c | |
parent | f9a109b3adc5e8647535357500e2a38f0558b5c2 (diff) | |
download | u-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 'board/MAI/AmigaOneG3SE/serial.c')
-rw-r--r-- | board/MAI/AmigaOneG3SE/serial.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/board/MAI/AmigaOneG3SE/serial.c b/board/MAI/AmigaOneG3SE/serial.c index 88039f3..84a913e 100644 --- a/board/MAI/AmigaOneG3SE/serial.c +++ b/board/MAI/AmigaOneG3SE/serial.c @@ -75,17 +75,17 @@ void serial_init (void) /* COM_WRITE_BYTE(LINE_CONTROL, 0x83); */ /* COM_WRITE_BYTE(DIVISOR_LATCH_LSB, (uint8)(clock_divisor & 0xFF)); */ /* COM_WRITE_BYTE(DIVISOR_LATCH_MSB, (uint8)(clock_divisor >> 8)); */ - /* __asm("eieio"); */ + /* __asm__("eieio"); */ /* Set 8-N-1 */ COM_WRITE_BYTE (LINE_CONTROL, 0x03); - __asm ("eieio"); + __asm__ ("eieio"); /* Disable FIFO */ COM_WRITE_BYTE (MODEM_CONTROL, 0x03); COM_WRITE_BYTE (FIFO_CONTROL, 0x07); - __asm ("eieio"); + __asm__ ("eieio"); serial_init_done = 1; } |