Update of /cvsroot/blob/blob/include/blob
In directory sc8-pr-cvs1:/tmp/cvs-serv9903
Modified Files:
partition.h
Log Message:
Add BLOB_PART_OFS_APPEND and BLOB_PART_SIZ_FULL flags.
BLOB_PART_OFF_APPEND allows a partition offset to be defined
to start at the end of the previous partition.
BLOB_PART_SIZ_FULL allows a partition length to be defined to use up
all remaining flash space. This is especially useful with the
CFI query support (cf. QUERY_FLASH_FOR_DESCRIPTORS).
Index: partition.h
===================================================================
RCS file: /cvsroot/blob/blob/include/blob/partition.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- partition.h 19 Mar 2002 21:08:39 -0000 1.4
+++ partition.h 27 Jan 2003 20:42:32 -0000 1.5
@@ -60,6 +60,8 @@
#define BLOB_PART_INVALID_MAGIC (0x42504530) /* BPE0, Blob Partition Entry 0 */
#define BLOB_PART_NAMELEN (32)
+#define BLOB_PART_OFS_APPEND ((u32) -1) /* append to previous */
+#define BLOB_PART_SIZ_FULL ((u32) -1) /* use remaing flash */
typedef struct {
/* generic (i.e.: blob independent) data */
|