diff options
author | Igal Liberman <igall@marvell.com> | 2018-11-19 10:58:32 +0300 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2021-04-29 08:45:24 +0300 |
commit | 80ebc63cc9296a972086b8685f3d60fcebf4b4df (patch) | |
tree | 3b6e26ad344058725ac5b30c64f6abbebf185c19 | |
parent | f596b01b9a69a8fd486468a11f6b2dbf07984c5f (diff) | |
download | u-boot-80ebc63cc9296a972086b8685f3d60fcebf4b4df.tar.xz |
phy: marvell: cp110: mark u-boot power-off calls
It helps ATF to determine who called power off
function (U-boot/Linux) and act accordingly
Change-Id: Icfc5cbfdba64754496812154272b28c0ff639f0f
Signed-off-by: Igal Liberman <igall@marvell.com>
Reviewed-by: Grzegorz Jaszczyk <jaz@semihalf.com>
-rw-r--r-- | drivers/phy/marvell/comphy_cp110.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/phy/marvell/comphy_cp110.c b/drivers/phy/marvell/comphy_cp110.c index d9a94f9d0d..489a17c76f 100644 --- a/drivers/phy/marvell/comphy_cp110.c +++ b/drivers/phy/marvell/comphy_cp110.c @@ -553,10 +553,10 @@ int comphy_cp110_init(struct chip_serdes_phy_config *ptr_chip_cfg, } switch (ptr_comphy_map->type) { case COMPHY_TYPE_UNCONNECTED: + mode = COMPHY_TYPE_UNCONNECTED | COMPHY_CALLER_UBOOT; ret = comphy_smc(MV_SIP_COMPHY_POWER_OFF, ptr_chip_cfg->comphy_base_addr, - lane, - ptr_comphy_map->type); + lane, mode); case COMPHY_TYPE_IGNORE: continue; break; |