tizen 2.4 release
[kernel/u-boot-tm1.git] / nand_fdl / fdl-2 / inc / mcu_command.h
1 #ifndef MCU_COMMAND_H
2 #define MCU_COMMAND_H
3
4 #include <asm/arch/cmd_def.h>
5 #include <asm/arch/packet.h>
6
7 #ifdef __cplusplus
8 extern "C" {
9 #endif /* __cplusplus */
10
11
12 /******************************************************************************
13  * mcu_reset_normal
14  ******************************************************************************/
15 int FDL_McuResetNormal (PACKET_T *packet, void *arg);
16
17 /******************************************************************************
18  * mcu_reset_boot
19  *
20  * This function is for testing FDL.
21  ******************************************************************************/
22 int FDL_McuResetBoot (PACKET_T *pakcet, void *arg);
23
24 /******************************************************************************
25  * mcu_read_chip_type
26  ******************************************************************************/
27 int FDL_McuReadChipType (PACKET_T *packet, void *arg);
28
29 /******************************************************************************
30  * mcu_read_mcp_type
31  * ****************************************************************************/
32 int FDL_McuReadMcpType(PACKET_T *packet, void *arg);
33 typedef struct MCP_TYPE
34 {
35     int flag;
36     int blocksize;
37     int pagesize;
38 }MCP_T;
39 #ifdef __cplusplus
40 }
41 #endif /* __cplusplus */
42
43 #endif /* MCU_COMMAND_H */