All of lore.kernel.org
 help / color / mirror / Atom feed
* difference between fdtdec and fdt_support ?
@ 2022-01-06 12:21 Marek Behún
  2022-01-06 14:37 ` Rasmus Villemoes
  2022-01-06 15:48 ` Simon Glass
  0 siblings, 2 replies; 7+ messages in thread
From: Marek Behún @ 2022-01-06 12:21 UTC (permalink / raw)
  To: Simon Glass; +Cc: U-Boot Mailing List

Hi Simon,

I am a little confused.

We have
  common/fdt_support.c
and
  lib/fdtdec.c

The second one implements for example fdtdec_get_is_enabled(), which I
would rather expect in fdt_support by name fdt_node_is_available(), or
something like that.

Also fdtdec does a strange thing with compatible strings: it declares
an enum for compatible strings and then a map which maps this enum
values to compatible strings... Why not just use the compatible strings?

What is the purpose of having two files implementing fdt stuff?

Marek

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

end of thread, other threads:[~2022-01-27 15:07 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-06 12:21 difference between fdtdec and fdt_support ? Marek Behún
2022-01-06 14:37 ` Rasmus Villemoes
2022-01-06 15:48 ` Simon Glass
2022-01-06 16:10   ` Marek Behún
2022-01-06 16:15     ` Simon Glass
2022-01-06 16:55       ` Marek Behún
2022-01-27 15:05         ` Simon Glass

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.