summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNobuhiro Iwamatsu <iwamatsu@nigauri.org>2009-06-16 22:29:15 +0900
committerNobuhiro Iwamatsu <iwamatsu@nigauri.org>2009-07-08 11:43:16 +0900
commitbaa9f9ba4345ed6dc5c403871c32e6295316ea52 (patch)
tree2538bb552989ca80aa50a28fd3ce013868e4f5ce /include
parentbe45c632568ba76343c1453b3951ad793f482fd5 (diff)
downloadu-boot-imx-baa9f9ba4345ed6dc5c403871c32e6295316ea52.zip
u-boot-imx-baa9f9ba4345ed6dc5c403871c32e6295316ea52.tar.gz
u-boot-imx-baa9f9ba4345ed6dc5c403871c32e6295316ea52.tar.bz2
sh: Revised the build with newest compiler
The check of data became severe from newest gcc. This patch checked in gcc-4.2 and 4.3 . Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Diffstat (limited to 'include')
-rw-r--r--include/asm-sh/macro.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-sh/macro.h b/include/asm-sh/macro.h
index 61f792a..2b273c3 100644
--- a/include/asm-sh/macro.h
+++ b/include/asm-sh/macro.h
@@ -29,7 +29,7 @@
.macro write16, addr, data
mov.l \addr ,r1
- mov.l \data ,r0
+ mov.w \data ,r0
mov.w r0, @r1
.endm