2 * NAND Flash Controller Device Driver
3 * Copyright (c) 2009, Intel Corporation and its suppliers.
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms and conditions of the GNU General Public License,
7 * version 2, as published by the Free Software Foundation.
9 * This program is distributed in the hope it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
14 * You should have received a copy of the GNU General Public License along with
15 * this program; if not, write to the Free Software Foundation, Inc.,
16 * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
26 /* prototypes: emulator API functions */
27 extern u16
emu_Flash_Reset(void);
28 extern u16
emu_Flash_Init(void);
29 extern int emu_Flash_Release(void);
30 extern u16
emu_Read_Device_ID(void);
31 extern u16
emu_Erase_Block(u32 block_addr
);
32 extern u16
emu_Write_Page_Main(u8
*write_data
, u32 Block
,
33 u16 Page
, u16 PageCount
);
34 extern u16
emu_Read_Page_Main(u8
*read_data
, u32 Block
, u16 Page
,
36 extern u16
emu_Event_Status(void);
37 extern void emu_Enable_Disable_Interrupts(u16 INT_ENABLE
);
38 extern u16
emu_Write_Page_Main_Spare(u8
*write_data
, u32 Block
,
39 u16 Page
, u16 PageCount
);
40 extern u16
emu_Write_Page_Spare(u8
*write_data
, u32 Block
,
41 u16 Page
, u16 PageCount
);
42 extern u16
emu_Read_Page_Main_Spare(u8
*read_data
, u32 Block
,
43 u16 Page
, u16 PageCount
);
44 extern u16
emu_Read_Page_Spare(u8
*read_data
, u32 Block
, u16 Page
,
46 extern u16
emu_Get_Bad_Block(u32 block
);
48 u16
emu_CDMA_Flash_Init(void);
49 u16
emu_CDMA_Execute_CMDs(u16 tag_count
);
50 u16
emu_CDMA_Event_Status(void);
This page took 0.032137 seconds and 6 git commands to generate.