[U-Boot] [PATCH v2 1/3] MX31: Add NAND SPL for i.MX31.

Magnus Lilja lilja.magnus at gmail.com
Mon May 11 21:03:11 CEST 2009


2009/5/10 Jean-Christophe PLAGNIOL-VILLARD <plagnioj at 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


More information about the U-Boot mailing list