]> git.baikalelectronics.ru Git - uboot.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)
commit1571125cd3748fc804cb383edc0992251e8cc46d
treed97122912a9947460e95f80366c0fec0b17ddd67
parentb6e115d4ec7f0994181591b61668a8644bfa22c5
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