summaryrefslogtreecommitdiff
path: root/board/sbc2410x/flash.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2007-11-18 17:11:09 +0100
committerWolfgang Denk <wd@denx.de>2007-11-18 17:11:09 +0100
commit8412d814ce8bf5570a2b747f1e7fd321097fe987 (patch)
tree27f1467772c675242af737a8481ec75f81b0d2d9 /board/sbc2410x/flash.c
parent409ecdc0bb47dd28b0af6c25ffd658d22cc36b37 (diff)
downloadu-boot-imx-8412d814ce8bf5570a2b747f1e7fd321097fe987.zip
u-boot-imx-8412d814ce8bf5570a2b747f1e7fd321097fe987.tar.gz
u-boot-imx-8412d814ce8bf5570a2b747f1e7fd321097fe987.tar.bz2
Fix compiler warnings for ARM systems.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'board/sbc2410x/flash.c')
-rw-r--r--board/sbc2410x/flash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/sbc2410x/flash.c b/board/sbc2410x/flash.c
index f2718f2..0c669e4 100644
--- a/board/sbc2410x/flash.c
+++ b/board/sbc2410x/flash.c
@@ -288,7 +288,7 @@ int flash_erase (flash_info_t * info, int s_first, int s_last)
* Copy memory to flash
*/
-volatile static int write_hword (flash_info_t * info, ulong dest, ushort data)
+static int write_hword (flash_info_t * info, ulong dest, ushort data)
{
vu_short *addr = (vu_short *) dest;
ushort result;