/*********************************************************************** | |
* Copyright (C) 2001, ZTE Corporation. | |
* | |
* File Name: drvs_zsp.h | |
* File Mark: | |
* Description: zsp hal interface declaration. | |
* Others: | |
* Version: v1.0 | |
* Author: zhangyingjun | |
* Date: 2009-03-23 | |
* | |
* History 1: | |
* Date: | |
* Version: | |
* Author: | |
* Modification: | |
* History 2: | |
* Date: 2009.05.20 | |
* Version:v1.3.0 | |
* Author: wangxia | |
* Modification: add ZSP_Reset function | |
**********************************************************************/ | |
#ifndef HAL_ZSP_H | |
#define HAL_ZSP_H | |
/************************************************************************* | |
* Include files * | |
*************************************************************************/ | |
/************************************************************************* | |
* Macro * | |
*************************************************************************/ | |
/************************************************************************** | |
* Types * | |
**************************************************************************/ | |
typedef enum | |
{ | |
ZSP_DC, | |
ZSP_CC, | |
MAX_ZSP_NUM | |
} T_ZDrvZsp_Num; | |
/************************************************************************** | |
* Global Variable * | |
**************************************************************************/ | |
/************************************************************************** | |
* Function Prototypes * | |
**************************************************************************/ | |
/******************************************************************************* | |
* Function: BOOT_ZSP_Init | |
* Description: ZSP initialization function,including powering on through Jtag Server & powering on through nandflash | |
* Parameters: | |
* Input: | |
* | |
* Output: | |
* | |
* Returns: | |
* | |
* | |
* Others: | |
********************************************************************************/ | |
VOID BOOT_ZSP_Init(T_ZDrvZsp_Num num); | |
/******************************************************************************* | |
* Function: ZSP_Reset | |
* Description: reset ZSP | |
* Parameters: | |
* Input: | |
* | |
* Output: | |
* | |
* Returns: | |
* | |
* | |
* Others: | |
********************************************************************************/ | |
VOID zsp_Reset(VOID); | |
#endif /* HAL_ZSP_H */ | |