
On Thu, Jun 23, 2011 at 7:55 PM, Wolfgang Denk wd@denx.de wrote:
Dear Frank,
In message BANLkTi=p9gdOGOETWojRqkmrxXM7Do_tBg@mail.gmail.com you wrote:
CFI flash chips with the level of write protection you implemented have to be dealt with in the same way as other ROM memory. =A0Normal CFI driver are not appropriate here.
Ok. So you recommend I stop "hacking" the CFI probing and instead write a custom flash map driver?
No. Never write new drivers when you can use existing ones :-)
Describe the flash memory as "mtd-ram" (instead of "cfi-flash") in the device tree and select the physmap driver in your kernel config.
Oh. I will try that. Thanks a lot for this tip :)
.. and sorry for asking about Linux related topics on the U-Boot ML.
Best regards, Frank