diff options
author | Pali Rohár <pali.rohar@gmail.com> | 2012-08-08 11:33:08 +0200 |
---|---|---|
committer | Pali Rohár <pali.rohar@gmail.com> | 2012-08-08 11:33:08 +0200 |
commit | b80dfdc65718a717fe8c3287a087f96071c33ccf (patch) | |
tree | 21727a9a25ff3a371916cafda913f4a7b9184921 /src/cold-flash.h | |
parent | d06e88ce39dadb22c8c0adfcad8f788a6cc4f6fa (diff) | |
download | 0xFFFF-b80dfdc65718a717fe8c3287a087f96071c33ccf.tar.bz2 |
cold-flash: prepair cold-flash code
Diffstat (limited to 'src/cold-flash.h')
-rw-r--r-- | src/cold-flash.h | 29 |
1 files changed, 29 insertions, 0 deletions
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 <pali.rohar@gmail.com> + + 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 <http://www.gnu.org/licenses/>. + +*/ + +#ifndef COLD_FLASH_H +#define COLD_FLASH_H + +#include <usb.h> + +#include "image.h" + +int cold_flash(usb_dev_handle * udev, struct image * x2nd, struct image * secondary); + +#endif |