mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-16 17:44:19 +00:00
fix(drivers/marvell/comphy-3700): fix PIN_PU_IVREF register name
According to Functional Specification, the register at bit 1 of PHY Configuration 1 is called PIN_PU_IVREF, not PIN_PU_IVEREF. Fix this. Signed-off-by: Marek Behún <marek.behun@nic.cz> Change-Id: I912fa4a1956bf0b1b35a24925db03e3dbbe1adf3
This commit is contained in:
parent
1f3665c396
commit
c9f138ebfe
2 changed files with 4 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2018 Marvell International Ltd.
|
||||
* Copyright (C) 2018-2021 Marvell International Ltd.
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
* https://spdx.org/licenses
|
||||
|
@ -401,7 +401,7 @@ static int mvebu_a3700_comphy_sgmii_power_on(uint8_t comphy_index,
|
|||
* PHY TXP/TXN output to idle state during PHY initialization
|
||||
* 3. Set PHY input port PIN_PU_PLL=0, PIN_PU_RX=0, PIN_PU_TX=0.
|
||||
*/
|
||||
data = PIN_PU_IVEREF_BIT | PIN_TX_IDLE_BIT | PIN_RESET_COMPHY_BIT;
|
||||
data = PIN_PU_IVREF_BIT | PIN_TX_IDLE_BIT | PIN_RESET_COMPHY_BIT;
|
||||
mask = PIN_RESET_CORE_BIT | PIN_PU_PLL_BIT | PIN_PU_RX_BIT |
|
||||
PIN_PU_TX_BIT;
|
||||
offset = MVEBU_COMPHY_REG_BASE + COMPHY_PHY_CFG1_OFFSET(comphy_index);
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2018 Marvell International Ltd.
|
||||
* Copyright (C) 2018-2021 Marvell International Ltd.
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
* https://spdx.org/licenses
|
||||
|
@ -224,7 +224,7 @@ enum {
|
|||
|
||||
/* SGMII */
|
||||
#define COMPHY_PHY_CFG1_OFFSET(lane) ((1 - (lane)) * 0x28)
|
||||
#define PIN_PU_IVEREF_BIT BIT(1)
|
||||
#define PIN_PU_IVREF_BIT BIT(1)
|
||||
#define PIN_RESET_CORE_BIT BIT(11)
|
||||
#define PIN_RESET_COMPHY_BIT BIT(12)
|
||||
#define PIN_PU_PLL_BIT BIT(16)
|
||||
|
|
Loading…
Add table
Reference in a new issue