summaryrefslogtreecommitdiff
path: root/board/cssi/cmpc885/cmpc885.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2024-04-18 10:08:57 -0600
committerTom Rini <trini@konsulko.com>2024-04-18 10:08:57 -0600
commitcdf0195e90b66f25ed44fa5ed5634ec064e8dcb9 (patch)
tree0754178ede128c2313a22d5012841e091becdbef /board/cssi/cmpc885/cmpc885.c
parentcdd20e3f66fe910da0545d3615decf511519b4a6 (diff)
parent741e30e8c2b837dc92ee2eedec5478afdd83a316 (diff)
Merge branch 'for-2024.07' of https://source.denx.de/u-boot/custodians/u-boot-mpc8xx
This pull request adds support for temperature sensors et FPGA loading on boards from CS GROUP France. CI: https://source.denx.de/u-boot/custodians/u-boot-mpc8xx/-/pipelines/20416
Diffstat (limited to 'board/cssi/cmpc885/cmpc885.c')
-rw-r--r--board/cssi/cmpc885/cmpc885.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/board/cssi/cmpc885/cmpc885.c b/board/cssi/cmpc885/cmpc885.c
index e11cfafaa58..49c13056edc 100644
--- a/board/cssi/cmpc885/cmpc885.c
+++ b/board/cssi/cmpc885/cmpc885.c
@@ -114,8 +114,10 @@ static int setup_mac(void)
if (memcmp(din + EE_OFF_MAC1, &ident, sizeof(ident)) == 0)
eth_env_set_enetaddr("ethaddr", din + EE_OFF_MAC1);
- if (memcmp(din + EE_OFF_MAC2, &ident, sizeof(ident)) == 0)
+ if (memcmp(din + EE_OFF_MAC2, &ident, sizeof(ident)) == 0) {
eth_env_set_enetaddr("eth1addr", din + EE_OFF_MAC2);
+ eth_env_set_enetaddr("eth2addr", din + EE_OFF_MAC2);
+ }
return 0;
}