mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-26 04:53:42 +00:00
bc0e578f90
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>
15 lines
277 B
C
15 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 */
|