diff options
author | Marek BehĂșn <marek.behun@nic.cz> | 2018-04-24 17:21:14 +0200 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2018-05-14 10:00:15 +0200 |
commit | 210f4aae81430a59743562ac3c5d8b4d68bd809f (patch) | |
tree | 3e4ad11e8b4342e282eef4e449fb87a35333d67c /drivers/power | |
parent | 63cfff9fdeced543eb41093b0a143b4ba03cb0e1 (diff) |
phy: marvell: a3700: Don't create functional macro for each register
Currently there is for each register special functional macro, ie:
LANE_CFG1_ADDR(u)
GLOB_CLK_SRC_LO_ADDR(u)
...
where can be either PCIE or USB3.
Change this to one function PHY_ADDR(unit, addr). The code becomes:
phy_addr(PCIE, LANE_CFG1)
phy_addr(PCIE, GLOB_CLK_SRC_LO)
...
Signed-off-by: Marek Behun <marek.behun@nic.cz>
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'drivers/power')
0 files changed, 0 insertions, 0 deletions