u-boot-brain/drivers/net/phy/ti_phy_init.h
Dan Murphy bc0e578f90 net: phy: Add support for TI PHY init
ti_phy_init function was allocated to the DP83867 PHY.  This function
name is to generic for a specific PHY.  The function can be moved to a
TI specific file that can register all TI PHYs that are defined in the
defconfig.  The ti_phy_init file will contain all TI PHYs initialization
so that only phy_ti_init can be called from the framework.

In addition to the above the config flag for the DP83867 needs to be changed
in the Kconfig and dependent defconfig files. The config flag that was
used for the DP83867 was also generic in nature so a more specific
config flag for the DP83867 was created.

Acked-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
2020-06-12 13:17:23 -04:00

16 lines
277 B
C

/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* TI Generic Ethernet PHY
*
* Author: Dan Murphy <dmurphy@ti.com>
*
* Copyright (C) 2019-20 Texas Instruments Inc.
*/
#ifndef _TI_GEN_PHY_H
#define _TI_GEN_PHY_H
int phy_dp83867_init(void);
#endif /* _TI_GEN_PHY_H */