2009/5/10 Jean-Christophe PLAGNIOL-VILLARD <plagn...@jcrosoft.com>: >> >> + >> >> + } >> >> + >> >> + 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. So it's going to be controlled from the board config file.with CONFIG_something. Regards, Magnus _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot