mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 06:00:43 +00:00
toradex: fix USB Download gadget fixup callback
Use the proper config option to guard the USB Download Function fixup callback. Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
This commit is contained in:
parent
f2465934b4
commit
beaf40688b
1 changed files with 2 additions and 2 deletions
|
@ -108,7 +108,7 @@ int show_board_info(void)
|
|||
return 0;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_USBDOWNLOAD_GADGET
|
||||
#ifdef CONFIG_USB_GADGET_DOWNLOAD
|
||||
int g_dnl_bind_fixup(struct usb_device_descriptor *dev, const char *name)
|
||||
{
|
||||
unsigned short usb_pid;
|
||||
|
@ -118,7 +118,7 @@ int g_dnl_bind_fixup(struct usb_device_descriptor *dev, const char *name)
|
|||
|
||||
return 0;
|
||||
}
|
||||
#endif /* CONFIG_USBDOWNLOAD_GADGET */
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_OF_LIBFDT) && defined(CONFIG_OF_BOARD_SETUP)
|
||||
int ft_board_setup(void *blob, bd_t *bd)
|
||||
|
|
Loading…
Reference in a new issue