
Hi Ed,
On Friday 29 June 2007, Edward Jubenville wrote:
We have a built a custom board with onboard flash and using CFI. Our design supports a jumper that enables hardware write-protection on the flash, but u-boot will not come up with the jumper installed. It fails due to code in drivers/cfi_flash.c that must write a command word to detect the flash configuration.
Is there an elegant way to override the CFI discovery process, prefilling flash_info[] with the details of our flash hardware?
No, there is no elegant method for this right now. But I'm wondering why your board crashes upon writes. You seem to have disabled writes in the chip selects, correct? Why did you have to do this?
Best regards, Stefan
===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office@denx.de =====================================================================