Re: Use cases for fdt_nop_* functions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Tue, Sep 09, 2014 at 03:52:51PM -0700, Jay Bhukhanwala wrote:
> What are the use cases for the below functions?
> fdt_nop_property
> fdt_nop_node
> 
> How would the fdt_nop_node be any different from setting the status
> property to "disabled" ?
> 
> I am suspecting the fdt_nop_node, basically makes the node
> undiscoverable in DT, but I need someone to please confirm the
> assumption.

That's correct.  fdt_nop_node and fdt_nop_property are functionally
equivalent to deleting the node or property entirely, however unlike
fdt_del_node() or fdt_del_property() they don't move any other
existing nodes or properties around in the blob.

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson

Attachment: pgpmAJjqFrWrS.pgp
Description: PGP signature


[Index of Archives]     [Device Tree]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux