From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tolunay Orkun Date: Sun, 13 May 2007 22:05:24 -0500 Subject: [U-Boot-Users] CFI driver does not verify writes in buffered mode - feature? In-Reply-To: References: <20070509223319.4CF4935264E@atlas.denx.de> <4642941E.7080007@orkun.us> Message-ID: <4647D1F4.4080408@orkun.us> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Detlev Zundel wrote: > > If I understand the code correctly then we would have to do a buffer > read after a buffer write and compare the data, right? I am not too > fluent in working with CFI flashes so I would have to look up all > details like can I simply read from flash after the program cycle or > do I have to do things like take it out of command mode etc so I > couldn't come up with a fix "after work". There is an opportunity to do the verification at a higher level. This would standardize verification after right copying of the block/segment in cp command. What do you think? That would leave the driver simplified. I am personally not too happy to generate interactive messages from within the driver. Different flash drivers emit different messages. A unified user experience would be better in my opinion... Tolunay