]>
git.ipfire.org Git - people/ms/u-boot.git/blob - include/configs/AdderUSB.h
2 * Copyright (C) 2006 CodeHermit.
3 * Bryan O'Donoghue <bodonoghue@codehermit.ie>
5 * Provides support for USB console on the Analogue & Micro Adder87x
7 * See file CREDITS for list of people who contributed to this
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.
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.
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,
29 /* Include the board port */
32 #define CONFIG_USB_DEVICE /* Include UDC driver */
33 #define CONFIG_USB_TTY /* Bind the TTY driver to UDC */
34 #define CONFIG_SYS_USB_EXTC_CLK 0x02 /* Oscillator on EXTC_CLK 2 */
35 #define CONFIG_SYS_USB_BRG_CLK 0x04 /* or use Baud rate generator 0x04 */
36 #define CONFIG_SYS_CONSOLE_IS_IN_ENV /* Console is in env */
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
44 #define CONFIG_USBD_MANUFACTURER "CodeHermit.ie"
45 #define CONFIG_USBD_PRODUCT_NAME "Das U-Boot"
46 #define CONFIG_USBD_VENDORID 0xFFFF
47 #define CONFIG_USBD_PRODUCTID_GSERIAL 0xFFFF
48 #define CONFIG_USBD_PRODUCTID_CDCACM 0xFFFE
51 #endif /* __ADDERUSB_H__ */