global: Convert simple_strtoul() with hex to hextoul()
[platform/kernel/u-boot.git] / board / gateworks / gw_ventana / gw_ventana.c
index 468fb09..6a0382d 100644 (file)
@@ -915,7 +915,7 @@ int fdt_fixup_sky2(void *blob, int np, struct pci_dev *dev)
        if (tmp) {
                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;
                }