From: Wolfgang Denk Date: Mon, 22 Feb 2010 09:28:27 +0100 Subject: [U-Boot] [PATCH]: common/cmd_flash.c: bug-fix In-Reply-To: <8F43DBAAFE554067877FD8568CAB4FDC@smartbridges.com> References: <1B4B728CB312483CB5A7BE72ECC00C67@smartbridges.com> <89D4E2CB6B654B3FB0DA6A0CE6650515@smartbridges.com> <20100212152732.85063E8CCE4@gemini.denx.de> <8F43DBAAFE554067877FD8568CAB4FDC@smartbridges.com> Message-ID: <20100222082827.0564CA87D18@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 "Teh Kok How", please do not top-post / full quote. In message <8F43DBAAFE554067877FD8568CAB4FDC@smartbridges.com> you wrote: > > Sorry, been away for 1 week. The constant 10 is the size of an array > that is arbitrarily chosen so that it is big enough to hold the current mtd > device identifier such as nor0, nor1, nor2, nand0, nand1, nand2, etc. Such random limitations have never been a good idea. This should be fixed. 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 It is much easier to suggest solutions when you know nothing