[U-Boot] [u-boot-release] [PATCH] powerpc/85xx: verify the localbus device tree address before booting the OS

Timur Tabi timur at freescale.com
Wed Nov 16 21:00:23 CET 2011


Swarthout Edward L-SWARTHOU wrote:
>> ... it's possible for the 'reg' property to be wrong.
> 
> Instead of all this, why doesn't u-boot just fix it?
> 
> I have the same annoyance with ccsrbar.
> 
> U-boot controls the ccsrbar address via a user configured #define.
> So instead of having different dts's based on the u-boot ccsrbar,
> why can't u-boot update the device tree?

Because we can't just relocate the devices that we know about and ignore the rest.  If CCSR is at the wrong address, then maybe the PCI memory ranges are wrong, too?  Who's to say what else is wrong?

-- 
Timur Tabi
Linux kernel developer at Freescale



More information about the U-Boot mailing list