ramips: add back RST_CTRL_MCM for mt7621

Also update the reset_fe() proto
This commit is contained in:
Chen Minqiang 2021-06-26 12:43:06 +08:00 committed by AmadeusGhost
parent 914d6d864b
commit 49de9f1ed7
2 changed files with 2 additions and 1 deletions

View File

@ -59,6 +59,7 @@
#define SYSC_REG_CHIP_REV_ID 0x0c
#define SYSC_REG_CFG1 0x14
#define RST_CTRL_MCM BIT(2)
#define PCIE_RC_MODE BIT(8)
#define SYSC_PAD_RGMII2_MDIO 0x58
#define SYSC_GPIO_MODE 0x60

View File

@ -88,7 +88,7 @@ static int mt7621_gsw_config(struct fe_priv *priv)
return 0;
}
static void mt7621_fe_reset(void)
static void mt7621_fe_reset(struct fe_priv *priv)
{
fe_reset(MT7621_RESET_FE);
}