]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Fix for incorrect conversion hex string to number (FMAN firmware address).
authorНиколай Пузанов <punzik@gmail.com>
Wed, 19 Jun 2013 07:48:44 +0000 (11:48 +0400)
committerYork Sun <yorksun@freescale.com>
Tue, 20 Aug 2013 18:51:26 +0000 (11:51 -0700)
Signed-off-by: Николай Пузанов <punzik@gmail.com>
Acked-by: York Sun <yorksun@freescale.com>
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;