Commit 60a7bede authored by Yuri Tikhonov's avatar Yuri Tikhonov

RT72064. stm32_eth: fix a typo

Signed-off-by: default avatarYuri Tikhonov <yur@emcraft.com>
parent b9aad358
......@@ -399,7 +399,7 @@ s32 stm32_eth_init(bd_t *bd)
* Set MII mode
*/
val = STM32_SYSCFG->pmc;
val &= STM32_SYSCFG_PMC_SEL_MSK << STM32_SYSCFG_PMC_SEL_BIT;
val &= ~(STM32_SYSCFG_PMC_SEL_MSK << STM32_SYSCFG_PMC_SEL_BIT);
#ifndef CONFIG_STM32_ETH_RMII
val |= STM32_SYSCFG_PMC_SEL_MII << STM32_SYSCFG_PMC_SEL_BIT;
#else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment