On Mon, May 23, 2011 at 12:23 PM, Damjan Marion <damjan.mar...@gmail.com> wrote: > > On May 23, 2011, at 11:42 AM, Øyvind Harboe wrote: > >>> Is there any plans to improve flash detection (i.e. detecting on >>> vendor,device pairs)? >> >> Please see if you can't write up a patch? >> >> Doesn't sound awfully hard to implement. > > Yes, I can write a patch. I think that we should change device table to > something like this: > > static struct nand_info nand_flash_ids[] = > { > { NAND_MFR_SAMSUNG, 0xD5, 0, 8192, 0, LP_OPTIONS, "K9GAG08 2GB > NAND 3.3V x8 (MLC 2bit/cell)"}, > { NAND_MFR_SAMSUNG, 0xD7, 0, 8192, 0, LP_OPTIONS, > "K9LBG08/K9HCG08 4/8GB NAND 3.3V x8 (MLC 2bit/cell)"}, > /* start "museum" IDs */ > { 0x0, 0x6e, 256, 1, 0x1000, 0, "NAND 1MiB 5V > 8-bit"}, > { 0x0, 0x64, 256, 2, 0x1000, 0, "NAND 2MiB 5V > 8-bit"}, > > - added manufacturer field > - description moved to the end for text alignment reasons > > Do we agree?
Sounds good to me. Please split the patches into one patch where you update the table and another patch where you actually start using the information in the new table. -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 87 40 27 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development