⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 nand_ids.h

📁 关于测试at91sam9260的各种驱动和功能的测试源代码。
💻 H
字号:
/*
 *  u-boot/include/linux/mtd/nand_ids.h
 *
 *  Copyright (c) 2000 David Woodhouse <dwmw2@mvhi.com>
 *                     Steven J. Hill <sjhill@cotw.com>
 *
 * $Id: nand_ids.h,v 1.1 2006/07/29 09:12:36 lin Exp $
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 *
 *  Info:
 *   Contains standard defines and IDs for NAND flash devices
 *
 *  Changelog:
 *   01-31-2000 DMW     Created
 *   09-18-2000 SJH     Moved structure out of the Disk-On-Chip drivers
 *			so it can be used by other NAND flash device
 *			drivers. I also changed the copyright since none
 *			of the original contents of this file are specific
 *			to DoC devices. David can whack me with a baseball
 *			bat later if I did something naughty.
 *   10-11-2000 SJH     Added private NAND flash structure for driver
 *   2000-10-13 BE      Moved out of 'nand.h' - avoids duplication.
 */

#ifndef __LINUX_MTD_NAND_IDS_H
#define __LINUX_MTD_NAND_IDS_H

static struct nand_flash_dev nand_flash_ids[] = {
	{"Toshiba TC5816BDC",     	  NAND_MFR_TOSHIBA, 0x64, 21, 256, 0, 1, 2, 0x1000},
	{"Toshiba TC5832DC",      	  NAND_MFR_TOSHIBA, 0x6b, 22, 512, 0, 1, 2, 0x2000},
	{"Toshiba TH58V128DC",    	  NAND_MFR_TOSHIBA, 0x73, 24, 512, 0, 1, 2, 0x4000},
	{"Toshiba TC58256FT/DC",  	  NAND_MFR_TOSHIBA, 0x75, 25, 512, 0, 1, 2, 0x4000},
	{"Toshiba TH58512FT",     	  NAND_MFR_TOSHIBA, 0x76, 26, 512, 0, 1, 3, 0x4000},
	{"Toshiba TC58V32DC",     	  NAND_MFR_TOSHIBA, 0xe5, 22, 512, 0, 1, 2, 0x2000},
	{"Toshiba TC58V64AFT/DC", 	  NAND_MFR_TOSHIBA, 0xe6, 23, 512, 0, 1, 2, 0x2000},
	{"Toshiba TC58V16BDC",    	  NAND_MFR_TOSHIBA, 0xea, 21, 256, 0, 1, 2, 0x1000},
	{"Toshiba TH58100FT",     	  NAND_MFR_TOSHIBA, 0x79, 27, 512, 0, 1, 3, 0x4000},
	{"Samsung KM29N16000",    	  NAND_MFR_SAMSUNG, 0x64, 21, 256, 0, 1, 2, 0x1000},
	{"Samsung unknown 4Mb",   	  NAND_MFR_SAMSUNG, 0x6b, 22, 512, 0, 1, 2, 0x2000},
	{"Samsung KM29U128T",     	  NAND_MFR_SAMSUNG, 0x73, 24, 512, 0, 1, 2, 0x4000},
	{"Samsung KM29U256T",     	  NAND_MFR_SAMSUNG, 0x75, 25, 512, 0, 1, 2, 0x4000},
	{"Samsung K9F1208U0A 64Mb",   NAND_MFR_SAMSUNG, 0x76, 26, 512, 0, 1, 3, 0x4000},
	{"Samsung K9F1216U0A 64Mb",   NAND_MFR_SAMSUNG, 0x56, 26, 512, 1, 1, 3, 0x4000},
	{"Samsung KM29W32000",    	  NAND_MFR_SAMSUNG, 0xe3, 22, 512, 0, 1, 2, 0x2000},
	{"Samsung unknown 4Mb",   	  NAND_MFR_SAMSUNG, 0xe5, 22, 512, 0, 1, 2, 0x2000},
	{"Samsung KM29U64000",    	  NAND_MFR_SAMSUNG, 0xe6, 23, 512, 0, 1, 2, 0x2000},
	{"Samsung KM29W16000",    	  NAND_MFR_SAMSUNG, 0xea, 21, 256, 0, 1, 2, 0x1000},
	{"Micron MT29F2G08AAB 256Mb", NAND_MFR_MICRON,  0xDA, 28, 2048, 1, 2, 3, 0x20000},
	{"Micron MT29F2G16AAB 256Mb", NAND_MFR_MICRON,  0xCA, 28, 2048, 1, 2, 3, 0x20000},
	{NULL,}
};

