[U-Boot] [PATCH] Tegra: P2571: Clean up config file

Simon Glass sjg at chromium.org
Thu Jul 30 23:33:13 CEST 2015


Hi Tom,

On 30 July 2015 at 15:09, Tom Warren <twarren at nvidia.com> wrote:
>
> Removed NS16550_COM1 #define, not used since there's no SPL for T210
> Also changed the number of USB controllers to 1 as only USBD is used.
>
> Signed-off-by: Tom Warren <twarren at nvidia.com>
> ---
>  include/configs/p2571.h | 7 +------
>  1 file changed, 1 insertion(+), 6 deletions(-)
>
> diff --git a/include/configs/p2571.h b/include/configs/p2571.h
> index 5df7d2f..b22117b 100644
> --- a/include/configs/p2571.h
> +++ b/include/configs/p2571.h
> @@ -22,7 +22,6 @@
>  /* Board-specific serial config */
>  #define CONFIG_SERIAL_MULTI
>  #define CONFIG_TEGRA_ENABLE_UARTA
> -#define CONFIG_SYS_NS16550_COM1                NV_PA_APB_UARTA_BASE
>
>  /* I2C */
>  #define CONFIG_SYS_I2C_TEGRA
> @@ -51,7 +50,7 @@
>  /* USB2.0 Host support */
>  #define CONFIG_USB_EHCI
>  #define CONFIG_USB_EHCI_TEGRA
> -#define CONFIG_USB_MAX_CONTROLLER_COUNT        2
> +#define CONFIG_USB_MAX_CONTROLLER_COUNT        1

You should be able to drop this now that Tegra uses driver model for USB.

>  #define CONFIG_USB_STORAGE
>  #define CONFIG_CMD_USB
>
> @@ -62,10 +61,6 @@
>  /* General networking support */
>  #define CONFIG_CMD_DHCP
>
> -/*
> - * TODO(twarren at nvidia.com) - add tegra-common-usb-gadget.h back
> - * breaks 64-bit build in ci_udc.c
> - */
>  #include "tegra-common-usb-gadget.h"
>  #include "tegra-common-post.h"
>
> --
> 1.8.2.1.610.g562af5b
>

Regards,
Simon


More information about the U-Boot mailing list