diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2007-02-20 09:05:38 +0100 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2007-02-20 09:05:38 +0100 |
commit | 53758fa20e935cc87eeb0519ed365df753a6f289 (patch) | |
tree | 913d90ec3b3768e655d01253d14d68f7bb64af95 /include/part.h | |
parent | f4852ebe6ca946a509667eb68be42026f837be76 (diff) | |
download | u-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>
Diffstat (limited to 'include/part.h')
-rw-r--r-- | 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 @@ 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: */ |