Skip to content

Commit bc7a484

Browse files
authored
Merge pull request #279 from r3claimer/dev
RK3588: fix ethernet mac address on some rk3588 devices
2 parents d954e38 + e00b52c commit bc7a484

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
From 1f70ac3a968d121d86350092a7eff0dbd56114b7 Mon Sep 17 00:00:00 2001
2+
From: orangepi-xunlong <258384131@qq.com>
3+
Date: Tue, 4 Jul 2023 18:09:18 +0800
4+
Subject: [PATCH] Disable set local-mac-address
5+
6+
---
7+
common/fdt_support.c | 4 ++--
8+
1 file changed, 2 insertions(+), 2 deletions(-)
9+
10+
diff --git a/common/fdt_support.c b/common/fdt_support.c
11+
index fa3d3e7af2..e72aaf04e0 100644
12+
--- a/common/fdt_support.c
13+
+++ b/common/fdt_support.c
14+
@@ -705,8 +705,8 @@ void fdt_fixup_ethernet(void *fdt)
15+
16+
do_fixup_by_path(fdt, path, "mac-address",
17+
&mac_addr, 6, 0);
18+
- //do_fixup_by_path(fdt, path, "local-mac-address",
19+
- // &mac_addr, 6, 1);
20+
+ do_fixup_by_path(fdt, path, "local-mac-address",
21+
+ &mac_addr, 6, 1);
22+
}
23+
}
24+
}

0 commit comments

Comments
 (0)