projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37d7f96
)
MLK-12865 Nand: Fix BCH debug1 register access issue
author
Ye Li
<ye.li@nxp.com>
Tue, 31 May 2016 08:32:00 +0000
(16:32 +0800)
committer
Ye Li
<ye.li@nxp.com>
Wed, 5 Apr 2017 06:04:27 +0000
(14:04 +0800)
Should have "&" to access the register address, otherwise uboot will hang.
Signed-off-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit
0b65071afaae9d6a49fb7dda2902f5c8bcd678c2
)
drivers/mtd/nand/mxs_nand.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/nand/mxs_nand.c
b/drivers/mtd/nand/mxs_nand.c
index
ca73de6
..
34c0310
100644
(file)
--- a/
drivers/mtd/nand/mxs_nand.c
+++ b/
drivers/mtd/nand/mxs_nand.c
@@
-806,7
+806,7
@@
static int mxs_nand_ecc_read_page(struct mtd_info *mtd, struct nand_chip *nand,
if (status[i] == 0xff) {
if (is_mx6dqp() || is_mx7() ||
is_mx6ul())
- if (readl(bch_regs->hw_bch_debug1))
+ if (readl(
&
bch_regs->hw_bch_debug1))
flag = 1;
continue;
}