ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.6.tar.bz2
[linux-2.6.git] / drivers / mtd / nand / nand_ids.c
1 /*
2  *  drivers/mtd/nandids.c
3  *
4  *  Copyright (C) 2002 Thomas Gleixner (tglx@linutronix.de)
5  *
6  *
7  * $Id: nand_ids.c,v 1.4 2003/05/21 15:15:08 dwmw2 Exp $
8  *
9  * This program is free software; you can redistribute it and/or modify
10  * it under the terms of the GNU General Public License version 2 as
11  * published by the Free Software Foundation.
12  *
13  */
14 #include <linux/module.h>
15 #include <linux/mtd/nand.h>
16
17 /*
18 *       Chip ID list
19 */
20 struct nand_flash_dev nand_flash_ids[] = {
21         {"NAND 1MiB 5V", 0x6e, 20, 0x1000, 1},
22         {"NAND 2MiB 5V", 0x64, 21, 0x1000, 1},
23         {"NAND 4MiB 5V", 0x6b, 22, 0x2000, 0},
24         {"NAND 1MiB 3,3V", 0xe8, 20, 0x1000, 1},
25         {"NAND 1MiB 3,3V", 0xec, 20, 0x1000, 1},
26         {"NAND 2MiB 3,3V", 0xea, 21, 0x1000, 1},
27         {"NAND 4MiB 3,3V", 0xd5, 22, 0x2000, 0},
28         {"NAND 4MiB 3,3V", 0xe3, 22, 0x2000, 0},
29         {"NAND 4MiB 3,3V", 0xe5, 22, 0x2000, 0},
30         {"NAND 8MiB 3,3V", 0xd6, 23, 0x2000, 0},
31         {"NAND 8MiB 3,3V", 0xe6, 23, 0x2000, 0},
32         {"NAND 16MiB 3,3V", 0x73, 24, 0x4000, 0},
33         {"NAND 32MiB 3,3V", 0x75, 25, 0x4000, 0},
34         {"NAND 64MiB 3,3V", 0x76, 26, 0x4000, 0},
35         {"NAND 128MiB 3,3V", 0x79, 27, 0x4000, 0},
36         {NULL,}
37 };
38
39 /*
40 *       Manufacturer ID list
41 */
42 struct nand_manufacturers nand_manuf_ids[] = {
43         {NAND_MFR_TOSHIBA, "Toshiba"},
44         {NAND_MFR_SAMSUNG, "Samsung"},
45         {NAND_MFR_FUJITSU, "Fujitsu"},
46         {NAND_MFR_NATIONAL, "National"},
47         {0x0, "Unknown"}
48 };
49
50
51 EXPORT_SYMBOL (nand_manuf_ids);
52 EXPORT_SYMBOL (nand_flash_ids);
53
54 MODULE_LICENSE ("GPL");
55 MODULE_AUTHOR ("Thomas Gleixner <tglx@linutronix.de>");
56 MODULE_DESCRIPTION ("Nand device & manufacturer ID's");