summaryrefslogtreecommitdiff
path: root/include/usb/ci_udc.h
blob: 1ed74a27cbc389c2969fb7c8a04f064b4b326cd3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* SPDX-License-Identifier: GPL-2.0+ */
/*
 * Copyright 2011, Marvell Semiconductor Inc.
 * Lei Wen <leiwen@marvell.com>
 */


#ifndef __CI_UDC_H__
#define __CI_UDC_H__
#include <usb/ehci-ci.h>
#include <usb/usb_mx6_common.h>

#define EP_MAX_PACKET_SIZE	0x200
#define EP0_MAX_PACKET_SIZE	64

bool ci_udc_check_bus_active(ulong ehci_addr, struct ehci_mx6_phy_data *phy_data, int index);

#endif /* __CI_UDC_H__ */