]> Git Repo - u-boot.git/blobdiff - common/fdt_support.c
global: Convert simple_strtoul() with hex to hextoul()
[u-boot.git] / common / fdt_support.c
index 240f1e57d1355f1820fce202c6181dc280915b7f..4341d84bd5ec1ddd8e2764b2bbbd9a812b534cbf 100644 (file)
@@ -579,7 +579,7 @@ void fdt_fixup_ethernet(void *fdt)
 
                        for (j = 0; j < 6; j++) {
                                mac_addr[j] = tmp ?
-                                             simple_strtoul(tmp, &end, 16) : 0;
+                                             hextoul(tmp, &end) : 0;
                                if (tmp)
                                        tmp = (*end) ? end + 1 : end;
                        }
This page took 0.02213 seconds and 4 git commands to generate.