[U-Boot] [PATCH 03/10] net: fec: Use PHY_INTERFACE_MODE_ for xcv_type
Joe Hershberger
joe.hershberger at ni.com
Mon Jul 30 23:03:32 UTC 2018
Hi Jagan,
On Mon, Jul 30, 2018 at 7:45 AM, Jagan Teki <jagan at amarulasolutions.com> wrote:
> Use existing PHY_INTERFACE_MODE_ for xcv_type, this eventually
> - remove CONFIG_FEC_XCV_TYPE in DM_ETH boards since the phy interface
> is grabbing from DT phy-mode.
> - prefix PHY_INTERFACE_MODE_ for CONFIG_FEC_XCV_TYPE in non DM_ETH boards
> - added MII100, SEVENWIRE PHY mode
>
> Signed-off-by: Jagan Teki <jagan at amarulasolutions.com>
> ---
> drivers/net/fec_mxc.c | 18 +++++++++---------
> drivers/net/fec_mxc.h | 15 +--------------
> include/configs/advantech_dms-ba16.h | 2 +-
> include/configs/apalis_imx6.h | 2 +-
> include/configs/aristainetos.h | 2 +-
> include/configs/aristainetos2.h | 2 +-
> include/configs/aristainetos2b.h | 2 +-
> include/configs/cgtqmx6eval.h | 2 +-
> include/configs/cl-som-imx7.h | 2 +-
> include/configs/cm_fx6.h | 2 +-
> include/configs/colibri_imx6.h | 2 +-
> include/configs/colibri_imx7.h | 2 +-
> include/configs/colibri_vf.h | 2 +-
> include/configs/dh_imx6.h | 2 +-
> include/configs/display5.h | 2 +-
> include/configs/embestmx6boards.h | 2 +-
> include/configs/ge_bx50v3.h | 2 +-
> include/configs/gw_ventana.h | 2 +-
> include/configs/imx6-engicam.h | 2 --
> include/configs/imx6_logic.h | 1 -
> include/configs/kp_imx6q_tpc.h | 2 +-
> include/configs/liteboard.h | 2 +-
> include/configs/mccmon6.h | 2 +-
> include/configs/mx6cuboxi.h | 2 +-
> include/configs/mx6qarm2.h | 2 +-
> include/configs/mx6sabre_common.h | 2 +-
> include/configs/mx6slevk.h | 2 +-
> include/configs/mx6sxsabreauto.h | 2 +-
> include/configs/mx6sxsabresd.h | 2 +-
> include/configs/mx6ul_14x14_evk.h | 4 ++--
> include/configs/mx7dsabresd.h | 2 +-
> include/configs/mxs.h | 2 +-
> include/configs/nitrogen6x.h | 2 +-
> include/configs/novena.h | 2 +-
> include/configs/opos6uldev.h | 2 +-
> include/configs/ot1200.h | 2 +-
> include/configs/pcm052.h | 2 +-
> include/configs/pcm058.h | 2 +-
> include/configs/pfla02.h | 2 +-
> include/configs/pico-imx6ul.h | 2 +-
> include/configs/pico-imx7d.h | 2 +-
> include/configs/platinum_picon.h | 2 +-
> include/configs/platinum_titanium.h | 2 +-
> include/configs/secomx6quq7.h | 2 +-
> include/configs/sksimx6.h | 2 +-
> include/configs/tbs2910.h | 2 +-
> include/configs/titanium.h | 2 +-
> include/configs/tqma6_mba6.h | 2 +-
> include/configs/tqma6_wru4.h | 2 +-
> include/configs/udoo.h | 2 +-
> include/configs/udoo_neo.h | 2 +-
> include/configs/vf610twr.h | 2 +-
> include/configs/vining_2000.h | 2 +-
> include/configs/wandboard.h | 2 +-
> include/configs/xpress.h | 2 +-
> include/configs/zc5202.h | 2 +-
> include/configs/zc5601.h | 2 +-
> include/phy.h | 4 ++++
> 58 files changed, 68 insertions(+), 80 deletions(-)
>
<snip>
> diff --git a/include/phy.h b/include/phy.h
This is no longer in phy.h. Look in include/phy_interface.h. Please
rebase on master.
Thanks,
-Joe
> index 7c3fc5ce40..d4bf21d02d 100644
> --- a/include/phy.h
> +++ b/include/phy.h
> @@ -50,6 +50,7 @@
>
> typedef enum {
> PHY_INTERFACE_MODE_MII,
> + PHY_INTERFACE_MODE_MII100,
> PHY_INTERFACE_MODE_GMII,
> PHY_INTERFACE_MODE_SGMII,
> PHY_INTERFACE_MODE_SGMII_2500,
> @@ -65,6 +66,7 @@ typedef enum {
> PHY_INTERFACE_MODE_XAUI,
> PHY_INTERFACE_MODE_RXAUI,
> PHY_INTERFACE_MODE_SFI,
> + PHY_INTERFACE_MODE_SEVENWIRE,
> PHY_INTERFACE_MODE_INTERNAL,
> PHY_INTERFACE_MODE_NONE, /* Must be last */
>
> @@ -73,6 +75,7 @@ typedef enum {
>
> static const char *phy_interface_strings[] = {
> [PHY_INTERFACE_MODE_MII] = "mii",
> + [PHY_INTERFACE_MODE_MII100] = "mii100",
> [PHY_INTERFACE_MODE_GMII] = "gmii",
> [PHY_INTERFACE_MODE_SGMII] = "sgmii",
> [PHY_INTERFACE_MODE_SGMII_2500] = "sgmii-2500",
> @@ -88,6 +91,7 @@ static const char *phy_interface_strings[] = {
> [PHY_INTERFACE_MODE_XAUI] = "xaui",
> [PHY_INTERFACE_MODE_RXAUI] = "rxaui",
> [PHY_INTERFACE_MODE_SFI] = "sfi",
> + [PHY_INTERFACE_MODE_SEVENWIRE] = "sevenwire",
> [PHY_INTERFACE_MODE_INTERNAL] = "internal",
> [PHY_INTERFACE_MODE_NONE] = "",
> };
> --
> 2.18.0.321.gffc6fa0e3
>
> _______________________________________________
> 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