]> git.sur5r.net Git - u-boot/commitdiff
net: MVGBE don't automatically select PHYLIB
authorChris Packham <judge.packham@gmail.com>
Thu, 17 May 2018 12:12:04 +0000 (00:12 +1200)
committerStefan Roese <sr@denx.de>
Thu, 17 May 2018 15:38:31 +0000 (17:38 +0200)
When Kconfig support was added for MVGBE it included automatically
selected PHYLIB support. But MVGBE does not need PHYLIB it will build
fine without it. Commit ed52ea507f12 ("net: add Kconfig for MVGBE")
should have been a no-op in terms of build size but because of the
selecting PHYLIB the openrd configs increased in size.

Remove the automatic selection of PHYLIB, boards that need it will have
already enabled it in their config header file.

Fixes: commit ed52ea507f12 ("net: add Kconfig for MVGBE")
Signed-off-by: Chris Packham <judge.packham@gmail.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Signed-off-by: Stefan Roese <sr@denx.de>
drivers/net/Kconfig

index c962d7a72c0c6cb1808813ab64c78f01a1b2fb71..f2cc75f494e8c96a4e6e1c04c55600e7f61a50d0 100644 (file)
@@ -181,7 +181,6 @@ config FTMAC100
 config MVGBE
        bool "Marvell Orion5x/Kirkwood network interface support"
        depends on KIRKWOOD || ORION5X
-       select PHYLIB
        help
          This driver supports the network interface units in the
          Marvell Orion5x and Kirkwood SoCs