]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - drivers/block/systemace.c
Merge branch 'master' of git://www.denx.de/git/u-boot-microblaze
[karo-tx-uboot.git] / drivers / block / systemace.c
index 80076b465609ee6f07038131b6c72ce74a670505..bf29cbbb7a838b4db49b323a9db06942a07fc1ea 100644 (file)
@@ -65,8 +65,8 @@ static void ace_writew(u16 val, unsigned off)
                writeb(val, base + off);
                writeb(val >> 8, base + off + 1);
 #endif
-       }
-       out16(base + off, val);
+       } else
+               out16(base + off, val);
 }
 
 static u16 ace_readw(unsigned off)