From: Jean-Christophe PLAGNIOL-VILLARD Date: Tue, 12 May 2009 02:22:40 +0200 Subject: [U-Boot] [PATCH v2 1/3] MX31: Add NAND SPL for i.MX31. In-Reply-To: <59b21cf20905111203r4fa2859ja9f724c5a8f554b7@mail.gmail.com> References: <20090509210458.GF13502@game.jcrosoft.org> <59b21cf20905101231n6394d821ka7ffa26bc6dbae03@mail.gmail.com> <20090510203454.GG21079@game.jcrosoft.org> <59b21cf20905111203r4fa2859ja9f724c5a8f554b7@mail.gmail.com> Message-ID: <20090512002240.GE18336@game.jcrosoft.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 21:03 Mon 11 May , Magnus Lilja wrote: > 2009/5/10 Jean-Christophe PLAGNIOL-VILLARD : > >> >> + > >> >> + ? ? } > >> >> + > >> >> + ? ? page_count = CFG_NAND_CHIP_SIZE / CFG_NAND_PAGE_SIZE; > >> > please use CONFIG_SYS_ or CONFIG_ > >> > >> Will do. > >> > >> > and why not detect it? > >> > >> Might be possible, I'll look into it to see if it's doable. > > tks > > It's not really doable. In order for this to be worthwhile the > nand_flash_ids array from drivers/mtd/nand/nand_ids.c would have to > fit into the available space (2048 byte in total) and it didn't even > though I removed the text-strings. as you mention here there is only 2K so the start.S was reduced to allow more code so CONFIG_xxx_IPL/SPL do not describe this so please chance it to a better one Best Regards, J.