diff options
author | Jagan Teki <jagan@amarulasolutions.com> | 2019-11-19 13:56:15 +0530 |
---|---|---|
committer | Kever Yang <kever.yang@rock-chips.com> | 2019-11-23 22:29:49 +0800 |
commit | 89cbceb3888b665b39967a7b9035efedf2708ad3 (patch) | |
tree | e437cf232364998523695313213253a99114594e /drivers | |
parent | 89e311d494c9179d7b44787ca2f2c84654b83425 (diff) | |
download | u-boot-89cbceb3888b665b39967a7b9035efedf2708ad3.zip u-boot-89cbceb3888b665b39967a7b9035efedf2708ad3.tar.gz u-boot-89cbceb3888b665b39967a7b9035efedf2708ad3.tar.bz2 |
gadget: Select USB_GADGET_VENDOR_NUM for rockchip
Gadget vendor number, 0x2207 is common across all platfroms
supported in Rockchip SoC.
So, select the same number globally, if ARCH_ROCKCHIP.
This eventually drop the explicit configs defined in supported
board defconfig files.
Tested-by: Levin Du <djw@t-chip.com.cn>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/usb/gadget/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig index 1959a39..844c3be 100644 --- a/drivers/usb/gadget/Kconfig +++ b/drivers/usb/gadget/Kconfig @@ -48,6 +48,7 @@ config USB_GADGET_MANUFACTURER config USB_GADGET_VENDOR_NUM hex "Vendor ID of the USB device" default 0x1f3a if ARCH_SUNXI + default 0x2207 if ARCH_ROCKCHIP default 0x0 help Vendor ID of the USB device emulated, reported to the host device. |