Update of /cvsroot/blob/blob/include/blob
In directory usw-pr-cvs1:/tmp/cvs-serv12603/include/blob
Modified Files:
flash.h
Log Message:
- Add functions to walk flash block table
- Make flash_descriptors const
- Convert SerialOutput*() functions to printf() and friends
Index: flash.h
===================================================================
RCS file: /cvsroot/blob/blob/include/blob/flash.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- flash.h 31 Dec 2001 00:28:53 -0000 1.9
+++ flash.h 13 Feb 2002 00:06:11 -0000 1.10
@@ -78,7 +78,7 @@
/* should be filled out by the architecture dependent files */
-extern flash_descriptor_t *flash_descriptors;
+extern const flash_descriptor_t *flash_descriptors;
extern flash_driver_t *flash_driver;
@@ -94,5 +94,7 @@
int flash_unlock_region(u32 *start, u32 nwords);
int flash_query_region(u32 *start, u32 nwords);
+int flash_get_first_block_address(u32 *addr);
+int flash_get_next_block_address(u32* addr, u32 current);
#endif
|