Skip to content
Commit 210f4aae authored by Marek Behún's avatar Marek Behún Committed by Stefan Roese
Browse files

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: default avatarMarek Behun <marek.behun@nic.cz>
Signed-off-by: default avatarStefan Roese <sr@denx.de>
parent 63cfff9f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment