[PATCH 2/4] warp7: remove unused usb configs

Fabio Estevam festevam at gmail.com
Wed Jan 29 21:35:02 CET 2020


On Wed, Jan 29, 2020 at 5:16 PM Joris Offouga <offougajoris at gmail.com> wrote:
>
> With commit 6b503f ("warp7: Switch to DM USB").

Please use 12 digits for the commit ID.

> This configs are not necessary

"These configs". Also, you could make it in a single sentence.

> Signed-off-by: Joris Offouga <offougajoris at gmail.com>
> ---
>  include/configs/warp7.h | 4 ----
>  1 file changed, 4 deletions(-)
>
> diff --git a/include/configs/warp7.h b/include/configs/warp7.h
> index da894ec0ca..49d2415445 100644
> --- a/include/configs/warp7.h
> +++ b/include/configs/warp7.h
> @@ -150,11 +150,7 @@
>  #define CONFIG_SYS_MMC_ENV_PART                0
>
>  /* USB Configs */

This comment could also be removed.


> -#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 OTG1 port enabled */

Thanks


More information about the U-Boot mailing list