diff options
author | Wolfgang Denk <wd@pollux.denx.de> | 2006-03-11 22:53:33 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@pollux.denx.de> | 2006-03-11 22:53:33 +0100 |
commit | d52fb7e3d135704334bd6f97f3444e824665b76f (patch) | |
tree | e1e91e323b603533acda1c1de53388c588e3753c /board/netstar | |
parent | 4367a01036bdb67e7fc3000cedba7195fbdee304 (diff) |
Some code cleanup for GCC 4.x
Diffstat (limited to 'board/netstar')
-rwxr-xr-x | board/netstar/crcek | bin | 36168 -> 35971 bytes | |||
-rwxr-xr-x | board/netstar/eeprom | bin | 72374 -> 40842 bytes | |||
-rw-r--r-- | board/netstar/flash.c | 2 | ||||
-rw-r--r-- | board/netstar/nand.c | 2 |
4 files changed, 3 insertions, 1 deletions
diff --git a/board/netstar/crcek b/board/netstar/crcek Binary files differindex 9593f893c8..491cceb2ed 100755 --- a/board/netstar/crcek +++ b/board/netstar/crcek diff --git a/board/netstar/eeprom b/board/netstar/eeprom Binary files differindex c30c98b72c..e075eb4efd 100755 --- a/board/netstar/eeprom +++ b/board/netstar/eeprom diff --git a/board/netstar/flash.c b/board/netstar/flash.c index f555c0c006..692c416780 100644 --- a/board/netstar/flash.c +++ b/board/netstar/flash.c @@ -230,7 +230,7 @@ out: * 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; diff --git a/board/netstar/nand.c b/board/netstar/nand.c index e5b7f3346e..f470c1a01e 100644 --- a/board/netstar/nand.c +++ b/board/netstar/nand.c @@ -48,10 +48,12 @@ static void netstar_nand_hwcontrol(struct mtd_info *mtd, int cmd) /* * chip R/B detection */ +/*** static int netstar_nand_ready(struct mtd_info *mtd) { return (*(volatile ushort *)GPIO_DATA_INPUT_REG) & 0x02; } +***/ void board_nand_init(struct nand_chip *nand) { |