blob: 3844e98f00059a05fd5bc8075fe3cf6910b54cca [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001/***********************************************************************
2* Copyright (C) 2001, ZTE Corporation.
3*
4* File Name: drvs_zsp.h
5* File Mark:
6* Description: zsp hal interface declaration.
7* Others:
8* Version: v1.0
9* Author: zhangyingjun
10* Date: 2009-03-23
11*
12* History 1:
13* Date:
14* Version:
15* Author:
16* Modification:
17* History 2:
18* Date: 2009.05.20
19* Version:v1.3.0
20* Author: wangxia
21* Modification: add ZSP_Reset function
22**********************************************************************/
23
24#ifndef HAL_ZSP_H
25#define HAL_ZSP_H
26
27
28/*************************************************************************
29 * Include files *
30 *************************************************************************/
31
32
33/*************************************************************************
34 * Macro *
35 *************************************************************************/
36
37
38/**************************************************************************
39 * Types *
40 **************************************************************************/
41 typedef enum
42{
43 ZSP_DC,
44 ZSP_CC,
45 MAX_ZSP_NUM
46} T_ZDrvZsp_Num;
47
48/**************************************************************************
49 * Global Variable *
50 **************************************************************************/
51
52
53/**************************************************************************
54 * Function Prototypes *
55 **************************************************************************/
56
57
58/*******************************************************************************
59 * Function: BOOT_ZSP_Init
60 * Description: ZSP initialization function,including powering on through Jtag Server & powering on through nandflash
61 * Parameters:
62 * Input:
63 *
64 * Output:
65 *
66 * Returns:
67 *
68 *
69 * Others:
70 ********************************************************************************/
71VOID BOOT_ZSP_Init(T_ZDrvZsp_Num num);
72
73
74/*******************************************************************************
75 * Function: ZSP_Reset
76 * Description: reset ZSP
77 * Parameters:
78 * Input:
79 *
80 * Output:
81 *
82 * Returns:
83 *
84 *
85 * Others:
86 ********************************************************************************/
87 VOID zsp_Reset(VOID);
88
89#endif /* HAL_ZSP_H */
90