aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/au1550nd.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/nand/au1550nd.c')
-rw-r--r--drivers/mtd/nand/au1550nd.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/mtd/nand/au1550nd.c b/drivers/mtd/nand/au1550nd.c
index 861fb961d942..839b35a386b6 100644
--- a/drivers/mtd/nand/au1550nd.c
+++ b/drivers/mtd/nand/au1550nd.c
@@ -347,11 +347,9 @@ static int __init au1xxx_nand_init(void)
347 au1550_mtd->priv = this; 347 au1550_mtd->priv = this;
348 au1550_mtd->owner = THIS_MODULE; 348 au1550_mtd->owner = THIS_MODULE;
349 349
350 /* disable interrupts */
351 au_writel(au_readl(MEM_STNDCTL) & ~(1 << 8), MEM_STNDCTL);
352 350
353 /* disable NAND boot */ 351 /* MEM_STNDCTL: disable ints, disable nand boot */
354 au_writel(au_readl(MEM_STNDCTL) & ~(1 << 0), MEM_STNDCTL); 352 au_writel(0, MEM_STNDCTL);
355 353
356#ifdef CONFIG_MIPS_PB1550 354#ifdef CONFIG_MIPS_PB1550
357 /* set gpio206 high */ 355 /* set gpio206 high */