summaryrefslogtreecommitdiff
path: root/board/amlogic/beelink-s922x/beelink-s922x.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/amlogic/beelink-s922x/beelink-s922x.c')
-rw-r--r--board/amlogic/beelink-s922x/beelink-s922x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/amlogic/beelink-s922x/beelink-s922x.c b/board/amlogic/beelink-s922x/beelink-s922x.c
index bb74426266..adae27fc7e 100644
--- a/board/amlogic/beelink-s922x/beelink-s922x.c
+++ b/board/amlogic/beelink-s922x/beelink-s922x.c
@@ -39,7 +39,7 @@ int misc_init_r(void)
tmp[0] = efuse_mac_addr[i * 2];
tmp[1] = efuse_mac_addr[i * 2 + 1];
tmp[2] = '\0';
- mac_addr[i] = simple_strtoul(tmp, NULL, 16);
+ mac_addr[i] = hextoul(tmp, NULL);
}
if (is_valid_ethaddr(mac_addr))