public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] fdt_find_compatible_node() and friends
@ 2007-05-03 14:47 Wolfgang Grandegger
  2007-05-03 15:14 ` Jerry Van Baren
  0 siblings, 1 reply; 9+ messages in thread
From: Wolfgang Grandegger @ 2007-05-03 14:47 UTC (permalink / raw)
  To: u-boot

Hi Jerry,

before re-coding fdt_find_compatible_node(), some more comments.

After browsing more carefully the FDT related code of "arch/powerpc"
I think we also need, apart from fdt_find_compatible_node() and
fdt_path_offset(), fdt_find_node_by_type() and maybe 
fdt_find_node_by_name(). These functions do a sequential scan of all 
devices starting at the beginning or after a specified node. They 
actually ignore the hierarchy. Do you agree?
BTW: any reason why not using the more compatible name 
fdt_find_node_by_path() for fdt_path_offset()?

Wolfgang.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2007-05-17 12:31 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-03 14:47 [U-Boot-Users] fdt_find_compatible_node() and friends Wolfgang Grandegger
2007-05-03 15:14 ` Jerry Van Baren
2007-05-05 13:03   ` Wolfgang Grandegger
2007-05-16 10:40     ` Wolfgang Grandegger
2007-05-16 13:33       ` Jerry Van Baren
2007-05-17 10:38     ` Jerry Van Baren
2007-05-17 11:32       ` Wolfgang Grandegger
2007-05-17 12:04         ` Jerry Van Baren
2007-05-17 12:31           ` Wolfgang Grandegger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox