Skip to contentSkip to conversation

fdt_chosen()

U-Boot-Users Timur Tabi 1 participant 1 message Apr 20, 2007

lore
Share & tools
lore

Timur Tabi

author
#0 lore raw

Jerry,

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.

Signature · 2 lines
Timur Tabi
Linux Kernel Developer @ Freescale