From: Wolfgang Denk Date: Thu, 25 Mar 2010 12:49:54 +0100 Subject: [U-Boot] [PATCH v4] cfi flash: add status polling method for amd flash In-Reply-To: <201003250943.17140.sr@denx.de> References: <1269314648-6289-1-git-send-email-thomas@wytron.com.tw> <1269397761-23394-1-git-send-email-thomas@wytron.com.tw> <201003250943.17140.sr@denx.de> Message-ID: <20100325114954.3514AE8E722@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Stefan Roese, In message <201003250943.17140.sr@denx.de> you wrote: > On Wednesday 24 March 2010 03:29:21 Thomas Chou wrote: > > This patch adds status polling method to offer an alternative to > > data toggle method for amd flash chips. > > > > This patch is needed for nios2 cfi flash interface, where the bus > > controller performs 4 bytes read cycles for a single byte read > > instruction. The data toggle method can not detect chip busy > > status correctly. So we have to poll DQ7, which will be inverted > > when the chip is busy. > > > > This feature is enabled with the config def, > > CONFIG_SYS_CFI_FLASH_STATUS_POLL > > > > In flash_erase, the verbose printing of '.' is changed that it will > > go with each sector whether successed or failed. > > Applied to u-boot-cfi-flash/next. Thanks. I object against pulling in a global change to the user interface just like that, without any discussion. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de No journaling file system can recover your data if the disk dies. - Steve Rago in