]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: mv88e6xxx: use generic bitfield macros for MDIO
authorRobert Marko <robert.marko@sartura.hr>
Tue, 8 Aug 2023 16:05:15 +0000 (18:05 +0200)
committerTom Rini <trini@konsulko.com>
Sun, 5 Nov 2023 18:28:40 +0000 (13:28 -0500)
commit1aecba9c1b77e83fe589797d12d4dbbd14a8a3c8
tree50f89265ec8535bd51ccc4d2509b09f925fa266b
parent607e7fa622b155865612bd668e3b39f7f2a1069e
net: mv88e6xxx: use generic bitfield macros for MDIO

Driver is currently defining the mask and bit shifting itself,
there is no need for that as U-Boot has generic bitfield macros that help
us achieve the same result but in a cleaner way.

Signed-off-by: Robert Marko <robert.marko@sartura.hr>
drivers/net/mv88e6xxx.c