]> git.dujemihanovic.xyz Git - u-boot.git/commit
phy: marvell: a3700: Use reg_set16 instead of phy_write16
authorMarek BehĂșn <marek.behun@nic.cz>
Tue, 24 Apr 2018 15:21:13 +0000 (17:21 +0200)
committerStefan Roese <sr@denx.de>
Mon, 14 May 2018 08:00:15 +0000 (10:00 +0200)
commit63cfff9fdeced543eb41093b0a143b4ba03cb0e1
treed97122912a9947460e95f80366c0fec0b17ddd67
parentfae82c8f83b278c81ad707a133bb2c11bcd12276
phy: marvell: a3700: Use reg_set16 instead of phy_write16

The macro phy_write16 is not used by the rest of the code,
phy_read16 is not used at all.
We also change the macro SGMIIPHY_ADDR to a static inline function.

Signed-off-by: Marek Behun <marek.behun@nic.cz>
Signed-off-by: Stefan Roese <sr@denx.de>
drivers/phy/marvell/comphy_a3700.c
drivers/phy/marvell/comphy_a3700.h