From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Tue, 2 Feb 2010 09:12:26 +0100 Subject: [U-Boot] [PATCH] CFI: fix eraseregions numblocks In-Reply-To: <20100128112714.GA31435@localhost.localdomain> References: <20100127231320.GA18587@localhost.localdomain> <20100128112714.GA31435@localhost.localdomain> Message-ID: <201002020912.26305.sr@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 On Thursday 28 January 2010 12:27:14 Ladislav Michl wrote: > From: Ladislav Michl > > eraseregions numblocks was sometimes one less than actual, possibly > producing erase regions with zero blocks. As MTD code touches eraseregions > only if numeraseregions is greater that zero, allocate eraseregions only > for non uniform erase size flash. Applied to u-boot-cfi-flash/master. Thanks. Cheers, 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 at denx.de