commit | a89ae13af62857189387c4d126bfc3a044e54299 | [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 | ee3e2f6a7e52858eeee59565867a46471940c220 [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>