]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/powerpc/cpu/mpc85xx/fdt.c
Fix for incorrect conversion hex string to number (FMAN firmware address).
[karo-tx-uboot.git] / arch / powerpc / cpu / mpc85xx / fdt.c
index 63a04f14fa9347e0434055b72a1431210a8ba86a..533d47ab438a86889ec0b0dbc0ccc54f2f1bf00c 100644 (file)
@@ -476,7 +476,7 @@ void fdt_fixup_fman_firmware(void *blob)
        if (!p)
                return;
 
-       fmanfw = (struct qe_firmware *) simple_strtoul(p, NULL, 0);
+       fmanfw = (struct qe_firmware *) simple_strtoul(p, NULL, 16);
        if (!fmanfw)
                return;