summaryrefslogtreecommitdiff
path: root/arch/powerpc
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 /arch/powerpc
parent424bf94273b2cd0171eca7ed5619b211f1b96d8f (diff)
downloadu-boot-imx-e6394e9e8f83b77b61f0b240fcd39622571be690.zip
u-boot-imx-e6394e9e8f83b77b61f0b240fcd39622571be690.tar.gz
u-boot-imx-e6394e9e8f83b77b61f0b240fcd39622571be690.tar.bz2
Fix for incorrect conversion hex string to number (FMAN firmware address).
Signed-off-by: Николай Пузанов <punzik@gmail.com> Acked-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'arch/powerpc')
-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 63a04f1..533d47a 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;