New NAND Flash device support added
July 19th, 2008 silverspringSupport for new nand IC’s from ST Micro (upto 128MB) have been added to the nand driver in newer firmwares. Previously only Samsung (retail PSP) and Toshiba (devkit PSP) nands were supported.
-
const struct {
-
u8 id[2]; // [manufacturer ID, device ID]
-
u8 type[2];
-
u16 bytesPerPage;
-
u16 pagesPerBlock;
-
u32 blocksPerDevice;
-
-
} nandIdTable[] = {
-
-
// Toshiba 3.3V NAND Flash family
-
{ {0×98, 0xE6}, {3, 1}, 512, 16, 1024 }, // 8MB
-
{ {0×98, 0×73}, {3, 1}, 512, 32, 1024 }, // 16MB
-
{ {0×98, 0×75}, {3, 1}, 512, 32, 2048 }, // 32MB
-
{ {0×98, 0×76}, {3, 1}, 512, 32, 4096 }, // 64MB
-
{ {0×98, 0×79}, {3, 1}, 512, 32, 8192 }, // 128MB
-
-
// Samsung 3.3V NAND Flash family
-
{ {0xEC, 0xE6}, {3, 2}, 512, 16, 1024 }, // 8MB
-
{ {0xEC, 0×73}, {3, 2}, 512, 32, 1024 }, // 16MB
-
{ {0xEC, 0×75}, {3, 2}, 512, 32, 2048 }, // 32MB (default TA-079/081 PSP NAND)
-
{ {0xEC, 0×76}, {3, 2}, 512, 32, 4096 }, // 64MB
-
{ {0xEC, 0×79}, {3, 2}, 512, 32, 8192 }, // 128MB
-
{ {0xEC, 0×71}, {3, 2}, 512, 32, 16384 }, // 256MB
-
{ {0xEC, 0xDC}, {3, 2}, 512, 32, 32768 }, // 512MB
-
-
// Samsung 1.8V NAND Flash family
-
{ {0xEC, 0×39}, {1, 2}, 512, 16, 1024 }, // 8MB
-
{ {0xEC, 0×33}, {1, 2}, 512, 32, 1024 }, // 16MB
-
{ {0xEC, 0×35}, {1, 2}, 512, 32, 2048 }, // 32MB (default TA-082/086 PSP NAND)
-
{ {0xEC, 0×36}, {1, 2}, 512, 32, 4096 }, // 64MB (default TA-085/088 PSP NAND)
-
{ {0xEC, 0×78}, {1, 2}, 512, 32, 8192 }, // 128MB
-
-
// ST Micro 1.8V NAND Flash family
-
{ {0×20, 0×35}, {1, 2}, 512, 32, 2048 }, // 32MB
-
{ {0×20, 0×36}, {1, 2}, 512, 32, 4096 }, // 64MB
-
{ {0×20, 0×39}, {1, 2}, 512, 32, 8192 }, // 128MB
-
};