[PATCH 4/5] ARM: board: warp: convert to DM_USB
Stefano Babic
sbabic at denx.de
Thu Apr 8 12:39:36 CEST 2021
Hi Peter,
I get warnings after applying this series:
arm: + warp7
+(warp7) board/warp7/warp7.c: In function 'board_eth_init':
+(warp7) board/warp7/warp7.c:94:8: error: implicit declaration of
function 'usb_eth_initialize'; did you mean 'sh_eth_initialize'?
[-Werror=implicit-function-declaration]
+(warp7) 94 | ret = usb_eth_initialize(bis);
+(warp7) | ^~~~~~~~~~~~~~~~~~
+(warp7) | sh_eth_initialize
Same for warp7_bl33. Can you check, please ? Thanks !
Best regards,
Stefano
On 02.04.21 20:05, Peter Robinson wrote:
> Convert Warp to use DM USB.
>
> Signed-off-by: Peter Robinson <pbrobinson at gmail.com>
> Cc: Otavio Salvador <otavio at ossystems.com.br>
> Cc: Fabio Estevam <fabio.estevam at nxp.com>
> Cc: Stefano Babic <sbabic at denx.de>
> ---
> configs/warp_defconfig | 1 +
> include/configs/warp.h | 1 -
> 2 files changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/configs/warp_defconfig b/configs/warp_defconfig
> index 6efe400dd1..223436c86e 100644
> --- a/configs/warp_defconfig
> +++ b/configs/warp_defconfig
> @@ -45,6 +45,7 @@ CONFIG_PINCTRL=y
> CONFIG_PINCTRL_IMX6=y
> CONFIG_MXC_UART=y
> CONFIG_USB=y
> +CONFIG_DM_USB=y
> CONFIG_USB_STORAGE=y
> CONFIG_USB_GADGET=y
> CONFIG_USB_GADGET_MANUFACTURER="FSL"
> diff --git a/include/configs/warp.h b/include/configs/warp.h
> index f17eea117f..8cde52f634 100644
> --- a/include/configs/warp.h
> +++ b/include/configs/warp.h
> @@ -45,7 +45,6 @@
> #define CONFIG_EHCI_HCD_INIT_AFTER_RESET
> #define CONFIG_MXC_USB_PORTSC (PORT_PTS_UTMI | PORT_PTS_PTW)
> #define CONFIG_MXC_USB_FLAGS 0
> -#define CONFIG_USB_MAX_CONTROLLER_COUNT 1 /* Only OTG2 port enabled */
> #endif
>
> #define CONFIG_USBD_HS
>
--
=====================================================================
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================
More information about the U-Boot
mailing list