[U-Boot-Users] [PATCH 8/9] Add block_write hook to block_dev_desc_t
Grant Likely
grant.likely at secretlab.ca
Sat Feb 17 20:34:53 CET 2007
Preparation for future patches which support block device writing
Signed-off-by: Grant Likely <grant.likely at secretlab.ca>
---
include/part.h | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/include/part.h b/include/part.h
index f89ebc6..4f5a570 100644
--- a/include/part.h
+++ b/include/part.h
@@ -45,6 +45,10 @@ #endif
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: */
--
1.4.3.rc2.g0503
More information about the U-Boot
mailing list