difference between fdtdec and fdt_support ?

Rasmus Villemoes rasmus.villemoes at prevas.dk
Thu Jan 6 15:37:59 CET 2022


On 06/01/2022 13.21, Marek Behún wrote:

> 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?

AFAIK, the primary purpose is to ensure powerpc binaries are bloated
with useless string literals.</sarcasm>

https://lore.kernel.org/u-boot/50288d08-3ab8-ef3c-5118-f74e30297104@prevas.dk/

Rasmus



More information about the U-Boot mailing list