mirror of
https://github.com/ApacheThunder/omega-kernel-boot-to-nor.git
synced 2025-06-18 19:25:32 -04:00
12 lines
410 B
C
12 lines
410 B
C
#include <gba_base.h>
|
|
|
|
#include "ff.h"
|
|
//---------------------------------------------------------------
|
|
void Chip_Reset();
|
|
void Block_Erase(u32 blockAdd);
|
|
void Chip_Erase();
|
|
void FormatNor();
|
|
void WriteFlash(u32 address,u8 *buffer,u32 size);
|
|
void IWRAM_CODE WriteFlash_with32word(u32 address,u8 *buffer,u32 size);
|
|
u32 Loadfile2NOR(TCHAR *filename, u32 NORaddress,u32 have_patch);
|
|
u32 GetFileListFromNor(void); |