projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
libfdt: Fix C++ compile-time cast error on gnu 4.2.1
[platform/kernel/u-boot.git]
/
board
/
netstar
/
nand.c
diff --git
a/board/netstar/nand.c
b/board/netstar/nand.c
index
302d78e
..
e3ab66f
100644
(file)
--- a/
board/netstar/nand.c
+++ b/
board/netstar/nand.c
@@
-46,8
+46,8
@@
static void netstar_nand_hwcontrol(struct mtd_info *mtd, int cmd, unsigned int c
IO_ADDR_W |= MASK_ALE;
}
this->IO_ADDR_W = (void __iomem *) IO_ADDR_W;
-
- if (cmd != NAND_CMD_NONE)
+
+
if (cmd != NAND_CMD_NONE)
writeb(cmd, this->IO_ADDR_W);
}