summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorНиколай Пузанов <punzik@gmail.com>2013-06-19 11:48:44 +0400
committerYork Sun <yorksun@freescale.com>2013-08-20 11:51:26 -0700
commite6394e9e8f83b77b61f0b240fcd39622571be690 (patch)
treeb3d6d4024b1348cb247a8681ae6850a66a073bd3
parent424bf94273b2cd0171eca7ed5619b211f1b96d8f (diff)
Fix for incorrect conversion hex string to number (FMAN firmware address).
Signed-off-by: Николай Пузанов <punzik@gmail.com> Acked-by: York Sun <yorksun@freescale.com>
-rw-r--r--arch/powerpc/cpu/mpc85xx/fdt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/cpu/mpc85xx/fdt.c b/arch/powerpc/cpu/mpc85xx/fdt.c
index 63a04f14fa..533d47ab43 100644
--- a/arch/powerpc/cpu/mpc85xx/fdt.c
+++ b/arch/powerpc/cpu/mpc85xx/fdt.c
@@ -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;