~pmdj/ubuntu/trusty/qemu/2.9+applesmc+fadtv3

« back to all changes in this revision

Viewing changes to roms/u-boot/include/usb/pxa27x_udc.h

  • Committer: Phil Dennis-Jordan
  • Date: 2017-07-21 08:03:43 UTC
  • mfrom: (1.1.1)
  • Revision ID: phil@philjordan.eu-20170721080343-2yr2vdj7713czahv
New upstream release 2.9.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * PXA27x register declarations and HCD data structures
 
3
 *
 
4
 * Copyright (C) 2007 Rodolfo Giometti <giometti@linux.it>
 
5
 * Copyright (C) 2007 Eurotech S.p.A. <info@eurotech.it>
 
6
 *
 
7
 * SPDX-License-Identifier:     GPL-2.0+
 
8
 */
 
9
 
 
10
 
 
11
#ifndef __PXA270X_UDC_H__
 
12
#define __PXA270X_UDC_H__
 
13
 
 
14
#include <asm/byteorder.h>
 
15
 
 
16
/* Endpoint 0 states */
 
17
#define EP0_IDLE                0
 
18
#define EP0_IN_DATA             1
 
19
#define EP0_OUT_DATA            2
 
20
#define EP0_XFER_COMPLETE       3
 
21
 
 
22
 
 
23
/* Endpoint parameters */
 
24
#define MAX_ENDPOINTS           4
 
25
 
 
26
#define EP0_MAX_PACKET_SIZE     16
 
27
 
 
28
#define UDC_OUT_ENDPOINT        0x02
 
29
#define UDC_IN_ENDPOINT         0x01
 
30
#define UDC_INT_ENDPOINT        0x05
 
31
 
 
32
#endif