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

📄 soc_check.c

📁 MTK手机平台下载工具FLASHTOOL驱动源码
💻 C
字号:
/*******************************************************************************
 *  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) 2003
 *
 *******************************************************************************/

/*******************************************************************************
 *
 * Filename:
 * ---------
 *   soc_check.c
 *
 * Project:
 * --------
 *   Download Agent
 *
 * Description:
 * ------------
 *   Customized SOC check routine.
 *
 * Author:
 * -------
 *   Amos Hsu
 *
 *==============================================================================
 * 				HISTORY
 * Below this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
 *------------------------------------------------------------------------------
 * $Revision:   1.2  $
 * $Modtime:   Jul 17 2004 16:23:20  $
 * $Log:   //mtkvs01/vmdata/flash_tool/archives/DA/SRC/soc_check.c-arc  $
 * 
 *    Rev 1.2   Jul 19 2004 01:36:24   mtk00539
 *  1. [DA][New] New flash table structure to support AMD and Intel family flash.
 *  2. [DA][New] New flash ID detection method to tell from single stack flash and daul stack flash with the same id.
 *  3. [DA][BUG FIX] Fix MB84VD23280FA id detection error.
 *  4. [DA][BUG FIX] Fix baudrate 921600 download fail under 13MHz external clock, shift SAMPLE_POINT to 0x01 under 13MHz.
 * Resolution for 81: [BROM_DLL v2.4.1001] Support Intel flash and fix many bugs.
 * 
 *    Rev 1.1   Nov 14 2003 08:22:42   mtk00539
 * #include "SW_TYPES.H"
 * Resolution for 35: [BootRom v2.1.1005][New] Add SOC feature.
 * 
 *    Rev 1.0   Nov 13 2003 21:03:18   admin
 * Initial revision.
 *
 *------------------------------------------------------------------------------
 * Upper this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
 *==============================================================================
 *******************************************************************************/
#include "SW_TYPES.H"

bool soc_check(void) {

	if(1) {
		return TRUE;	// SOC checking pass
	}
	else {
		return FALSE;	// SOC checking fail
	}

}

⌨️ 快捷键说明

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