Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/sunxi Keep the controller enabled when unselect...
details: https://anonhg.NetBSD.org/src/rev/2cd70164eb19
branches: trunk
changeset: 357509:2cd70164eb19
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Mon Nov 13 13:47:16 2017 +0000
description:
Keep the controller enabled when unselecting, otherwise IO fails.
diffstat:
sys/arch/arm/sunxi/sunxi_nand.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (27 lines):
diff -r d2c3614e3f8b -r 2cd70164eb19 sys/arch/arm/sunxi/sunxi_nand.c
--- a/sys/arch/arm/sunxi/sunxi_nand.c Mon Nov 13 12:42:26 2017 +0000
+++ b/sys/arch/arm/sunxi/sunxi_nand.c Mon Nov 13 13:47:16 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sunxi_nand.c,v 1.1 2017/11/10 00:09:23 jmcneill Exp $ */
+/* $NetBSD: sunxi_nand.c,v 1.2 2017/11/13 13:47:16 jmcneill Exp $ */
/*-
* Copyright (c) 2017 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sunxi_nand.c,v 1.1 2017/11/10 00:09:23 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sunxi_nand.c,v 1.2 2017/11/13 13:47:16 jmcneill Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -334,8 +334,6 @@
NAND_WRITE(sc, NDFC_SPARE_AREA, nc->nc_page_size);
}
- } else {
- ctl &= ~NDFC_CTL_EN;
}
NAND_WRITE(sc, NDFC_CTL, ctl);
}
Home |
Main Index |
Thread Index |
Old Index