?? nand_list.h
字號:
/**
*這組宏和數(shù)據(jù)結(jié)構(gòu)來自于nandflash的物理特性
* @file nand_list.h
* @brief this is the information from nandflash
* This file provides nandflash basic information,so we can
search this information in order software fit hardware
automaticly
* Copyright (C) 2006 Anyka (GuangZhou) Software Technology Co., Ltd.
* @author Dengjian
* @date 2006-01-06
* @version 1.0
* @
*/
#ifndef _NAND_LIST_H_
#define _NAND_LIST_H_
#define ERROR_CHIP_ID 0x00000000
typedef struct Nand_phy_info{
T_U32 chip_id;//chip id
T_U16 page_size; //page size
T_U16 page_per_blk; //page of one blok
T_U16 blk_num;//total block number
T_U16 group_blk_num;//if size is 512M, A29 must the same when copy back, we thougt the A29=0 is a group,A29=1 is another group
T_U16 plane_blk_num;
T_U8 spare_size;//spare size
T_U8 col_cycle;//column address cycle
T_U8 lst_col_mask;//last column addrress cycle mask bit
T_U8 row_cycle;//row address cycle
T_U8 last_row_mask;//last row address cycle mask bit
T_U8 custom_nd;//if is a custom nandflash(ohter not typicly nandflash),set bit,use this would fast
T_U8 *des_str;//descriptor string
}T_NAND_PHY_INFO;
//custom nandflash bit information
//this byte is just for expand out driver
//bit 0,if nandflash no cache, set this bit,driver would avoid cache control
//bit 1,if nandflash command set is other,set this bit dirver would try to find this chips command set
//bit 2,if nandflash use 16 bit connect,set this bit
//bit 3,if pin R/B not connect,set this bit
//bit 4,bit 5,bit 6,bit 7,reserved for other status
extern const T_NAND_PHY_INFO SUPPORT_NAND_TABLE[];
#endif //_NAND_LIST_H_
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -