SWRST
writel(readl(nand->regs + MA35_NFI_REG_NANDCTL) | SWRST,
reg |= SWRST;
out_8(&mb->biucc, SWRST);
if (in_8(&mb->biucc) & SWRST) {
mb->biucc = SWRST;
if (mb->biucc & SWRST) {
spi_writel(as, CR, SPI_BIT(SWRST));
spi_writel(as, CR, SPI_BIT(SWRST)); /* AT91SAM9263 Rev B workaround */
spi_writel(as, CR, SPI_BIT(SWRST));
spi_writel(as, CR, SPI_BIT(SWRST)); /* AT91SAM9263 Rev B workaround */
spi_writel(as, CR, SPI_BIT(SWRST));
spi_writel(as, CR, SPI_BIT(SWRST)); /* AT91SAM9263 Rev B workaround */