]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - common/cmd_ace.c
Make compile clean.
[karo-tx-uboot.git] / common / cmd_ace.c
index 3512a1518947113a821e00e115f1238bb515c3c9..4969811f3b28dbe451d4cd3b989f1cb01d3cd917 100644 (file)
@@ -53,7 +53,7 @@ static unsigned ace_readw(unsigned offset)
       return readw(CFG_SYSTEMACE_BASE+offset);
 }
 
-static unsigned ace_writew(unsigned val, unsigned offset)
+static void ace_writew(unsigned val, unsigned offset)
 {
       writew(val, CFG_SYSTEMACE_BASE+offset);
 }
@@ -119,7 +119,6 @@ static unsigned long systemace_read(int dev,
                                    unsigned long blkcnt,
                                    unsigned long *buffer)
 {
-      unsigned val;
       int retry;
       unsigned blk_countdown;
       unsigned char*dp = (unsigned char*)buffer;
@@ -218,4 +217,4 @@ static unsigned long systemace_read(int dev,
 
       return blkcnt;
 }
-#endif
+#endif /* CONFIG_SYSTEMACE */