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

Marek Vasut marex at denx.de
Fri Aug 30 20:48:48 CEST 2024


On 8/28/24 3:25 PM, Fabio Estevam wrote:
> 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>

Reviewed-by: Marek Vasut <marex at denx.de>


More information about the U-Boot mailing list