From: Alexandru Gagniuc Date: Fri, 7 Jul 2017 11:37:00 -0700 Subject: [U-Boot] [PATCH 5/5] net: phy: Hide Micrel KSZ9021 and KSZ9031 Kconfig options In-Reply-To: <20170707183703.2190-1-alex.g@adaptrum.com> References: <20170707183703.2190-1-alex.g@adaptrum.com> Message-ID: <20170707183703.2190-5-alex.g@adaptrum.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de The correct option is PHY_MICREL_KSZ90X1, but some configs still select the 9021 and 9031 options, which are deprecated. Signed-off-by: Alexandru Gagniuc --- drivers/net/phy/Kconfig | 24 ++---------------------- 1 file changed, 2 insertions(+), 22 deletions(-) diff --git a/drivers/net/phy/Kconfig b/drivers/net/phy/Kconfig index aecf7ed..4d02d8b 100644 --- a/drivers/net/phy/Kconfig +++ b/drivers/net/phy/Kconfig @@ -67,34 +67,14 @@ config PHY_MICREL if PHY_MICREL config PHY_MICREL_KSZ9021 - bool "Micrel KSZ9021 family support" + bool select PHY_GIGE select PHY_MICREL_KSZ90X1 - help - Enable support for the Micrel KSZ9021 GbE PHY family. If - enabled, the extended register read/write for KSZ9021 PHYs - is supported through the 'mdio' command and any RGMII signal - delays configured in the device tree will be applied to the - PHY during initialisation. - - Note that the KSZ9021 uses the same part number os the - KSZ8921BL, so enabling this option disables support for the - KSZ8721BL. - - Deprecated. Use PHY_MICREL_KSZ90X1 instead. config PHY_MICREL_KSZ9031 - bool "Micrel KSZ9031 family support" + bool select PHY_GIGE select PHY_MICREL_KSZ90X1 - help - Enable support for the Micrel KSZ9031 GbE PHY family. If - enabled, the extended register read/write for KSZ9021 PHYs - is supported through the 'mdio' command and any RGMII signal - delays configured in the device tree will be applied to the - PHY during initialisatioin. - - Deprecated. Use PHY_MICREL_KSZ90X1 instead. config PHY_MICREL_KSZ90X1 bool "Micrel KSZ90x1 family support" -- 2.9.3