]> git.sur5r.net Git - u-boot/commitdiff
[PATCH 8_9] Add block_write hook to block_dev_desc_t
authorGrant Likely <grant.likely@secretlab.ca>
Tue, 20 Feb 2007 08:05:38 +0000 (09:05 +0100)
committerStefan Roese <sr@denx.de>
Tue, 20 Feb 2007 08:05:38 +0000 (09:05 +0100)
Preparation for future patches which support block device writing

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
include/part.h

index f89ebc6e731a5029c98b40fbb3ab00df98c9d2d0..4f5a570795b8c5d4cc1901641c177bea4f2301d0 100644 (file)
@@ -45,6 +45,10 @@ typedef struct block_dev_desc {
                                      unsigned long start,
                                      lbaint_t blkcnt,
                                      unsigned long *buffer);
+       unsigned long   (*block_write)(int dev,
+                                      unsigned long start,
+                                      lbaint_t blkcnt,
+                                      const void *buffer);
 }block_dev_desc_t;
 
 /* Interface types: */