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 Correct ecc block size for sw ecc case
details: https://anonhg.NetBSD.org/src/rev/76865dd40083
branches: trunk
changeset: 357510:76865dd40083
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Mon Nov 13 14:14:25 2017 +0000
description:
Correct ecc block size for sw ecc case
diffstat:
sys/arch/arm/sunxi/sunxi_nand.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 2cd70164eb19 -r 76865dd40083 sys/arch/arm/sunxi/sunxi_nand.c
--- a/sys/arch/arm/sunxi/sunxi_nand.c Mon Nov 13 13:47:16 2017 +0000
+++ b/sys/arch/arm/sunxi/sunxi_nand.c Mon Nov 13 14:14:25 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sunxi_nand.c,v 1.2 2017/11/13 13:47:16 jmcneill Exp $ */
+/* $NetBSD: sunxi_nand.c,v 1.3 2017/11/13 14:14:25 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.2 2017/11/13 13:47:16 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sunxi_nand.c,v 1.3 2017/11/13 14:14:25 jmcneill Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -510,7 +510,7 @@
}
#else
nand->ecc.necc_code_size = 3;
- nand->ecc.necc_block_size = 512;
+ nand->ecc.necc_block_size = 256;
#endif
chip->chip_dev = nand_attach_mi(nand, sc->sc_dev);
Home |
Main Index |
Thread Index |
Old Index