1
0
mirror of git://projects.qi-hardware.com/xburst-tools.git synced 2024-11-01 20:21:54 +02:00
xburst-tools/usbboot/xburst_include/target/usb_boot.h

36 lines
1011 B
C
Raw Normal View History

2009-05-16 05:57:10 +03:00
/*
* "Ingenic flash tool" - flash the Ingenic CPU via USB
*
* Copyright 2009 (C) Qi Hardware Inc.,
* Author: Xiangfu Liu <xiangfu@sharism.cc>
2009-05-16 05:57:10 +03:00
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 3 as published by the Free Software Foundation.
*
* 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, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301, USA
*/
#ifndef __USB_BOOT_H__
#define __USB_BOOT_H__
#define BULK_OUT_BUF_SIZE (2048 * 128)
#define BULK_IN_BUF_SIZE (2048 * 128)
2009-05-15 08:00:06 +03:00
enum UDC_STATE
{
IDLE,
BULK_IN,
BULK_OUT
};
2009-05-16 05:57:10 +03:00
#endif /* __USB_BOOT_H__ */