blob: a4f7f9a28fb706434e9f34cb0933722a0571de3c [file] [log] [blame]
Wolfgang Denk16c8d5e2006-06-14 17:45:53 +02001/*
2 * Copyright (C) 2006 CodeHermit.
3 * Bryan O'Donoghue <bodonoghue@codehermit.ie>
4 *
5 * Provides support for USB console on the Analogue & Micro Adder87x
Wolfgang Denk386eda02006-06-14 18:14:56 +02006 *
Wolfgang Denk16c8d5e2006-06-14 17:45:53 +02007 * See file CREDITS for list of people who contributed to this
8 * project.
9 *
10 * This program is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU General Public License as
12 * published by the Free Software Foundation; either version 2 of
13 * the License, or (at your option) any later version.
14 *
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
19 *
20 * You should have received a copy of the GNU General Public License
21 * along with this program; if not, write to the Free Software
22 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
23 * MA 02111-1307 USA
24 */
25
26#ifndef __ADDERUSB__
27#define __ADDERUSB__
28
29/* Include the board port */
30#include "Adder.h"
31
32#define CONFIG_USB_DEVICE /* Include UDC driver */
33#define CONFIG_USB_TTY /* Bind the TTY driver to UDC */
34#define CFG_USB_EXTC_CLK 0x02 /* Oscillator on EXTC_CLK 2 */
35#define CFG_USB_BRG_CLK 0x04 /* or use Baud rate generator 0x04 */
36#define CFG_CONSOLE_IS_IN_ENV /* Console is in env */
37
38/* If you have a USB-IF assigned VendorID then you may wish to define
39 * your own vendor specific values either in BoardName.h or directly in
Wolfgang Denk386eda02006-06-14 18:14:56 +020040 * usbd_vendor_info.h
Wolfgang Denk16c8d5e2006-06-14 17:45:53 +020041 */
42
Wolfgang Denk386eda02006-06-14 18:14:56 +020043/*
Wolfgang Denk16c8d5e2006-06-14 17:45:53 +020044#define CONFIG_USBD_MANUFACTURER "CodeHermit.ie"
45#define CONFIG_USBD_PRODUCT_NAME "Das U-Boot"
Wolfgang Denk386eda02006-06-14 18:14:56 +020046#define CONFIG_USBD_VENDORID 0xFFFF
Wolfgang Denk16c8d5e2006-06-14 17:45:53 +020047#define CONFIG_USBD_PRODUCTID_GSERIAL 0xFFFF
48#define CONFIG_USBD_PRODUCTID_CDCACM 0xFFFE
49*/
50
51#endif /* __ADDERUSB_H__ */