NFI_CON
reg = nfi_readl(nfc, NFI_CON) | CON_BRD;
nfi_writel(nfc, reg, NFI_CON);
nfi_writel(nfc, 0, NFI_CON);
nfi_writel(nfc, CON_FIFO_FLUSH | CON_NFI_RST, NFI_CON);
nfi_writel(nfc, CON_FIFO_FLUSH | CON_NFI_RST, NFI_CON);
nfi_writel(nfc, reg, NFI_CON);
nfi_writel(nfc, reg, NFI_CON);
nfi_writel(nfc, chip->ecc.steps << CON_SEC_SHIFT, NFI_CON);
reg = nfi_readl(nfc, NFI_CON) | CON_BWR;
nfi_writel(nfc, reg, NFI_CON);
nfi_writel(nfc, 0, NFI_CON);
nfi_writel(nfc, sectors << CON_SEC_SHIFT, NFI_CON);
nfi_write32(snf, NFI_CON, 0);
nfi_write32(snf, NFI_CON, (snf->nfi_cfg.nsectors << CON_SEC_NUM_S));
nfi_rmw32(snf, NFI_CON, 0, CON_BWR);
nfi_write32(snf, NFI_CON, 0);
nfi_write32(snf, NFI_CON, CON_FIFO_FLUSH | CON_NFI_RST);
nfi_write32(snf, NFI_CON, (snf->nfi_cfg.nsectors << CON_SEC_NUM_S));
nfi_rmw32(snf, NFI_CON, 0, CON_BRD);