projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4852eb
)
[PATCH 8_9] Add block_write hook to block_dev_desc_t
author
Grant Likely
<grant.likely@secretlab.ca>
Tue, 20 Feb 2007 08:05:38 +0000
(09:05 +0100)
committer
Stefan 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
patch
|
blob
|
history
diff --git
a/include/part.h
b/include/part.h
index f89ebc6e731a5029c98b40fbb3ab00df98c9d2d0..4f5a570795b8c5d4cc1901641c177bea4f2301d0 100644
(file)
--- a/
include/part.h
+++ b/
include/part.h
@@
-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: */