On Fri, Nov 07, 2008 at 01:45:57PM -0600, Becky Bruce wrote:
> +     if (tmp) {
> +             u64 addr;
> +             if (addrcells && (*addrcells == 2))
> +                     addr = *tmp;
> +             else
> +                     addr = *(u32 *)tmp;

If #address-cells is missing (not that it ever should be), the default is 2, 
not 1.

-Scott
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to