[PATCH 1/3] mtd: nand/docg4: add support for writing in reliable mode
mikedunn at newsguy.com
Mon Dec 10 14:34:22 EST 2012
On 12/09/2012 02:38 AM, Robert Jarzmik wrote:
> Robert Jarzmik <robert.jarzmik at free.fr> writes:
>> I was considering adding this to the docg3 driver, but I didn't because I was
>> afraid what would happen if you change this mode *after* mounting a partition.
>> Imagine you have your rootfs mounted on /dev/mtd2, and u-boot is in /dev/mtd1 :
>> wouldn't changing the reliable mode to write "mtd1" corrupt all writes to mtd2
> I will rephrase that : I didn't "succeed" in having that parameter mtd partition
> bound. If you find a way, I'll steal it for docg3 driver :)
Yeah, I seemed to recall that reliable mode is supported in the docg3 driver.
> If you don't, your patch is fine :
> Acked-by: Robert Jarzmik <robert.jarzmik at free.fr>
More information about the linux-mtd