From: Николай Пузанов Date: Wed, 19 Jun 2013 07:48:44 +0000 (+0400) Subject: Fix for incorrect conversion hex string to number (FMAN firmware address). X-Git-Tag: v2013.10-rc2~9^2~1 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e6394e9e8f83b77b61f0b240fcd39622571be690;p=u-boot Fix for incorrect conversion hex string to number (FMAN firmware address). Signed-off-by: Николай Пузанов Acked-by: York Sun --- 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;