projects
/
platform
/
kernel
/
u-boot-thead.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5dd8bce
)
fix error to written eth1addr
author
Han Gao
<gaohan@iscas.ac.cn>
Tue, 23 Jan 2024 16:15:25 +0000
(
00:15
+0800)
committer
Han Gao
<gaohan@iscas.ac.cn>
Tue, 23 Jan 2024 16:15:25 +0000
(
00:15
+0800)
Signed-off-by: Han Gao <gaohan@iscas.ac.cn>
board/thead/light-c910/light.c
patch
|
blob
|
history
diff --git
a/board/thead/light-c910/light.c
b/board/thead/light-c910/light.c
index 7e93d30801dacdef778ad178f38d28000c6afa9f..62cd553e574a88a5419407319b9a623bbe120402 100644
(file)
--- a/
board/thead/light-c910/light.c
+++ b/
board/thead/light-c910/light.c
@@
-2450,7
+2450,7
@@
static void light_usb_boot_check(void)
if (env_ethaddr_flag)
eth_env_set_enetaddr_by_index("eth", 0, env_enetaddr);
if (env_eth1addr_flag)
- eth_env_set_enetaddr_by_index("eth", 1, env_enetaddr);
+ eth_env_set_enetaddr_by_index("eth", 1, env_enet
1
addr);
env_save();
run_command("run gpt_partition", 0);
run_command("fastboot usb 0", 0);