summaryrefslogtreecommitdiff
path: root/drivers/power
diff options
context:
space:
mode:
authorMarek BehĂșn <marek.behun@nic.cz>2018-04-24 17:21:14 +0200
committerStefan Roese <sr@denx.de>2018-05-14 10:00:15 +0200
commit210f4aae81430a59743562ac3c5d8b4d68bd809f (patch)
tree3e4ad11e8b4342e282eef4e449fb87a35333d67c /drivers/power
parent63cfff9fdeced543eb41093b0a143b4ba03cb0e1 (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