[Buildroot] nand id format in /nandflash.c

Ted Salazar Ted.Salazar at maximintegrated.com
Sun Jun 7 09:00:54 UTC 2015


Not sure why this is not commented in the source code by Atmel but can one of you tell me what the nand id format is in /nandflash.c. You guys must do this all the time. I know the first four hex numbers are the manufacturer ID and the device ID from the data sheet but what is the format for the other hex values? For example,

static struct nand_chip nand_ids[] = {
                /* Micron MT29F2G16AAB 256MB */
                {0x2cca, 0x800, 0x20000, 0x800, 0x40, 0x1},
                /* Micron MT29F2G08AAC 256MB  */
                {0x2cda, 0x800, 0x20000, 0x800, 0x40, 0x0},
...

What does the 2nd (0x800), 3rd (0x20000) , 4th (0x800), 5th (0x40), and 6th (0x1) hex numbers represent since I need to move to a different memory manufacturer and will need to create a new nandflash option.

Micron nandflash data sheet link below:
http://media.digikey.com/pdf/Data%20Sheets/Micron%20Technology%20Inc%20PDFs/MT29F2G%2808,16%29AAD,ABD.pdf

Thanks in advance,
Ted
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildroot.org/pipermail/buildroot/attachments/20150607/59de2a4f/attachment.html>


More information about the buildroot mailing list