OF_DYNAMIC usage

Michal Simek monstr at monstr.eu
Fri Jul 6 18:18:51 EST 2012


On 07/06/2012 10:10 AM, Benjamin Herrenschmidt wrote:
> On Fri, 2012-07-06 at 10:02 +0200, Michal Simek wrote:
>
>> ok. How that FDT blob segment should look like?
>> It can't be just one node because it also requires path where it is connected.
>>
>> It means at least the part like below for injecting.
>
> No, my idea was to pass 3 arguments:
>
>   - action (enum)
>   - path (string)
>   - segment (blob)
>
> action would be typically add/remove
>
>   * add: add node under<path>  whose content is in<segment>
>
>   * remove: remove node<path>  and all children
>
> (or we could require children removal to be done explicitly).

ok.

Thanks,
Michal

-- 
Michal Simek, Ing. (M.Eng)
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel 2.6 Microblaze Linux - http://www.monstr.eu/fdt/
Microblaze U-BOOT custodian


More information about the devicetree-discuss mailing list