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

York Sun yorksun at freescale.com
Fri Aug 9 02:30:00 CEST 2013


On 06/19/2013 12:48 AM, Николай Пузанов wrote:
> ---
>  arch/powerpc/cpu/mpc85xx/fdt.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> ---
> 1.8.1.2
> 
> 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;
> 

Andy,

I want to close on this patch. Is there any reason we shouldn't apply
this patch? Why don't we have a problem without it?

York




More information about the U-Boot mailing list