From b80dfdc65718a717fe8c3287a087f96071c33ccf Mon Sep 17 00:00:00 2001 From: Pali Rohár Date: Wed, 8 Aug 2012 11:33:08 +0200 Subject: cold-flash: prepair cold-flash code --- src/cold-flash.h | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 src/cold-flash.h (limited to 'src/cold-flash.h') diff --git a/src/cold-flash.h b/src/cold-flash.h new file mode 100644 index 0000000..303f628 --- /dev/null +++ b/src/cold-flash.h @@ -0,0 +1,29 @@ +/* + cold-flash.h - Cold flashing + Copyright (C) 2011-2012 Pali Rohár + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +*/ + +#ifndef COLD_FLASH_H +#define COLD_FLASH_H + +#include + +#include "image.h" + +int cold_flash(usb_dev_handle * udev, struct image * x2nd, struct image * secondary); + +#endif -- cgit v1.2.3