From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Sun, 18 Sep 2011 18:24:13 +0200 Subject: [U-Boot] [PATCH 5/5 v1] integrator: make flash writeable on boot In-Reply-To: <20110918132415.08F331407963@gemini.denx.de> References: <1316332378-18521-1-git-send-email-linus.walleij@linaro.org> <4E75C4A4.20604@aribaud.net> <20110918132415.08F331407963@gemini.denx.de> Message-ID: <4E761B2D.8020908@aribaud.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Le 18/09/2011 15:24, Wolfgang Denk a ?crit : > Dear Albert ARIBAUD, > > In message<4E75C4A4.20604@aribaud.net> you wrote: >> >> Le 18/09/2011 09:52, Linus Walleij a =E9crit : >>> This reconfigures the EBI (External Bus Interface) on the >>> integrator so that chip select 1, handling the flash memory, is >>> set to writeable. Without this it is not possible for U-Boot to >>> access flash memory and it crashes on startup since CFI won't >>> work properly. >> >> Do you mean that U-Boot writes to the flash at each boot on this board? > > I think this is a misunderstanding of terms. When we try to > identify the flash type and geomentry in the CFI driver, we do send > certain commands to the flash, and read the returned data. This > "sending commands" includes write cycles to the flash address space, > so it is necessary that the memory controller setup allows write > cycles on the bus. > > This does however NOT mean that any data are programmed into the > flash. Indeed, I had misunderstood the commit message. Apologies. > Best regards, > > Wolfgang Denk Amicalement, -- Albert.