[U-Boot] [PATCH] mpc8641: Try to detect old .dts files

Becky Bruce becky.bruce at freescale.com
Tue Nov 11 00:09:32 CET 2008


On Nov 10, 2008, at 4:58 PM, Scott Wood wrote:

> 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.

I'll post a follow-up; Jon has already picked this up in his tree.

Thanks!
-B



More information about the U-Boot mailing list