From: Grant Likely Date: Tue, 20 Feb 2007 08:05:38 +0000 (+0100) Subject: [PATCH 8_9] Add block_write hook to block_dev_desc_t X-Git-Tag: v1.3.0-rc1~164^2~1 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=53758fa20e935cc87eeb0519ed365df753a6f289;p=u-boot [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 --- diff --git a/include/part.h b/include/part.h index f89ebc6e73..4f5a570795 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: */