]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
colibri_vf: usb gadget: toradex pid is now set generically
authorMax Krummenacher <max.krummenacher@toradex.com>
Wed, 16 Nov 2016 16:49:25 +0000 (17:49 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 28 Nov 2016 20:10:33 +0000 (15:10 -0500)
remove now unused CONFIG_TRDX_PID_XXX

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Acked-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
board/toradex/colibri_vf/colibri_vf.c
include/configs/colibri_vf.h
scripts/config_whitelist.txt

index c65ccb3fd764c21111e991e3fe8968f0690150e3..e65d9c35580326f4c3ebc30586f680ee8ada117b 100644 (file)
@@ -528,22 +528,6 @@ int checkboard(void)
        return 0;
 }
 
-int g_dnl_bind_fixup(struct usb_device_descriptor *dev, const char *name)
-{
-       unsigned short usb_pid;
-
-       put_unaligned(CONFIG_TRDX_VID, &dev->idVendor);
-
-       if (is_colibri_vf61())
-               usb_pid = CONFIG_TRDX_PID_COLIBRI_VF61IT;
-       else
-               usb_pid = CONFIG_TRDX_PID_COLIBRI_VF50IT;
-
-       put_unaligned(usb_pid, &dev->idProduct);
-
-       return 0;
-}
-
 #ifdef CONFIG_USB_EHCI_VF
 int board_ehci_hcd_init(int port)
 {
index 0e622fb5e32adf37423310b0ba74379bd3d2d74b..0cd77fff51ac2992c74e4b61574bab365e250703 100644 (file)
 #define CONFIG_USB_MAX_CONTROLLER_COUNT 2
 #define CONFIG_EHCI_HCD_INIT_AFTER_RESET
 
-/* USB Client Support */
-#define CONFIG_TRDX_VID                  0x1B67
-#define CONFIG_TRDX_PID_COLIBRI_VF50     0x0016
-#define CONFIG_TRDX_PID_COLIBRI_VF61     0x0017
-#define CONFIG_TRDX_PID_COLIBRI_VF61IT   0x0018
-#define CONFIG_TRDX_PID_COLIBRI_VF50IT   0x0019
-
 /* USB DFU */
 #define CONFIG_SYS_DFU_DATA_BUF_SIZE (1024 * 1024)
 
index 9851251fa420a40ca54bc1480775716d11e6f29e..d0b5e7f3e4ae428d2d319d72563d5b167fbb5cb2 100644 (file)
@@ -7981,11 +7981,6 @@ CONFIG_TRACE_EARLY_ADDR
 CONFIG_TRACE_EARLY_SIZE
 CONFIG_TRAILBLAZER
 CONFIG_TRATS
-CONFIG_TRDX_PID_COLIBRI_VF50
-CONFIG_TRDX_PID_COLIBRI_VF50IT
-CONFIG_TRDX_PID_COLIBRI_VF61
-CONFIG_TRDX_PID_COLIBRI_VF61IT
-CONFIG_TRDX_VID
 CONFIG_TSEC
 CONFIG_TSEC1
 CONFIG_TSEC1_NAME