lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Sun, 29 Nov 2015 15:35:48 +0100 From: Thomas Petazzoni <thomas.petazzoni@...e-electrons.com> To: Sebastian Hesselbarth <sebastian.hesselbarth@...il.com> Cc: Mark Rutland <mark.rutland@....com>, Andrew Lunn <andrew@...n.ch>, Russell King <linux@....linux.org.uk>, Jason Cooper <jason@...edaemon.net>, Pawel Moll <pawel.moll@....com>, Ian Campbell <ijc+devicetree@...lion.org.uk>, linux-kernel@...r.kernel.org, devicetree@...r.kernel.org, Rob Herring <robh+dt@...nel.org>, Kumar Gala <galak@...eaurora.org>, Gregory Clement <gregory.clement@...e-electrons.com>, Benoit Masson <yahoo@...enite.com>, linux-arm-kernel@...ts.infradead.org, Ezequiel Garcia <ezequiel.garcia@...e-electrons.com> Subject: Re: [PATCH 4/4] ARM: dt: mvebu: ix4-300d: Add ECC properties to NAND flash Sebastian, Adding Ezequiel Garcia in Cc. On Sat, 28 Nov 2015 12:14:08 +0100, Sebastian Hesselbarth wrote: > The NAND device found on Lenovo ix4-300d uses 4-bit BCH ECC protection. > Add the corresponding properties to the NAND node. If the ONFI information from the NAND flash say that it requires 4 bits per 512, then there should be no need to add this information to the Device Tree as the pxa3xx_nand driver by default uses the ONFI information. Those properties are only needed when for some reason the vendor has chosen to use a ECC strength that doesn't match with the one advertised by the flash in its ONFI information (either stronger or weaker). But in this case, your commit log is confusing, because it says that the "NAND device ... uses 4-bit BCH ECC protection". If it really does, then the patch is not needed :-) Best regards, Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists