aboutsummaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.denx.de>2006-03-11 22:56:07 +0100
committerWolfgang Denk <wd@pollux.denx.de>2006-03-11 22:56:07 +0100
commit8de7ed3abe2b972fd3cc2eda3953fa2c0b554e3e (patch)
tree203cc00536a08524bfb36bc36c2844b44d295bb9 /board
parentd52fb7e3d135704334bd6f97f3444e824665b76f (diff)
More GCC 4.x code cleanup
Diffstat (limited to 'board')
-rw-r--r--board/cobra5272/flash.c3
-rw-r--r--board/m5272c3/flash.c3
-rw-r--r--board/m5282evb/flash.c3
-rw-r--r--board/smdk2400/flash.c3
-rw-r--r--board/trab/flash.c3
5 files changed, 5 insertions, 10 deletions
diff --git a/board/cobra5272/flash.c b/board/cobra5272/flash.c
index 6f5874a67..73cc2f2c1 100644
--- a/board/cobra5272/flash.c
+++ b/board/cobra5272/flash.c
@@ -256,8 +256,7 @@ int flash_erase (flash_info_t * info, int s_first, int s_last)
return rc;
}
-
-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)
{
volatile u16 *addr = (volatile u16 *) dest;
ulong result;
diff --git a/board/m5272c3/flash.c b/board/m5272c3/flash.c
index fb918435c..f15634229 100644
--- a/board/m5272c3/flash.c
+++ b/board/m5272c3/flash.c
@@ -256,8 +256,7 @@ int flash_erase (flash_info_t * info, int s_first, int s_last)
return rc;
}
-
-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)
{
volatile u16 *addr = (volatile u16 *) dest;
ulong result;
diff --git a/board/m5282evb/flash.c b/board/m5282evb/flash.c
index ff70783bd..95f35ad84 100644
--- a/board/m5282evb/flash.c
+++ b/board/m5282evb/flash.c
@@ -256,8 +256,7 @@ int flash_erase (flash_info_t * info, int s_first, int s_last)
return rc;
}
-
-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)
{
volatile u16 *addr = (volatile u16 *) dest;
ulong result;
diff --git a/board/smdk2400/flash.c b/board/smdk2400/flash.c
index a108af7c7..fd9992d36 100644
--- a/board/smdk2400/flash.c
+++ b/board/smdk2400/flash.c
@@ -353,8 +353,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;
diff --git a/board/trab/flash.c b/board/trab/flash.c
index b4435e390..8cdd82400 100644
--- a/board/trab/flash.c
+++ b/board/trab/flash.c
@@ -308,8 +308,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;