summaryrefslogtreecommitdiffstats
path: root/board/lpd7a40x
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.denx.de>2006-03-11 22:53:33 +0100
committerWolfgang Denk <wd@pollux.denx.de>2006-03-11 22:53:33 +0100
commitd52fb7e3d135704334bd6f97f3444e824665b76f (patch)
treee1e91e323b603533acda1c1de53388c588e3753c /board/lpd7a40x
parent4367a01036bdb67e7fc3000cedba7195fbdee304 (diff)
downloadblackbird-obmc-uboot-d52fb7e3d135704334bd6f97f3444e824665b76f.tar.gz
blackbird-obmc-uboot-d52fb7e3d135704334bd6f97f3444e824665b76f.zip
Some code cleanup for GCC 4.x
Diffstat (limited to 'board/lpd7a40x')
-rw-r--r--board/lpd7a40x/flash.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/board/lpd7a40x/flash.c b/board/lpd7a40x/flash.c
index 2dfe37656f..d18720e5b2 100644
--- a/board/lpd7a40x/flash.c
+++ b/board/lpd7a40x/flash.c
@@ -351,8 +351,7 @@ outahere:
* Copy memory to flash
*/
-volatile static int write_word (flash_info_t * info, ulong dest,
- ulong data)
+static int write_word (flash_info_t * info, ulong dest, ulong data)
{
vu_long *addr = (vu_long *) dest;
ulong result;
OpenPOWER on IntegriCloud