iamyhw@gmail.com 8d77fe70dc fixed bug: no release uffs_object_handler in dfs_uffs.c
function:dfs_uffs_open()

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1363 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-04-03 10:13:21 +00:00

29 lines
801 B
C

#ifndef __K9F2G08_H__
#define __K9F2G08_H__
#include <rtdef.h>
#include <s3c24x0.h>
#include <nand.h>
void K9F2G08_Program(u32 blockIndex, u32 srcAddress, u32 fileSize);
//*************** H/W dependent functions ***************
void K9F2G08_ReadChipID(u8* buf, UBOOL all);
int K9F2G08_Check_badblk(u32 block);
int K9F2G08_EraseBlock (u32 block);
int K9F2G08_Mark_badblk (u32 block);
int K9F2G08_ReadPage (u32 block, u32 page, u8 *buffer, int len, u8 *ecc);
int K9F2G08_WritePage (u32 block, u32 page, const u8 *buffer, int len, const u8 *ecc);
int K9F2G08_ReadTags (u32 block, u32 page, u8 *spare, int ofs, int len);
int K9F2G08_WriteTags (u32 block, u32 page, const u8 *spare, int ofs, int len);
void K9F2G08_Reset(void);
void K9F2G08_Init(void);
#endif