[U-Boot-Users] fdt_chosen()

Timur Tabi timur at freescale.com
Thu Apr 19 18:48:15 CEST 2007


I noticed that fdt_chosen() is called with force=0.  Does that mean that if the DTB has a 
chosen node in it already, that it won't be overwritten?  If so, I think that's wrong, 
because some DTBs have a bogus chosen section in them that has, in the past, always been 
overwritten by U-Boot.  If the chosen node already exists, then it means that it was 
present in the DTS when it was compiled, and that means the DTS is probably old and the 
chosen node has bad data in it.

Timur Tabi
Linux Kernel Developer @ Freescale

More information about the U-Boot mailing list