rockbox/flash/uart_boot/flash.h
Jörg Hohensohn 6a4e4c87c2 source code for all my flash stuff, now finally in cvs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4083 a1c6a512-1295-4272-9138-f99709370657
2003-11-30 11:37:43 +00:00

9 lines
No EOL
339 B
C

#ifndef _FLASH_H
#define _FLASH_H
int ReadID(tUartHandle serial_handle, UINT32 base, UINT8* pManufacturerID, UINT8* pDeviceID);
int EraseSector(tUartHandle serial_handle, UINT32 address);
int EraseChip(tUartHandle serial_handle, UINT32 base);
int ProgramBytes(tUartHandle serial_handle, UINT32 address, UINT8* pData, UINT32 size);
#endif