[U-Boot] [PATCH 6/6] EA20: do not use subpage write for NAND
Jon Povey
Jon.Povey at racelogic.co.uk
Tue Apr 12 02:45:50 CEST 2011
Ben Gardiner wrote:
> "tries to access subpages" is maybe a little too vague; I think Jon
> Povey described the problem quite succinctly:
That's me, I better wake up!
> What's more is that the davinci nand controller could do subpage
> writing if the writing operation were informed of the extents of the
> subpage being written instead of being handed a buffer with 0xFF in
> the non-target page areas. Which, I believe is Artem's primary
> motivation for the introduction of nand_write_subpage() to the
> davinci NAND controller driver [2].
I can't remember if I posted about this at the time, but what I ended up
doing was propagating the subpage start offset and length through to all
the write_page() functions. At the appropriate place the ECC for any
"unwritten" subpages is FF'd out. It's a fairly ugly platform-specific
hack but it works, if anyone wants to see it I can dig out the patch.
--
Jon Povey
jon.povey at racelogic.co.uk
Racelogic is a limited company registered in England. Registered number 2743719 .
Registered Office Unit 10, Swan Business Centre, Osier Way, Buckingham, Bucks, MK18 1TB .
The information contained in this electronic mail transmission is intended by Racelogic Ltd for the use of the named individual or entity to which it is directed and may contain information that is confidential or privileged. If you have received this electronic mail transmission in error, please delete it from your system without copying or forwarding it, and notify the sender of the error by reply email so that the sender's address records can be corrected. The views expressed by the sender of this communication do not necessarily represent those of Racelogic Ltd. Please note that Racelogic reserves the right to monitor e-mail communications passing through its network
More information about the U-Boot
mailing list