[U-Boot] [PATCH v3 2/7] configs: net: convert DRIVER_TI_KEYSTONE_NET kconfig

Joe Hershberger joe.hershberger at ni.com
Fri Nov 2 21:02:38 UTC 2018


On Wed, Oct 31, 2018 at 4:26 PM Grygorii Strashko
<grygorii.strashko at ti.com> wrote:
>
> Convert DRIVER_TI_KEYSTONE_NET to Kconfig.
>
> Reviewed-by: Tom Rini <trini at konsulko.com>
> Acked-by: Joe Hershberger <joe.hershberger at ni.com>
> Signed-off-by: Grygorii Strashko <grygorii.strashko at ti.com>

[ ... ]

> diff --git a/drivers/net/ti/Kconfig b/drivers/net/ti/Kconfig
> index 35a6b5d..c38e273 100644
> --- a/drivers/net/ti/Kconfig
> +++ b/drivers/net/ti/Kconfig
> @@ -13,3 +13,8 @@ config DRIVER_TI_EMAC
>         bool "TI Davinci EMAC"
>         help
>            Support for davinci emac
> +
> +config DRIVER_TI_KEYSTONE_NET
> +       bool "TI Keystone 2 Ethernet"
> +       help
> +          This driver supports the TI Keystone 2 Ethernet subsystem
> \ No newline at end of file

Spend a few days discovering that this breaks "Freescale AArch64
LS10xx" builds. Fixing up.

> diff --git a/include/configs/ti_armv7_keystone2.h b/include/configs/ti_armv7_keystone2.h
> index cc823c5..5e504f6 100644
> --- a/include/configs/ti_armv7_keystone2.h
> +++ b/include/configs/ti_armv7_keystone2.h
> @@ -128,7 +128,6 @@
>  #define CONFIG_KSNAV_NETCP_PDMA_TX_SND_QUEUE   KS2_NETCP_PDMA_TX_SND_QUEUE
>
>  /* Keystone net */
> -#define CONFIG_DRIVER_TI_KEYSTONE_NET
>  #define CONFIG_KSNET_MAC_ID_BASE               KS2_MAC_ID_BASE_ADDR
>  #define CONFIG_KSNET_NETCP_BASE                        KS2_NETCP_BASE
>  #define CONFIG_KSNET_SERDES_SGMII_BASE         KS2_SGMII_SERDES_BASE
> --
> 2.10.5
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> https://lists.denx.de/listinfo/u-boot


More information about the U-Boot mailing list