xref: /rk3399_rockchip-uboot/drivers/mtd/nand/raw/nand_ids.c (revision 5240d2ba37bb32883d3e607464da49f313ce46e0)
1cfcc706cSMiquel Raynal /*
2cfcc706cSMiquel Raynal  *  Copyright (C) 2002 Thomas Gleixner (tglx@linutronix.de)
3cfcc706cSMiquel Raynal  *
4cfcc706cSMiquel Raynal  * This program is free software; you can redistribute it and/or modify
5cfcc706cSMiquel Raynal  * it under the terms of the GNU General Public License version 2 as
6cfcc706cSMiquel Raynal  * published by the Free Software Foundation.
7cfcc706cSMiquel Raynal  *
8cfcc706cSMiquel Raynal  */
9cfcc706cSMiquel Raynal #include <common.h>
10cfcc706cSMiquel Raynal #include <linux/mtd/rawnand.h>
11cfcc706cSMiquel Raynal #include <linux/sizes.h>
12cfcc706cSMiquel Raynal 
13cfcc706cSMiquel Raynal #define LP_OPTIONS NAND_SAMSUNG_LP_OPTIONS
14cfcc706cSMiquel Raynal #define LP_OPTIONS16 (LP_OPTIONS | NAND_BUSWIDTH_16)
15cfcc706cSMiquel Raynal 
16cfcc706cSMiquel Raynal #define SP_OPTIONS NAND_NEED_READRDY
17cfcc706cSMiquel Raynal #define SP_OPTIONS16 (SP_OPTIONS | NAND_BUSWIDTH_16)
18cfcc706cSMiquel Raynal 
19cfcc706cSMiquel Raynal /*
20cfcc706cSMiquel Raynal  * The chip ID list:
21cfcc706cSMiquel Raynal  *    name, device ID, page size, chip size in MiB, eraseblock size, options
22cfcc706cSMiquel Raynal  *
23cfcc706cSMiquel Raynal  * If page size and eraseblock size are 0, the sizes are taken from the
24cfcc706cSMiquel Raynal  * extended chip ID.
25cfcc706cSMiquel Raynal  */
26cfcc706cSMiquel Raynal struct nand_flash_dev nand_flash_ids[] = {
27cfcc706cSMiquel Raynal #ifdef CONFIG_MTD_NAND_MUSEUM_IDS
28cfcc706cSMiquel Raynal 	LEGACY_ID_NAND("NAND 1MiB 5V 8-bit",	0x6e, 1, SZ_4K, SP_OPTIONS),
29cfcc706cSMiquel Raynal 	LEGACY_ID_NAND("NAND 2MiB 5V 8-bit",	0x64, 2, SZ_4K, SP_OPTIONS),
30cfcc706cSMiquel Raynal 	LEGACY_ID_NAND("NAND 1MiB 3,3V 8-bit",	0xe8, 1, SZ_4K, SP_OPTIONS),
31cfcc706cSMiquel Raynal 	LEGACY_ID_NAND("NAND 1MiB 3,3V 8-bit",	0xec, 1, SZ_4K, SP_OPTIONS),
32cfcc706cSMiquel Raynal 	LEGACY_ID_NAND("NAND 2MiB 3,3V 8-bit",	0xea, 2, SZ_4K, SP_OPTIONS),
33cfcc706cSMiquel Raynal 	LEGACY_ID_NAND("NAND 4MiB 3,3V 8-bit", 	0xd5, 4, SZ_8K, SP_OPTIONS),
34cfcc706cSMiquel Raynal 
35cfcc706cSMiquel Raynal 	LEGACY_ID_NAND("NAND 8MiB 3,3V 8-bit",	0xe6, 8, SZ_8K, SP_OPTIONS),
36cfcc706cSMiquel Raynal #endif
37cfcc706cSMiquel Raynal 	/*
38cfcc706cSMiquel Raynal 	 * Some incompatible NAND chips share device ID's and so must be
39cfcc706cSMiquel Raynal 	 * listed by full ID. We list them first so that we can easily identify
40cfcc706cSMiquel Raynal 	 * the most specific match.
41cfcc706cSMiquel Raynal 	 */
42cfcc706cSMiquel Raynal 	{"TC58NVG0S3E 1G 3.3V 8-bit",
43cfcc706cSMiquel Raynal 		{ .id = {0x98, 0xd1, 0x90, 0x15, 0x76, 0x14, 0x01, 0x00} },
44cfcc706cSMiquel Raynal 		  SZ_2K, SZ_128, SZ_128K, 0, 8, 64, NAND_ECC_INFO(1, SZ_512),
45cfcc706cSMiquel Raynal 		  2 },
46cfcc706cSMiquel Raynal 	{"TC58NVG2S0F 4G 3.3V 8-bit",
47cfcc706cSMiquel Raynal 		{ .id = {0x98, 0xdc, 0x90, 0x26, 0x76, 0x15, 0x01, 0x08} },
48cfcc706cSMiquel Raynal 		  SZ_4K, SZ_512, SZ_256K, 0, 8, 224, NAND_ECC_INFO(4, SZ_512) },
49cfcc706cSMiquel Raynal 	{"TC58NVG2S0H 4G 3.3V 8-bit",
50cfcc706cSMiquel Raynal 		{ .id = {0x98, 0xdc, 0x90, 0x26, 0x76, 0x16, 0x08, 0x00} },
51cfcc706cSMiquel Raynal 		  SZ_4K, SZ_512, SZ_256K, 0, 8, 256, NAND_ECC_INFO(8, SZ_512) },
52*5240d2baSJon Lin 	{"FSNS8B004G 4G 3.3V 8-bit",
53*5240d2baSJon Lin 		{ .id = {0xcd, 0xdc, 0x00, 0xa2, 0x62, 0xcd} },
54*5240d2baSJon Lin 		  SZ_4K, SZ_512, SZ_256K, 0, 6, 256, NAND_ECC_INFO(16, SZ_1K) },
55cfcc706cSMiquel Raynal 	{"TC58NVG3S0F 8G 3.3V 8-bit",
56cfcc706cSMiquel Raynal 		{ .id = {0x98, 0xd3, 0x90, 0x26, 0x76, 0x15, 0x02, 0x08} },
57cfcc706cSMiquel Raynal 		  SZ_4K, SZ_1K, SZ_256K, 0, 8, 232, NAND_ECC_INFO(4, SZ_512) },
58cfcc706cSMiquel Raynal 	{"TC58NVG5D2 32G 3.3V 8-bit",
59cfcc706cSMiquel Raynal 		{ .id = {0x98, 0xd7, 0x94, 0x32, 0x76, 0x56, 0x09, 0x00} },
60cfcc706cSMiquel Raynal 		  SZ_8K, SZ_4K, SZ_1M, 0, 8, 640, NAND_ECC_INFO(40, SZ_1K) },
61a8e46bc8SJon Lin 	{"TC58NVG5H2 32G 3.3V 24-bit",
62a8e46bc8SJon Lin 		{ .id = {0x98, 0xd7, 0xa0, 0x32, 0x76, 0x56, 0x08, 0x08} },
63a8e46bc8SJon Lin 		  SZ_8K, SZ_4K, SZ_1M, 0, 8, 1024, NAND_ECC_INFO(24, SZ_1K) },
64cfcc706cSMiquel Raynal 	{"TC58NVG6D2 64G 3.3V 8-bit",
65cfcc706cSMiquel Raynal 		{ .id = {0x98, 0xde, 0x94, 0x82, 0x76, 0x56, 0x04, 0x20} },
66cfcc706cSMiquel Raynal 		  SZ_8K, SZ_8K, SZ_2M, 0, 8, 640, NAND_ECC_INFO(40, SZ_1K) },
67cfcc706cSMiquel Raynal 	{"SDTNQGAMA 64G 3.3V 8-bit",
68cfcc706cSMiquel Raynal 		{ .id = {0x45, 0xde, 0x94, 0x93, 0x76, 0x57} },
69cfcc706cSMiquel Raynal 		  SZ_16K, SZ_8K, SZ_4M, 0, 6, 1280, NAND_ECC_INFO(40, SZ_1K) },
70cfcc706cSMiquel Raynal 	{"SDTNRGAMA 64G 3.3V 8-bit",
71cfcc706cSMiquel Raynal 		{ .id = {0x45, 0xde, 0x94, 0x93, 0x76, 0x50} },
72cfcc706cSMiquel Raynal 		  SZ_16K, SZ_8K, SZ_4M, 0, 6, 1280, NAND_ECC_INFO(40, SZ_1K) },
73cdd7a99bSNikolai Zhubr 	{"H27UBG8T2BTR-BC 32G 3.3V 8-bit",
74cdd7a99bSNikolai Zhubr 		{ .id = {0xad, 0xd7, 0x94, 0xda, 0x74, 0xc3} },
75cdd7a99bSNikolai Zhubr 		  SZ_8K, SZ_4K, SZ_2M, NAND_NEED_SCRAMBLING, 6, 640,
76cdd7a99bSNikolai Zhubr 		  NAND_ECC_INFO(40, SZ_1K), 0 },
77cfcc706cSMiquel Raynal 	{"H27UCG8T2ATR-BC 64G 3.3V 8-bit",
78cfcc706cSMiquel Raynal 		{ .id = {0xad, 0xde, 0x94, 0xda, 0x74, 0xc4} },
79cfcc706cSMiquel Raynal 		  SZ_8K, SZ_8K, SZ_2M, NAND_NEED_SCRAMBLING, 6, 640,
80cfcc706cSMiquel Raynal 		  NAND_ECC_INFO(40, SZ_1K), 4 },
81cfcc706cSMiquel Raynal 	{"H27QCG8T2E5R‐BCF 64G 3.3V 8-bit",
82cfcc706cSMiquel Raynal 		{ .id = {0xad, 0xde, 0x14, 0xa7, 0x42, 0x4a} },
83cfcc706cSMiquel Raynal 		  SZ_16K, SZ_8K, SZ_4M, NAND_NEED_SCRAMBLING, 6, 1664,
84cfcc706cSMiquel Raynal 		  NAND_ECC_INFO(56, SZ_1K), 1 },
85cfcc706cSMiquel Raynal 
86cfcc706cSMiquel Raynal 	LEGACY_ID_NAND("NAND 4MiB 5V 8-bit",   0x6B, 4, SZ_8K, SP_OPTIONS),
87cfcc706cSMiquel Raynal 	LEGACY_ID_NAND("NAND 4MiB 3,3V 8-bit", 0xE3, 4, SZ_8K, SP_OPTIONS),
88cfcc706cSMiquel Raynal 	LEGACY_ID_NAND("NAND 4MiB 3,3V 8-bit", 0xE5, 4, SZ_8K, SP_OPTIONS),
89cfcc706cSMiquel Raynal 	LEGACY_ID_NAND("NAND 8MiB 3,3V 8-bit", 0xD6, 8, SZ_8K, SP_OPTIONS),
90cfcc706cSMiquel Raynal 	LEGACY_ID_NAND("NAND 8MiB 3,3V 8-bit", 0xE6, 8, SZ_8K, SP_OPTIONS),
91cfcc706cSMiquel Raynal 
92cfcc706cSMiquel Raynal 	LEGACY_ID_NAND("NAND 16MiB 1,8V 8-bit",  0x33, 16, SZ_16K, SP_OPTIONS),
93cfcc706cSMiquel Raynal 	LEGACY_ID_NAND("NAND 16MiB 3,3V 8-bit",  0x73, 16, SZ_16K, SP_OPTIONS),
94cfcc706cSMiquel Raynal 	LEGACY_ID_NAND("NAND 16MiB 1,8V 16-bit", 0x43, 16, SZ_16K, SP_OPTIONS16),
95cfcc706cSMiquel Raynal 	LEGACY_ID_NAND("NAND 16MiB 3,3V 16-bit", 0x53, 16, SZ_16K, SP_OPTIONS16),
96cfcc706cSMiquel Raynal 
97cfcc706cSMiquel Raynal 	LEGACY_ID_NAND("NAND 32MiB 1,8V 8-bit",  0x35, 32, SZ_16K, SP_OPTIONS),
98cfcc706cSMiquel Raynal 	LEGACY_ID_NAND("NAND 32MiB 3,3V 8-bit",  0x75, 32, SZ_16K, SP_OPTIONS),
99cfcc706cSMiquel Raynal 	LEGACY_ID_NAND("NAND 32MiB 1,8V 16-bit", 0x45, 32, SZ_16K, SP_OPTIONS16),
100cfcc706cSMiquel Raynal 	LEGACY_ID_NAND("NAND 32MiB 3,3V 16-bit", 0x55, 32, SZ_16K, SP_OPTIONS16),
101cfcc706cSMiquel Raynal 
102cfcc706cSMiquel Raynal 	LEGACY_ID_NAND("NAND 64MiB 1,8V 8-bit",  0x36, 64, SZ_16K, SP_OPTIONS),
103cfcc706cSMiquel Raynal 	LEGACY_ID_NAND("NAND 64MiB 3,3V 8-bit",  0x76, 64, SZ_16K, SP_OPTIONS),
104cfcc706cSMiquel Raynal 	LEGACY_ID_NAND("NAND 64MiB 1,8V 16-bit", 0x46, 64, SZ_16K, SP_OPTIONS16),
105cfcc706cSMiquel Raynal 	LEGACY_ID_NAND("NAND 64MiB 3,3V 16-bit", 0x56, 64, SZ_16K, SP_OPTIONS16),
106cfcc706cSMiquel Raynal 
107cfcc706cSMiquel Raynal 	LEGACY_ID_NAND("NAND 128MiB 1,8V 8-bit",  0x78, 128, SZ_16K, SP_OPTIONS),
108cfcc706cSMiquel Raynal 	LEGACY_ID_NAND("NAND 128MiB 1,8V 8-bit",  0x39, 128, SZ_16K, SP_OPTIONS),
109cfcc706cSMiquel Raynal 	LEGACY_ID_NAND("NAND 128MiB 3,3V 8-bit",  0x79, 128, SZ_16K, SP_OPTIONS),
110cfcc706cSMiquel Raynal 	LEGACY_ID_NAND("NAND 128MiB 1,8V 16-bit", 0x72, 128, SZ_16K, SP_OPTIONS16),
111cfcc706cSMiquel Raynal 	LEGACY_ID_NAND("NAND 128MiB 1,8V 16-bit", 0x49, 128, SZ_16K, SP_OPTIONS16),
112cfcc706cSMiquel Raynal 	LEGACY_ID_NAND("NAND 128MiB 3,3V 16-bit", 0x74, 128, SZ_16K, SP_OPTIONS16),
113cfcc706cSMiquel Raynal 	LEGACY_ID_NAND("NAND 128MiB 3,3V 16-bit", 0x59, 128, SZ_16K, SP_OPTIONS16),
114cfcc706cSMiquel Raynal 
115cfcc706cSMiquel Raynal 	LEGACY_ID_NAND("NAND 256MiB 3,3V 8-bit", 0x71, 256, SZ_16K, SP_OPTIONS),
116cfcc706cSMiquel Raynal 
117cfcc706cSMiquel Raynal 	/*
118cfcc706cSMiquel Raynal 	 * These are the new chips with large page size. Their page size and
119cfcc706cSMiquel Raynal 	 * eraseblock size are determined from the extended ID bytes.
120cfcc706cSMiquel Raynal 	 */
121cfcc706cSMiquel Raynal 
122cfcc706cSMiquel Raynal 	/* 512 Megabit */
123cfcc706cSMiquel Raynal 	EXTENDED_ID_NAND("NAND 64MiB 1,8V 8-bit",  0xA2,  64, LP_OPTIONS),
124cfcc706cSMiquel Raynal 	EXTENDED_ID_NAND("NAND 64MiB 1,8V 8-bit",  0xA0,  64, LP_OPTIONS),
125cfcc706cSMiquel Raynal 	EXTENDED_ID_NAND("NAND 64MiB 3,3V 8-bit",  0xF2,  64, LP_OPTIONS),
126cfcc706cSMiquel Raynal 	EXTENDED_ID_NAND("NAND 64MiB 3,3V 8-bit",  0xD0,  64, LP_OPTIONS),
127cfcc706cSMiquel Raynal 	EXTENDED_ID_NAND("NAND 64MiB 3,3V 8-bit",  0xF0,  64, LP_OPTIONS),
128cfcc706cSMiquel Raynal 	EXTENDED_ID_NAND("NAND 64MiB 1,8V 16-bit", 0xB2,  64, LP_OPTIONS16),
129cfcc706cSMiquel Raynal 	EXTENDED_ID_NAND("NAND 64MiB 1,8V 16-bit", 0xB0,  64, LP_OPTIONS16),
130cfcc706cSMiquel Raynal 	EXTENDED_ID_NAND("NAND 64MiB 3,3V 16-bit", 0xC2,  64, LP_OPTIONS16),
131cfcc706cSMiquel Raynal 	EXTENDED_ID_NAND("NAND 64MiB 3,3V 16-bit", 0xC0,  64, LP_OPTIONS16),
132cfcc706cSMiquel Raynal 
133cfcc706cSMiquel Raynal 	/* 1 Gigabit */
134cfcc706cSMiquel Raynal 	EXTENDED_ID_NAND("NAND 128MiB 1,8V 8-bit",  0xA1, 128, LP_OPTIONS),
135cfcc706cSMiquel Raynal 	EXTENDED_ID_NAND("NAND 128MiB 3,3V 8-bit",  0xF1, 128, LP_OPTIONS),
136cfcc706cSMiquel Raynal 	EXTENDED_ID_NAND("NAND 128MiB 3,3V 8-bit",  0xD1, 128, LP_OPTIONS),
137cfcc706cSMiquel Raynal 	EXTENDED_ID_NAND("NAND 128MiB 1,8V 16-bit", 0xB1, 128, LP_OPTIONS16),
138cfcc706cSMiquel Raynal 	EXTENDED_ID_NAND("NAND 128MiB 3,3V 16-bit", 0xC1, 128, LP_OPTIONS16),
139cfcc706cSMiquel Raynal 	EXTENDED_ID_NAND("NAND 128MiB 1,8V 16-bit", 0xAD, 128, LP_OPTIONS16),
140cfcc706cSMiquel Raynal 
141cfcc706cSMiquel Raynal 	/* 2 Gigabit */
142cfcc706cSMiquel Raynal 	EXTENDED_ID_NAND("NAND 256MiB 1,8V 8-bit",  0xAA, 256, LP_OPTIONS),
143cfcc706cSMiquel Raynal 	EXTENDED_ID_NAND("NAND 256MiB 3,3V 8-bit",  0xDA, 256, LP_OPTIONS),
144cfcc706cSMiquel Raynal 	EXTENDED_ID_NAND("NAND 256MiB 1,8V 16-bit", 0xBA, 256, LP_OPTIONS16),
145cfcc706cSMiquel Raynal 	EXTENDED_ID_NAND("NAND 256MiB 3,3V 16-bit", 0xCA, 256, LP_OPTIONS16),
146cfcc706cSMiquel Raynal 
147cfcc706cSMiquel Raynal 	/* 4 Gigabit */
148cfcc706cSMiquel Raynal 	EXTENDED_ID_NAND("NAND 512MiB 1,8V 8-bit",  0xAC, 512, LP_OPTIONS),
149cfcc706cSMiquel Raynal 	EXTENDED_ID_NAND("NAND 512MiB 3,3V 8-bit",  0xDC, 512, LP_OPTIONS),
150cfcc706cSMiquel Raynal 	EXTENDED_ID_NAND("NAND 512MiB 1,8V 16-bit", 0xBC, 512, LP_OPTIONS16),
151cfcc706cSMiquel Raynal 	EXTENDED_ID_NAND("NAND 512MiB 3,3V 16-bit", 0xCC, 512, LP_OPTIONS16),
152cfcc706cSMiquel Raynal 
153cfcc706cSMiquel Raynal 	/* 8 Gigabit */
154cfcc706cSMiquel Raynal 	EXTENDED_ID_NAND("NAND 1GiB 1,8V 8-bit",  0xA3, 1024, LP_OPTIONS),
155cfcc706cSMiquel Raynal 	EXTENDED_ID_NAND("NAND 1GiB 3,3V 8-bit",  0xD3, 1024, LP_OPTIONS),
156cfcc706cSMiquel Raynal 	EXTENDED_ID_NAND("NAND 1GiB 1,8V 16-bit", 0xB3, 1024, LP_OPTIONS16),
157cfcc706cSMiquel Raynal 	EXTENDED_ID_NAND("NAND 1GiB 3,3V 16-bit", 0xC3, 1024, LP_OPTIONS16),
158cfcc706cSMiquel Raynal 
159cfcc706cSMiquel Raynal 	/* 16 Gigabit */
160cfcc706cSMiquel Raynal 	EXTENDED_ID_NAND("NAND 2GiB 1,8V 8-bit",  0xA5, 2048, LP_OPTIONS),
161cfcc706cSMiquel Raynal 	EXTENDED_ID_NAND("NAND 2GiB 3,3V 8-bit",  0xD5, 2048, LP_OPTIONS),
162cfcc706cSMiquel Raynal 	EXTENDED_ID_NAND("NAND 2GiB 1,8V 16-bit", 0xB5, 2048, LP_OPTIONS16),
163cfcc706cSMiquel Raynal 	EXTENDED_ID_NAND("NAND 2GiB 3,3V 16-bit", 0xC5, 2048, LP_OPTIONS16),
164cfcc706cSMiquel Raynal 
165cfcc706cSMiquel Raynal 	/* 32 Gigabit */
166cfcc706cSMiquel Raynal 	EXTENDED_ID_NAND("NAND 4GiB 1,8V 8-bit",  0xA7, 4096, LP_OPTIONS),
167cfcc706cSMiquel Raynal 	EXTENDED_ID_NAND("NAND 4GiB 3,3V 8-bit",  0xD7, 4096, LP_OPTIONS),
168cfcc706cSMiquel Raynal 	EXTENDED_ID_NAND("NAND 4GiB 1,8V 16-bit", 0xB7, 4096, LP_OPTIONS16),
169cfcc706cSMiquel Raynal 	EXTENDED_ID_NAND("NAND 4GiB 3,3V 16-bit", 0xC7, 4096, LP_OPTIONS16),
170cfcc706cSMiquel Raynal 
171cfcc706cSMiquel Raynal 	/* 64 Gigabit */
172cfcc706cSMiquel Raynal 	EXTENDED_ID_NAND("NAND 8GiB 1,8V 8-bit",  0xAE, 8192, LP_OPTIONS),
173cfcc706cSMiquel Raynal 	EXTENDED_ID_NAND("NAND 8GiB 3,3V 8-bit",  0xDE, 8192, LP_OPTIONS),
174cfcc706cSMiquel Raynal 	EXTENDED_ID_NAND("NAND 8GiB 1,8V 16-bit", 0xBE, 8192, LP_OPTIONS16),
175cfcc706cSMiquel Raynal 	EXTENDED_ID_NAND("NAND 8GiB 3,3V 16-bit", 0xCE, 8192, LP_OPTIONS16),
176cfcc706cSMiquel Raynal 
177cfcc706cSMiquel Raynal 	/* 128 Gigabit */
178cfcc706cSMiquel Raynal 	EXTENDED_ID_NAND("NAND 16GiB 1,8V 8-bit",  0x1A, 16384, LP_OPTIONS),
179cfcc706cSMiquel Raynal 	EXTENDED_ID_NAND("NAND 16GiB 3,3V 8-bit",  0x3A, 16384, LP_OPTIONS),
180cfcc706cSMiquel Raynal 	EXTENDED_ID_NAND("NAND 16GiB 1,8V 16-bit", 0x2A, 16384, LP_OPTIONS16),
181cfcc706cSMiquel Raynal 	EXTENDED_ID_NAND("NAND 16GiB 3,3V 16-bit", 0x4A, 16384, LP_OPTIONS16),
182cfcc706cSMiquel Raynal 
183cfcc706cSMiquel Raynal 	/* 256 Gigabit */
184cfcc706cSMiquel Raynal 	EXTENDED_ID_NAND("NAND 32GiB 1,8V 8-bit",  0x1C, 32768, LP_OPTIONS),
185cfcc706cSMiquel Raynal 	EXTENDED_ID_NAND("NAND 32GiB 3,3V 8-bit",  0x3C, 32768, LP_OPTIONS),
186cfcc706cSMiquel Raynal 	EXTENDED_ID_NAND("NAND 32GiB 1,8V 16-bit", 0x2C, 32768, LP_OPTIONS16),
187cfcc706cSMiquel Raynal 	EXTENDED_ID_NAND("NAND 32GiB 3,3V 16-bit", 0x4C, 32768, LP_OPTIONS16),
188cfcc706cSMiquel Raynal 
189cfcc706cSMiquel Raynal 	/* 512 Gigabit */
190cfcc706cSMiquel Raynal 	EXTENDED_ID_NAND("NAND 64GiB 1,8V 8-bit",  0x1E, 65536, LP_OPTIONS),
191cfcc706cSMiquel Raynal 	EXTENDED_ID_NAND("NAND 64GiB 3,3V 8-bit",  0x3E, 65536, LP_OPTIONS),
192cfcc706cSMiquel Raynal 	EXTENDED_ID_NAND("NAND 64GiB 1,8V 16-bit", 0x2E, 65536, LP_OPTIONS16),
193cfcc706cSMiquel Raynal 	EXTENDED_ID_NAND("NAND 64GiB 3,3V 16-bit", 0x4E, 65536, LP_OPTIONS16),
194cfcc706cSMiquel Raynal 
195cfcc706cSMiquel Raynal 	{NULL}
196cfcc706cSMiquel Raynal };
197cfcc706cSMiquel Raynal 
198cfcc706cSMiquel Raynal /* Manufacturer IDs */
199cfcc706cSMiquel Raynal struct nand_manufacturers nand_manuf_ids[] = {
200cfcc706cSMiquel Raynal 	{NAND_MFR_TOSHIBA, "Toshiba"},
201cfcc706cSMiquel Raynal 	{NAND_MFR_SAMSUNG, "Samsung"},
202cfcc706cSMiquel Raynal 	{NAND_MFR_FUJITSU, "Fujitsu"},
203cfcc706cSMiquel Raynal 	{NAND_MFR_NATIONAL, "National"},
204cfcc706cSMiquel Raynal 	{NAND_MFR_RENESAS, "Renesas"},
205cfcc706cSMiquel Raynal 	{NAND_MFR_STMICRO, "ST Micro"},
206cfcc706cSMiquel Raynal 	{NAND_MFR_HYNIX, "Hynix"},
207cfcc706cSMiquel Raynal 	{NAND_MFR_MICRON, "Micron"},
208cfcc706cSMiquel Raynal 	{NAND_MFR_AMD, "AMD/Spansion"},
209cfcc706cSMiquel Raynal 	{NAND_MFR_MACRONIX, "Macronix"},
210cfcc706cSMiquel Raynal 	{NAND_MFR_EON, "Eon"},
211cfcc706cSMiquel Raynal 	{NAND_MFR_SANDISK, "SanDisk"},
212cfcc706cSMiquel Raynal 	{NAND_MFR_INTEL, "Intel"},
213cfcc706cSMiquel Raynal 	{NAND_MFR_ATO, "ATO"},
214cfcc706cSMiquel Raynal 	{0x0, "Unknown"}
215cfcc706cSMiquel Raynal };
216cfcc706cSMiquel Raynal 
217cfcc706cSMiquel Raynal EXPORT_SYMBOL(nand_manuf_ids);
218cfcc706cSMiquel Raynal EXPORT_SYMBOL(nand_flash_ids);
219cfcc706cSMiquel Raynal 
220cfcc706cSMiquel Raynal MODULE_LICENSE("GPL");
221cfcc706cSMiquel Raynal MODULE_AUTHOR("Thomas Gleixner <tglx@linutronix.de>");
222cfcc706cSMiquel Raynal MODULE_DESCRIPTION("Nand device & manufacturer IDs");
223