Message ID | 20191230165129.11925-6-miquel.raynal@bootlin.com |
---|---|
State | Changes Requested |
Delegated to: | Miquel Raynal |
Headers | show |
Series | MLC in SLC mode | expand |
On 12/30/2019 8:51 AM, Miquel Raynal wrote: > From: Boris Brezillon <boris.brezillon@bootlin.com> > > Add a boolean property to force a specific partition attached to an MLC > NAND to be accessed in an emulated SLC mode this making this partition > immune to paired-pages corruptions. > > Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com> > Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> > --- > .../devicetree/bindings/mtd/partition.txt | 3 +++ > scripts/pnmtologo | Bin 0 -> 22416 bytes You will probably want to remove that file from the final commit and/or add pnmtologo to .gitignore as a separate patch.
Hi Florian, Florian Fainelli <f.fainelli@gmail.com> wrote on Mon, 30 Dec 2019 19:53:11 -0800: > On 12/30/2019 8:51 AM, Miquel Raynal wrote: > > From: Boris Brezillon <boris.brezillon@bootlin.com> > > > > Add a boolean property to force a specific partition attached to an MLC > > NAND to be accessed in an emulated SLC mode this making this partition > > immune to paired-pages corruptions. > > > > Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com> > > Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> > > --- > > .../devicetree/bindings/mtd/partition.txt | 3 +++ > > scripts/pnmtologo | Bin 0 -> 22416 bytes > > You will probably want to remove that file from the final commit and/or > add pnmtologo to .gitignore as a separate patch. Done, thanks for the warning! Thanks, Miquèl
diff --git a/Documentation/devicetree/bindings/mtd/partition.txt b/Documentation/devicetree/bindings/mtd/partition.txt index afbbd870496d..4a39698221a2 100644 --- a/Documentation/devicetree/bindings/mtd/partition.txt +++ b/Documentation/devicetree/bindings/mtd/partition.txt @@ -61,6 +61,9 @@ Optional properties: clobbered. - lock : Do not unlock the partition at initialization time (not supported on all devices) +- slc-mode: This parameter, if present, allows one to emulate SLC mode on a + partition attached to an MLC NAND thus making this partition immune to + paired-pages corruptions Examples: diff --git a/scripts/pnmtologo b/scripts/pnmtologo new file mode 100755 index 0000000000000000000000000000000000000000..ddb4f779cfa46fd92b802097fb2dd301bbe91912