mirror of
https://xff.cz/git/u-boot/
synced 2025-09-02 09:12:08 +02:00
usb: gadget: Make g_dnl USB settings common
The g_dnl USB settings for the vendor ID, product ID and manufacturer are actually common settings that can and should be shared by all the gadgets. Make them common by renaming them, and convert all the users. Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Lukasz Majewski <lukma@denx.de> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
This commit is contained in:
@@ -34,11 +34,11 @@ The fastboot gadget relies on the USB download gadget, so the following
|
||||
options must be configured:
|
||||
|
||||
CONFIG_USB_GADGET_DOWNLOAD
|
||||
CONFIG_G_DNL_VENDOR_NUM
|
||||
CONFIG_G_DNL_PRODUCT_NUM
|
||||
CONFIG_G_DNL_MANUFACTURER
|
||||
CONFIG_USB_GADGET_VENDOR_NUM
|
||||
CONFIG_USB_GADGET_PRODUCT_NUM
|
||||
CONFIG_USB_GADGET_MANUFACTURER
|
||||
|
||||
NOTE: The CONFIG_G_DNL_VENDOR_NUM must be one of the numbers supported by
|
||||
NOTE: The CONFIG_USB_GADGET_VENDOR_NUM must be one of the numbers supported by
|
||||
the fastboot client. The list of vendor IDs supported can be found in the
|
||||
fastboot client source code (fastboot.c) mentioned above.
|
||||
|
||||
|
Reference in New Issue
Block a user