[PATCH v2 2/4] usb: ehci-mx5: Add a default for CFG_MXC_USB_PORTSC

Peng Fan peng.fan at nxp.com
Wed Aug 28 09:41:51 CEST 2024


> Subject: [PATCH v2 2/4] usb: ehci-mx5: Add a default for
> CFG_MXC_USB_PORTSC
> 
> From: Fabio Estevam <festevam at denx.de>
> 
> Just like drivers/usb/host/ehci-mx6.c, add a default for
> drivers/usb/host/ehci-mx5.c.
> 
> The motivation for doing this is to remove CFG_MXC_USB_PORTSC
> from board config files.
> 
> All the mx5 boards, with the exeption of mx51evk, define
> CFG_MXC_USB_PORTSC as:
> 
>  #define CFG_MXC_USB_PORTSC	(PORT_PTS_UTMI | PORT_PTS_PTW)
> 
> So move this definition as a default into ehci-mx5.c.
> 
> Signed-off-by: Fabio Estevam <festevam at denx.de>

Reviewed-by: Peng Fan <peng.fan at nxp.com>



More information about the U-Boot mailing list