commit | 210f4aae81430a59743562ac3c5d8b4d68bd809f | [log] [tgz] |
---|---|---|
author | Marek BehĂșn <marek.behun@nic.cz> | Tue Apr 24 17:21:14 2018 +0200 |
committer | Stefan Roese <sr@denx.de> | Mon May 14 10:00:15 2018 +0200 |
tree | 3e4ad11e8b4342e282eef4e449fb87a35333d67c | |
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>