disk: Implement disk_dump_image()
This commit is contained in:
1 parent
5fd0755448
commit
93680de944
1 file changed
+4
-5
+4
-5
@@ -335,11 +335,10 @@ int disk_flash_image(struct usb_device_info * dev, struct image * image) {
|
|||||||
|
|
||||||
int disk_dump_image(struct usb_device_info * dev, enum image_type image, const char * file) {
|
int disk_dump_image(struct usb_device_info * dev, enum image_type image, const char * file) {
|
||||||
|
|
||||||
ERROR("Not implemented yet");
|
if ( image != IMAGE_MMC )
|
||||||
(void)dev;
|
ERROR_RETURN("Only mmc images are supported", -1);
|
||||||
(void)image;
|
|
||||||
(void)file;
|
return disk_dump_dev(dev->data, file);
|
||||||
return -1;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user