Files
u-boot/drivers/net
Marek Vasut 7940a93eb9 net: phy: Iterate over both registered PHYs and struct phy_driver linker list
Introduce U_BOOT_PHY_DRIVER() macro which is used to add struct phy_driver
into a new linker list section containing all compiled in struct phy_driver
drivers. This is so far empty until PHY drivers are converted over to this
macro.

Iterate over both drivers registered using soon to be legacy phy_register()
as well as drivers in the new linker list when looking up a suitable PHY
driver. This way, PHY drivers can be converted over to the new macro one
driver at a time.

The relocation of callbacks for linker list based drivers now happens in
phy_init() call as the drivers are available at that point in time, and
phy_register() is not called for those drivers.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Acked-by: Michal Simek <michal.simek@amd.com>
Tested-by: Michal Simek <michal.simek@amd.com> #microblaze (MANUAL_RELOC)
2023-04-07 14:18:48 +02:00
..
2022-12-07 12:20:17 -05:00
2023-01-20 12:27:24 -05:00
2023-01-20 12:27:24 -05:00
2022-12-07 16:04:16 -05:00
2022-12-07 16:04:17 -05:00
2022-12-07 16:04:17 -05:00
2022-12-07 16:04:17 -05:00
2022-12-07 16:04:17 -05:00
2022-12-07 16:04:17 -05:00
2022-09-25 08:30:05 -06:00
2022-11-28 10:25:17 -05:00
2022-12-07 16:04:17 -05:00
2023-02-02 14:44:53 -05:00
2022-12-22 10:31:48 -05:00
2022-12-22 10:31:48 -05:00
2023-03-02 17:45:58 -05:00
2023-01-20 12:27:24 -05:00
2022-12-07 16:04:17 -05:00
2023-03-18 12:02:38 +01:00
2022-12-07 16:04:17 -05:00
2022-12-07 16:04:17 -05:00
2022-09-29 16:11:31 -04:00
2022-12-07 16:04:17 -05:00
2023-01-09 11:30:08 -05:00