mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-18 21:21:37 +00:00
Merge branch 'for-tom' of https://github.com/lftan/u-boot
- arm: socfpga: misc_s10: Fix EMAC register address calculation
This commit is contained in:
commit
04983e936c
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ static u32 socfpga_phymode_setup(u32 gmac_index, const char *phymode)
|
|||
return -EINVAL;
|
||||
|
||||
clrsetbits_le32(socfpga_get_sysmgr_addr() + SYSMGR_SOC64_EMAC0 +
|
||||
gmac_index,
|
||||
(gmac_index * sizeof(u32)),
|
||||
SYSMGR_EMACGRP_CTRL_PHYSEL_MASK, modereg);
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue