mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-11 13:08:31 -04:00
[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>
This commit is contained in:
parent
f4852ebe6c
commit
53758fa20e
@ -45,6 +45,10 @@ typedef struct block_dev_desc {
|
|||||||
unsigned long start,
|
unsigned long start,
|
||||||
lbaint_t blkcnt,
|
lbaint_t blkcnt,
|
||||||
unsigned long *buffer);
|
unsigned long *buffer);
|
||||||
|
unsigned long (*block_write)(int dev,
|
||||||
|
unsigned long start,
|
||||||
|
lbaint_t blkcnt,
|
||||||
|
const void *buffer);
|
||||||
}block_dev_desc_t;
|
}block_dev_desc_t;
|
||||||
|
|
||||||
/* Interface types: */
|
/* Interface types: */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user