• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * drivers/usb/sunxi_usb/include/sunxi_usb_config.h
3  * (C) Copyright 2010-2015
4  * Allwinner Technology Co., Ltd. <www.allwinnertech.com>
5  * javen, 2011-4-14, create this file
6  *
7  * usb config head file.
8  *
9  * This program is free software; you can redistribute it and/or
10  * modify it under the terms of the GNU General Public License as
11  * published by the Free Software Foundation; either version 2 of
12  * the License, or (at your option) any later version.
13  *
14  */
15 
16 #ifndef __SUNXI_USB_CONFIG_H__
17 #define __SUNXI_USB_CONFIG_H__
18 
19 #include <linux/module.h>
20 #include <linux/kernel.h>
21 #include <linux/delay.h>
22 #include <linux/slab.h>
23 #include <linux/list.h>
24 #include <linux/interrupt.h>
25 #include <linux/errno.h>
26 
27 #include  "sunxi_usb_typedef.h"
28 #include  "sunxi_usb_debug.h"
29 #include  "sunxi_usb_bsp.h"
30 
31 #include  "sunxi_usb_board.h"
32 #include  "sunxi_udc.h"
33 #include  <sunxi-gpio.h>
34 #include  <linux/gpio.h>
35 
36 #if defined(CONFIG_USB_SUNXI_HCD0)
37 #include "sunxi_hcd.h"
38 #endif
39 
40 #if defined(CONFIG_FPGA_V4_PLATFORM) || defined(CONFIG_FPGA_V7_PLATFORM)
41 #define SUNXI_USB_FPGA
42 #endif
43 
44 #endif /* __SUNXI_USB_CONFIG_H__ */
45