Tizen 2.0 Release
[platform/kernel/u-boot.git] / include / dfu.h
1 /*
2  * dfu.h - Device Firmware Upgrade
3  *
4  * copyright (c) 2011 samsung electronics
5  * author: andrzej pietrasiewicz <andrzej.p@samsung.com>
6  *
7  * this program is free software; you can redistribute it and/or modify
8  * it under the terms of the gnu general public license as published by
9  * the free software foundation; either version 2 of the license, or
10  * (at your option) any later version.
11  *
12  * this program is distributed in the hope that it will be useful,
13  * but without any warranty; without even the implied warranty of
14  * merchantability or fitness for a particular purpose.  see the
15  * gnu general public license for more details.
16  *
17  * you should have received a copy of the gnu general public license
18  * along with this program; if not, write to the free software
19  * foundation, inc., 59 temple place, suite 330, boston, ma  02111-1307  usa
20  */
21
22 #ifndef __DFU_H__
23 #define __DFU_H__
24
25 extern void board_dfu_init(void);
26 extern int dfu_init(void);
27 extern int dfu_cleanup(void);
28 extern int board_dfu_cleanup(void);
29 extern int usb_gadget_handle_interrupts(void);
30
31 #endif