[RFC PATCH V2 4/9] s/.name/.compatible/

Daniel Mack zonque at gmail.com
Sat Aug 3 10:16:09 EDT 2013


On 03.08.2013 16:07, Jason Cooper wrote:
> I changed the api so that the user could link in a random number of dtbs
> _without_ hardcoding the addresses.  Searching by the compatible string
> was the easiest way to accomplish this.  Unfortunately, I didn't know
> his compatible strings when I made the change.
> 
> For the curious, the code that does this is here:
> 
>   https://github.com/zonque/pxa-impedance-matcher/blob/master/dtbs.c
> 
> We plan to add dtb parsing in the future so that we can change the dtb
> based on the atags passed by the legacy bootloader.

... and then we can also specifically look into the compatible node of
the dtb, and not just do a string search over the entire binary.

But for now, it's good enough.


Daniel




More information about the linux-arm-kernel mailing list