[U-Boot] [PATCH] Fix for incorrect conversion hex string to number (FMAN firmware address).

Nikolay Puzanov punzik at gmail.com
Wed Jun 19 09:48:44 CEST 2013


---
 arch/powerpc/cpu/mpc85xx/fdt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/powerpc/cpu/mpc85xx/fdt.c b/arch/powerpc/cpu/mpc85xx/fdt.c
index 24eb978..ece1336 100644
--- a/arch/powerpc/cpu/mpc85xx/fdt.c
+++ b/arch/powerpc/cpu/mpc85xx/fdt.c
@@ -492,7 +492,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;

--
1.8.1.2


More information about the U-Boot mailing list