]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
More GCC 4.x code cleanup
authorWolfgang Denk <wd@pollux.denx.de>
Sat, 11 Mar 2006 21:56:07 +0000 (22:56 +0100)
committerWolfgang Denk <wd@pollux.denx.de>
Sat, 11 Mar 2006 21:56:07 +0000 (22:56 +0100)
board/cobra5272/flash.c
board/m5272c3/flash.c
board/m5282evb/flash.c
board/smdk2400/flash.c
board/trab/flash.c

index 6f5874a6719d75d15f822311c8aecf5d86333d24..73cc2f2c10c1e563ef5e458e070b2a01f9ac895b 100644 (file)
@@ -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;
index fb918435c81a4f305d770b0ea606ecbb1792a05b..f156342291a832490ac59639a4d0aec5a3b68569 100644 (file)
@@ -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;
index ff70783bda167ab153040fb6fa42fbe19619f108..95f35ad84f9b71a3fac76439e718785ca6b5a6c6 100644 (file)
@@ -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;
index a108af7c7296864a1e3bf23ff0928886a694e4c0..fd9992d366ad8be73fef38cece2741da35f414cb 100644 (file)
@@ -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;
index b4435e390f42040e51252057828f6cb25ad58be1..8cdd82400bba2b49b2314d14489fa328f97e4c9f 100644 (file)
@@ -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;