summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@secretlab.ca>2007-02-20 09:05:38 +0100
committerStefan Roese <sr@denx.de>2007-02-20 09:05:38 +0100
commit53758fa20e935cc87eeb0519ed365df753a6f289 (patch)
tree913d90ec3b3768e655d01253d14d68f7bb64af95
parentf4852ebe6ca946a509667eb68be42026f837be76 (diff)
downloadu-boot-imx-53758fa20e935cc87eeb0519ed365df753a6f289.zip
u-boot-imx-53758fa20e935cc87eeb0519ed365df753a6f289.tar.gz
u-boot-imx-53758fa20e935cc87eeb0519ed365df753a6f289.tar.bz2
[PATCH 8_9] Add block_write hook to block_dev_desc_t
Preparation for future patches which support block device writing Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
-rw-r--r--include/part.h4
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 @@ 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: */