tizen 2.4 release
[kernel/u-boot-tm1.git] / nand_fdl / fdl-2 / inc / fdl_main.h
1 /******************************************************************************
2  ** File Name:      fdl_main.h                                                *
3  ** Author:         Leo.Feng                                                  *
4  ** DATE:           30/11/2001                                                *
5  ** Copyright:      2001 Spreatrum, Incoporated. All Rights Reserved.         *
6  ** Description:    This file defines the interfaces of  the FIFO for serial  *
7  **                 I/O operation. The FIFO is a clic queue.Writing operation *
8  *                  can overlap the data has not be reading.                  *
9  ******************************************************************************
10
11  ******************************************************************************
12  **                        Edit History                                       *
13  ** ------------------------------------------------------------------------- *
14  ** DATE           NAME             DESCRIPTION                               *
15  ** 30/11/2001     Leo.Feng         Create.                                   *
16  **                                                                           *
17  ******************************************************************************/
18
19
20 #ifndef _FDL_MAIN_H_
21 #define _FDL_MAIN_H_
22
23
24 /*!
25         \file  sio_fifo.h
26         \brief Contains the high level c api for the sio fifo.
27
28 */
29 /**---------------------------------------------------------------------------*
30  **                         Dependencies                                      *
31  **---------------------------------------------------------------------------*/
32 #include <asm/arch/sci_types.h>
33 #include <asm/arch/cmd_def.h>
34
35
36 /**---------------------------------------------------------------------------*
37  **                         Compiler Flag                                     *
38  **---------------------------------------------------------------------------*/
39 #ifdef __cplusplus
40 extern   "C"
41 {
42 #endif
43
44
45 /**---------------------------------------------------------------------------*
46  **                         Data Structures                                   *
47  **---------------------------------------------------------------------------*/
48
49
50 /**---------------------------------------------------------------------------*
51 **                         Constant Variables                                *
52 **---------------------------------------------------------------------------*/
53
54 /**---------------------------------------------------------------------------*
55 **                         External Variables                                *
56 **---------------------------------------------------------------------------*/
57
58
59 /**---------------------------------------------------------------------------*
60  **                         External Functions                                *
61  **---------------------------------------------------------------------------*/
62
63
64 /**---------------------------------------------------------------------------*
65  **                         Function Prototypes                               *
66  **---------------------------------------------------------------------------*/
67 //void fdl_setbootmode(uint32 mode);
68
69 //void system_delay(uint32 delay_ms);
70
71 /**---------------------------------------------------------------------------*
72  **                         Compiler Flag                                     *
73  **---------------------------------------------------------------------------*/
74 #ifdef __cplusplus
75 }
76 #endif
77
78 #endif //_SIO_FIFO__H_