📄 nand_drv_st.h
字号:
/*******************************************************************************
* Copyright Statement:
* --------------------
* This software is protected by Copyright and the information contained
* herein is confidential. The software may not be copied and the information
* contained herein may not be used or disclosed except with the written
* permission of MediaTek Inc. (C) 2005
*
*******************************************************************************/
/*******************************************************************************
*
* Filename:
* ---------
* nand_drv_ST.h
*
* Project:
* --------
* FlashTool Download Agent
*
* Description:
* ------------
* STMicroelectronics compatible NAND flash driver
*
* Author:
* -------
* Amos Hsu
*
*==============================================================================
* HISTORY
* Below this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
*------------------------------------------------------------------------------
* $Revision: 1.1 $
* $Modtime: Dec 19 2005 16:02:36 $
* $Log: //mtkvs01/vmdata/new_flash_tool/archives/DA/INC/nand_drv_ST.h-arc $
*
* Rev 1.1 Dec 29 2005 10:55:36 mtk00539
* 1. [DA] Add pre-process callback function to unlock all the blocks to meet ST NAND flash requirement.
* Resolution for 156: [FlashTool v2.7.1013][BUG FIX] Fix BootROM start command failure while manually selecting NMT6226 or MT6227 baseband chip.
*
* Rev 1.0 Oct 19 2005 14:40:22 mtk00539
* Initial revision.
* Resolution for 140: [BROM_DLL v2.7.1008][New] Support NFB download and many new features.
*
*------------------------------------------------------------------------------
* Upper this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
*==============================================================================
*******************************************************************************/
#ifndef _NAND_DRV_ST_H_
#define _NAND_DRV_ST_H_
#include "nand_dev_tbl.h"
#ifdef __cplusplus
extern "C" {
#endif
//------------------------------------------------------------------------------
// STMicroelectronics Command Set
//------------------------------------------------------------------------------
extern const NAND_CommandSet_S g_NAND_ST_512_CMD_SET;
extern const NAND_CommandSet_S g_NAND_ST_2048_CMD_SET;
//------------------------------------------------------------------------------
// STMicroelectronics Callback Function Set
//------------------------------------------------------------------------------
extern const NAND_CMD_Callback_S g_NAND_ST_CB_FUNC_SET;
extern const NAND_CMD_Callback_S g_NAND_ST_CB_FUNC_SET_WITHOUT_COPYBACK;
//------------------------------------------------------------------------------
// Whole Chip Unlock
//------------------------------------------------------------------------------
STATUS_E NAND_ST_WholeChipUnlock(const NAND_DeviceInfo_S *nand_info, const uint32 c_timeout);
#ifdef __cplusplus
}
#endif
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -