From 6a4e4c87c24455e18bbd77565cb3e993ee350618 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Hohensohn?= Date: Sun, 30 Nov 2003 11:37:43 +0000 Subject: 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 --- flash/uart_boot/flash.h | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 flash/uart_boot/flash.h (limited to 'flash/uart_boot/flash.h') diff --git a/flash/uart_boot/flash.h b/flash/uart_boot/flash.h new file mode 100644 index 0000000..70c6201 --- /dev/null +++ b/flash/uart_boot/flash.h @@ -0,0 +1,9 @@ +#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 \ No newline at end of file -- cgit v1.1