Files
u-boot/drivers
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
..
2023-03-30 13:53:55 +02:00
2023-03-03 09:49:02 -05:00
2023-02-10 07:41:39 -05:00
2022-09-16 11:05:16 -04:00
2023-03-27 15:19:57 -04:00
2023-03-09 13:15:00 +01:00
2023-03-02 17:45:58 -05:00
2023-01-20 12:27:24 -05:00
2023-04-03 16:45:41 -04:00
2023-04-01 10:11:50 +02:00
2023-03-18 12:04:02 +01:00
2023-01-24 13:55:05 +01:00
2023-04-03 16:45:41 -04:00
2022-10-11 16:03:03 -04:00
2023-03-27 15:19:57 -04:00
2023-02-10 07:41:41 -05:00
2023-03-02 17:45:58 -05:00