Commit 9b3458badc4c4336fdaf81b4ffdd51346a2c58ac

Authored by Frank Li
1 parent 5ac19de9c5

MLK-18906-2: fix build warning

include/configs/imx8mm_evk.h:305: warning: "CONFIG_USB_GADGET_DOWNLOAD" redefined
 #define CONFIG_USB_GADGET_DOWNLOAD

Signed-off-by: Frank Li <Frank.Li@nxp.com>

Showing 2 changed files with 3 additions and 4 deletions Side-by-side Diff

configs/imx8mm_evk_defconfig
... ... @@ -65,4 +65,7 @@
65 65 CONFIG_SPL_USB_GADGET_SUPPORT=y
66 66 CONFIG_SPL_USB_SDP_SUPPORT=y
67 67 CONFIG_SDP_LOADADDR=0x40400000
  68 +CONFIG_USB_GADGET_MANUFACTURER="FSL"
  69 +CONFIG_USB_GADGET_VENDOR_NUM=0x0525
  70 +CONFIG_USB_GADGET_PRODUCT_NUM=0xa4a5
include/configs/imx8mm_evk.h
... ... @@ -302,16 +302,12 @@
302 302  
303 303 #define CONFIG_CMD_USB_MASS_STORAGE
304 304 #define CONFIG_USB_GADGET_MASS_STORAGE
305   -#define CONFIG_USB_GADGET_DOWNLOAD
306 305 #define CONFIG_USB_FUNCTION_MASS_STORAGE
307 306  
308 307 #endif
309 308  
310 309 #define CONFIG_USB_GADGET_DUALSPEED
311 310 #define CONFIG_USB_GADGET_VBUS_DRAW 2
312   -#define CONFIG_USB_GADGET_VENDOR_NUM 0x0525
313   -#define CONFIG_USB_GADGET_PRODUCT_NUM 0xa4a5
314   -#define CONFIG_USB_GADGET_MANUFACTURER "FSL"
315 311  
316 312 #define CONFIG_CI_UDC
317 313