diff options
author | Grzegorz Jaszczyk <jaz@semihalf.com> | 2018-07-12 07:40:34 +0200 |
---|---|---|
committer | Konstantin Porotchkin <kostap@marvell.com> | 2018-09-02 14:10:47 +0300 |
commit | f858e989c607fca1d76207f4c918e82dac1c7221 (patch) | |
tree | c2066514b943f130294166fbfff80165e1347fc8 /drivers/marvell/comphy/phy-comphy-cp110.h | |
parent | b0f2361a1a060b7b75181ffe3b99169f35312042 (diff) | |
download | arm-trusted-firmware-f858e989c607fca1d76207f4c918e82dac1c7221.tar.gz |
mvebu: cp110: align all comphy_index arguments type
The biggest comphy index can be equal to 6 so there is no need to use
uint64_t for storing it.
Change-Id: I14c2b68e51678a560815963c72aed0c37068f926
Signed-off-by: Grzegorz Jaszczyk <jaz@semihalf.com>
Reviewed-by: Igal Liberman <igall@marvell.com>
Reviewed-by: Kostya Porotchkin <kostap@marvell.com>
Diffstat (limited to 'drivers/marvell/comphy/phy-comphy-cp110.h')
-rw-r--r-- | drivers/marvell/comphy/phy-comphy-cp110.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/marvell/comphy/phy-comphy-cp110.h b/drivers/marvell/comphy/phy-comphy-cp110.h index ada6aecae..2461e5ca9 100644 --- a/drivers/marvell/comphy/phy-comphy-cp110.h +++ b/drivers/marvell/comphy/phy-comphy-cp110.h @@ -8,11 +8,11 @@ /* Marvell CP110 SoC COMPHY unit driver */ int mvebu_cp110_comphy_is_pll_locked(uint64_t comphy_base, - uint64_t comphy_index); + uint8_t comphy_index); int mvebu_cp110_comphy_power_off(uint64_t comphy_base, - uint64_t comphy_index); + uint8_t comphy_index); int mvebu_cp110_comphy_power_on(uint64_t comphy_base, - uint64_t comphy_index, uint64_t comphy_mode); + uint8_t comphy_index, uint64_t comphy_mode); int mvebu_cp110_comphy_xfi_rx_training(uint64_t comphy_base, uint8_t comphy_index); int mvebu_cp110_comphy_digital_reset(uint64_t comphy_base, uint8_t comphy_index, |