summaryrefslogtreecommitdiff
path: root/drivers/block
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2013-02-04 09:07:34 -0500
committerTom Rini <trini@ti.com>2013-02-04 09:14:22 -0500
commit2d795c9621de274cb0cb8cf4af5941293f89c3be (patch)
tree726a2ee288654832876f3e81ff5f1d356e784e13 /drivers/block
parent10ec0f8a74a35f4b601dd1c84931962b809919bb (diff)
parent14d315b8b3e974a7f617a9b4454fc579161fb75b (diff)
downloadu-boot-imx-2d795c9621de274cb0cb8cf4af5941293f89c3be.zip
u-boot-imx-2d795c9621de274cb0cb8cf4af5941293f89c3be.tar.gz
u-boot-imx-2d795c9621de274cb0cb8cf4af5941293f89c3be.tar.bz2
Merge branch 'master' of git://www.denx.de/git/u-boot-microblaze
Diffstat (limited to 'drivers/block')
-rw-r--r--drivers/block/systemace.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/block/systemace.c b/drivers/block/systemace.c
index 80076b4..bf29cbb 100644
--- a/drivers/block/systemace.c
+++ b/drivers/block/systemace.c
@@ -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)