• Mark A. Greer's avatar
    [POWERPC] Add flatdevtree source · 6fb4efc6
    Mark A. Greer authored
    Add the latest version of the flatdevtree code and corresponding glue.
    
    A phandle table now tracks values returned by ft_find_device().
    The value returned by ft_find_device() is a phandle which is really
    an index into the phandle table.  The phandle table contains the address
    of the corresponding node.  When the flat dt is edited/moved, the node
    pointers in the phandle table are updated accordingly so no phandles kept
    by the caller become stale.
    Signed-off-by: default avatarMark A. Greer <mgreer@mvista.com>
    Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
    6fb4efc6
flatdevtree.h 3.63 KB