/*static struct nand_flash_dev nand_flash_ids[] = {
	{"Toshiba TC5816BDC",     	  NAND_MFR_TOSHIBA, 0x64, 21, 1, 2, 0x1000},
	{"Toshiba TC5832DC",      	  NAND_MFR_TOSHIBA, 0x6b, 22, 0, 2, 0x2000},
	{"Toshiba TH58V128DC",    	  NAND_MFR_TOSHIBA, 0x73, 24, 0, 2, 0x4000},
	{"Toshiba TC58256FT/DC",  	  NAND_MFR_TOSHIBA, 0x75, 25, 0, 2, 0x4000},
	{"Toshiba TH58512FT",     	  NAND_MFR_TOSHIBA, 0x76, 26, 0, 3, 0x4000},
	{"Toshiba TC58V32DC",     	  NAND_MFR_TOSHIBA, 0xe5, 22, 0, 2, 0x2000},
	{"Toshiba TC58V64AFT/DC", 	  NAND_MFR_TOSHIBA, 0xe6, 23, 0, 2, 0x2000},
	{"Toshiba TC58V16BDC",    	  NAND_MFR_TOSHIBA, 0xea, 21, 1, 2, 0x1000},
	{"Toshiba TH58100FT",     	  NAND_MFR_TOSHIBA, 0x79, 27, 0, 3, 0x4000},
	{"Samsung KM29N16000",    	  NAND_MFR_SAMSUNG, 0x64, 21, 1, 2, 0x1000},
	{"Samsung unknown 4Mb",   	  NAND_MFR_SAMSUNG, 0x6b, 22, 0, 2, 0x2000},
	{"Samsung KM29U128T",     	  NAND_MFR_SAMSUNG, 0x73, 24, 0, 2, 0x4000},
	{"Samsung KM29U256T",     	  NAND_MFR_SAMSUNG, 0x75, 25, 0, 2, 0x4000},
	{"Samsung K9F1208U0A 64Mb",   NAND_MFR_SAMSUNG, 0x76, 26, 0, 3, 0x4000},
	{"Samsung K9F1216U0A 64Mb",   NAND_MFR_SAMSUNG, 0x56, 26, 0, 3, 0x4000},
	{"Samsung KM29W32000",    	  NAND_MFR_SAMSUNG, 0xe3, 22, 0, 2, 0x2000},
	{"Samsung unknown 4Mb",   	  NAND_MFR_SAMSUNG, 0xe5, 22, 0, 2, 0x2000},
	{"Samsung KM29U64000",    	  NAND_MFR_SAMSUNG, 0xe6, 23, 0, 2, 0x2000},
	{"Samsung KM29W16000",    	  NAND_MFR_SAMSUNG, 0xea, 21, 1, 2, 0x1000},
	{"Micron MT29F2G08AAB 256Mb", NAND_MFR_MICRON,  0xDA, 28, 0, 3, 0x10000},
	{"Micron MT29F2G16AAB 256Mb", NAND_MFR_MICRON,  0xCA, 28, 0, 3, 0x10000},	
	{NULL,}
};
*/

#endif /* __LINUX_MTD_NAND_IDS_H */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -