[PATCH 3/3] imx: Remove CFG_MXC_USB_PORTSC

Soeren Moch smoch at web.de
Tue Aug 27 12:21:17 CEST 2024


Hi Fabio,

On 27.08.24 02:58, Fabio Estevam wrote:
> From: Fabio Estevam <festevam at denx.de>
>
> '#define CFG_MXC_USB_PORTSC     (PORT_PTS_UTMI | PORT_PTS_PTW)' can
> be removed from mx5/mx6/mx7/mx8m board config files as it is the
> default in drivers/usb/host/ehci-mx5.c and drivers/usb/host/ehci-mx6.c.
>
> Suggested-by: Tim Harvey <tharvey at gateworks.com>
> Signed-off-by: Fabio Estevam <festevam at denx.de>
> ---
>   include/configs/apalis_imx6.h            | 1 -
>   include/configs/aristainetos2.h          | 1 -
>   include/configs/brppt2.h                 | 1 -
>   include/configs/cl-som-imx7.h            | 1 -
>   include/configs/cm_fx6.h                 | 1 -
>   include/configs/colibri-imx6ull.h        | 1 -
>   include/configs/colibri_imx6.h           | 1 -
>   include/configs/colibri_imx7.h           | 1 -
>   include/configs/dart_6ul.h               | 1 -
>   include/configs/dh_imx6.h                | 1 -
>   include/configs/display5.h               | 1 -
>   include/configs/embestmx6boards.h        | 1 -
>   include/configs/ge_b1x5v2.h              | 1 -
>   include/configs/gw_ventana.h             | 1 -
>   include/configs/imx6_logic.h             | 1 -
>   include/configs/imx6dl-mamoj.h           | 1 -
>   include/configs/imx6q-bosch-acc.h        | 1 -
>   include/configs/imx7-cm.h                | 1 -
>   include/configs/imx8mm-cl-iot-gate.h     | 1 -
>   include/configs/kontron-sl-mx6ul.h       | 1 -
>   include/configs/kontron-sl-mx8mm.h       | 1 -
>   include/configs/kp_imx53.h               | 1 -
>   include/configs/kp_imx6q_tpc.h           | 1 -
>   include/configs/liteboard.h              | 1 -
>   include/configs/m53menlo.h               | 1 -
>   include/configs/meerkat96.h              | 1 -
>   include/configs/mx53cx9020.h             | 1 -
>   include/configs/mx53loco.h               | 1 -
>   include/configs/mx53ppd.h                | 1 -
>   include/configs/mx6cuboxi.h              | 1 -
>   include/configs/mx6memcal.h              | 1 -
>   include/configs/mx6sabreauto.h           | 1 -
>   include/configs/mx6sabresd.h             | 1 -
>   include/configs/mx6slevk.h               | 1 -
>   include/configs/mx6sllevk.h              | 1 -
>   include/configs/mx6sxsabreauto.h         | 1 -
>   include/configs/mx6sxsabresd.h           | 1 -
>   include/configs/mx6ul_14x14_evk.h        | 1 -
>   include/configs/mx7dsabresd.h            | 1 -
>   include/configs/mx7ulp_com.h             | 1 -
>   include/configs/mys_6ulx.h               | 1 -
>   include/configs/nitrogen6x.h             | 1 -
>   include/configs/novena.h                 | 1 -
>   include/configs/npi_imx6ull.h            | 1 -
>   include/configs/o4-imx6ull-nano.h        | 1 -
>   include/configs/opos6uldev.h             | 1 -
>   include/configs/pcl063.h                 | 1 -
>   include/configs/pcl063_ull.h             | 1 -
>   include/configs/pico-imx6.h              | 1 -
>   include/configs/pico-imx6ul.h            | 1 -
>   include/configs/pico-imx7d.h             | 1 -
>   include/configs/somlabs_visionsom_6ull.h | 1 -
>   include/configs/tbs2910.h                | 1 -
>   include/configs/tqma6.h                  | 1 -
>   include/configs/usbarmory.h              | 1 -
>   include/configs/verdin-imx8mm.h          | 1 -
>   include/configs/vining_2000.h            | 1 -
>   include/configs/wandboard.h              | 1 -
>   include/configs/warp7.h                  | 1 -
>   include/configs/xpress.h                 | 1 -
>   60 files changed, 60 deletions(-)

[...]


> diff --git a/include/configs/tbs2910.h b/include/configs/tbs2910.h
> index 256331ae1733..eb5fdae0ea86 100644
> --- a/include/configs/tbs2910.h
> +++ b/include/configs/tbs2910.h
> @@ -27,7 +27,6 @@
>
>   /* USB */
>   #ifdef CONFIG_CMD_USB
> -#define CFG_MXC_USB_PORTSC		(PORT_PTS_UTMI | PORT_PTS_PTW)
>   #endif /* CONFIG_CMD_USB      */
>
>   #define CFG_EXTRA_ENV_SETTINGS \

Can you please also remove the now useless comment and empty #ifdef
block!?

I have not checked in detail, but the same occurs also for other boards
in this patch.

Thanks,
Soeren


More information about the U-Boot mailing list