OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [drivers/] [mtd/] [nand/] [nand_ids.c] - Blame information for rev 1275

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1275 phoenix
/*
2
 *  drivers/mtd/nandids.c
3
 *
4
 *  Copyright (C) 2002 Thomas Gleixner (tglx@linutronix.de)
5
 *
6
 *
7
 * $Id: nand_ids.c,v 1.1.1.1 2004-04-15 01:51:59 phoenix 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 1MB 5V", 0x6e, 20, 0x1000, 1},   // 1Mb 5V
22
        {"NAND 2MB 5V", 0x64, 21, 0x1000, 1},   // 2Mb 5V
23
        {"NAND 4MB 5V", 0x6b, 22, 0x2000, 0},    // 4Mb 5V
24
        {"NAND 1MB 3,3V", 0xe8, 20, 0x1000, 1}, // 1Mb 3.3V
25
        {"NAND 1MB 3,3V", 0xec, 20, 0x1000, 1}, // 1Mb 3.3V
26
        {"NAND 2MB 3,3V", 0xea, 21, 0x1000, 1}, // 2Mb 3.3V
27
        {"NAND 4MB 3,3V", 0xd5, 22, 0x2000, 0},  // 4Mb 3.3V
28
        {"NAND 4MB 3,3V", 0xe3, 22, 0x2000, 0},  // 4Mb 3.3V
29
        {"NAND 4MB 3,3V", 0xe5, 22, 0x2000, 0},  // 4Mb 3.3V
30
        {"NAND 8MB 3,3V", 0xd6, 23, 0x2000, 0},  // 8Mb 3.3V
31
        {"NAND 8MB 3,3V", 0xe6, 23, 0x2000, 0},  // 8Mb 3.3V
32
        {"NAND 16MB 3,3V", 0x73, 24, 0x4000, 0},// 16Mb 3,3V
33
        {"NAND 32MB 3,3V", 0x75, 25, 0x4000, 0}, // 32Mb 3,3V
34
        {"NAND 64MB 3,3V", 0x76, 26, 0x4000, 0}, // 64Mb 3,3V
35
        {"NAND 128MB 3,3V", 0x79, 27, 0x4000, 0}, // 128Mb 3,3V
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");

powered by: WebSVN 2.1.0

© copyright 1999-2025 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.