[U-Boot] [PATCH 8/9] net: pch_gbe: Add Kconfig option

Joe Hershberger joe.hershberger at gmail.com
Tue Aug 25 21:10:14 CEST 2015


Hi Bin,

(with list this time)

On Tue, Aug 25, 2015 at 2:22 AM, Bin Meng <bmeng.cn at gmail.com> wrote:
> Add Kconfig option in preparation for moving board to use Kconfig.
>
> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
> ---
>
>  drivers/net/Kconfig | 9 +++++++++
>  1 file changed, 9 insertions(+)
>
> diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
> index 7367d9e..ccaf675 100644
> --- a/drivers/net/Kconfig
> +++ b/drivers/net/Kconfig
> @@ -79,4 +79,13 @@ config ETH_DESIGNWARE
>           100Mbit and 1 Gbit operation. You must enable CONFIG_PHYLIB to
>           provide the PHY (physical media interface).
>
> +config PCH_GBE
> +       bool "Intel Platform Controller Hub EG20T GMAC driver"
> +       depends on DM_PCI
> +       default n
> +       help
> +         This MAC is present in Intel Platform Controller Hub EG20T. It
> +         supports 10/100/1000 Mbps operation. You must enable CONFIG_PHYLIB
> +         to provide the PHY (physical media interface).

You should not have statements like this in the help. You should
either "select" or "depends on" PHYLIB in this config (I would use
select). Also this depends DM_ETH as well.

> +
>  endif # NETDEVICES
> --
> 1.8.2.1
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot


More information about the U-Boot mailing list