blob: ef76ce4cfc10d4a49b4d16ad1448bdc3a834ce07 [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 Denk3765b3e2013-10-07 13:07:26 +02007 * SPDX-License-Identifier: GPL-2.0+
Wolfgang Denk16c8d5e2006-06-14 17:45:53 +02008 */
9
10#ifndef __ADDERUSB__
11#define __ADDERUSB__
12
13/* Include the board port */
14#include "Adder.h"
15
16#define CONFIG_USB_DEVICE /* Include UDC driver */
17#define CONFIG_USB_TTY /* Bind the TTY driver to UDC */
Jean-Christophe PLAGNIOL-VILLARD6d0f6bc2008-10-16 15:01:15 +020018#define CONFIG_SYS_USB_EXTC_CLK 0x02 /* Oscillator on EXTC_CLK 2 */
19#define CONFIG_SYS_USB_BRG_CLK 0x04 /* or use Baud rate generator 0x04 */
20#define CONFIG_SYS_CONSOLE_IS_IN_ENV /* Console is in env */
Wolfgang Denk16c8d5e2006-06-14 17:45:53 +020021
22/* If you have a USB-IF assigned VendorID then you may wish to define
23 * your own vendor specific values either in BoardName.h or directly in
Wolfgang Denk386eda02006-06-14 18:14:56 +020024 * usbd_vendor_info.h
Wolfgang Denk16c8d5e2006-06-14 17:45:53 +020025 */
26
Wolfgang Denk386eda02006-06-14 18:14:56 +020027/*
Wolfgang Denk16c8d5e2006-06-14 17:45:53 +020028#define CONFIG_USBD_MANUFACTURER "CodeHermit.ie"
29#define CONFIG_USBD_PRODUCT_NAME "Das U-Boot"
Wolfgang Denk386eda02006-06-14 18:14:56 +020030#define CONFIG_USBD_VENDORID 0xFFFF
Wolfgang Denk16c8d5e2006-06-14 17:45:53 +020031#define CONFIG_USBD_PRODUCTID_GSERIAL 0xFFFF
32#define CONFIG_USBD_PRODUCTID_CDCACM 0xFFFE
33*/
34
35#endif /* __ADDERUSB_H__ */