cold-flash: Added function init_cold_flash, basic check if asic id is correct

This commit is contained in:
Pali Rohár committed 2012-09-23 16:12:22 +02:00
1 parent d8c6a03147
commit d76b5a2b44
2 files changed
+62 -23

No files matched your search

+3
View File
@@ -23,6 +23,9 @@
#include "image.h"
#include "usb-device.h"
/* Initialize Cold Flash mde */
int init_cold_flash(struct usb_device_info * dev);
/* Flash 2nd and secondary image in Cold Flash mode. After flashing device will boot secondary image */
int cold_flash(struct usb_device_info * dev, struct image * x2nd, struct image * secondary);