|
@@ -410,7 +410,7 @@ static void sunxi_nfc_select_chip(struct mtd_info *mtd, int chip)
|
|
sel = &sunxi_nand->sels[chip];
|
|
sel = &sunxi_nand->sels[chip];
|
|
|
|
|
|
ctl |= NFC_CE_SEL(sel->cs) | NFC_EN |
|
|
ctl |= NFC_CE_SEL(sel->cs) | NFC_EN |
|
|
- NFC_PAGE_SHIFT(nand->page_shift - 10);
|
|
|
|
|
|
+ NFC_PAGE_SHIFT(nand->page_shift);
|
|
if (sel->rb.type == RB_NONE) {
|
|
if (sel->rb.type == RB_NONE) {
|
|
nand->dev_ready = NULL;
|
|
nand->dev_ready = NULL;
|
|
} else {
|
|
} else {
|