
6 Nov
2008
6 Nov
'08
11:26 p.m.
Becky Bruce wrote:
On Nov 6, 2008, at 4:16 PM, Scott Wood wrote:
How about a runtime check in the board fdt code to print a warning if it finds an old device tree? Unfortunately, using new dts with old u-boot isn't as easy to detect.
Where exactly were you thinking this would go?
ft_board_setup()
I'm not sure what to detect - I could pretty easily do a rudimentary check, like checking if the CCSR location in the .dts is the same as the one u-boot has, but there's always the possiblity that someone has hacked their u-boot to put the CCSR in the same spot.
Well then they can hack the warning out. :-)
-Scott