From c50c778ea74b7181bbe2c537e7c7cea6ab089bb6 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Tue, 10 Jan 2023 11:19:43 -0500 Subject: [PATCH] usbtty: Remove default CONFIG_USBD_* values For this legacy driver, the only user sets these values in Kconfig, so we can remove them from the header. Signed-off-by: Tom Rini --- drivers/serial/usbtty.h | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/drivers/serial/usbtty.h b/drivers/serial/usbtty.h index ac4d220..8c7e61b 100644 --- a/drivers/serial/usbtty.h +++ b/drivers/serial/usbtty.h @@ -20,25 +20,6 @@ #include #include -/* If no VendorID/ProductID is defined in config.h, pretend to be Linux - * DO NOT Reuse this Vendor/Product setup with protocol incompatible devices */ - -#ifndef CONFIG_USBD_VENDORID -#define CONFIG_USBD_VENDORID 0x0525 /* Linux/NetChip */ -#endif -#ifndef CONFIG_USBD_PRODUCTID_GSERIAL -#define CONFIG_USBD_PRODUCTID_GSERIAL 0xa4a6 /* gserial */ -#endif -#ifndef CONFIG_USBD_PRODUCTID_CDCACM -#define CONFIG_USBD_PRODUCTID_CDCACM 0xa4a7 /* CDC ACM */ -#endif -#ifndef CONFIG_USBD_MANUFACTURER -#define CONFIG_USBD_MANUFACTURER "Das U-Boot" -#endif -#ifndef CONFIG_USBD_PRODUCT_NAME -#define CONFIG_USBD_PRODUCT_NAME U_BOOT_VERSION -#endif - #ifndef CONFIG_USBD_CONFIGURATION_STR #define CONFIG_USBD_CONFIGURATION_STR "TTY via USB" #endif -- 2.7.4