[U-Boot] [PATCH v3] fdt: Add function to alloc phandle values

Jerry Van Baren gvb.uboot at gmail.com
Sun Jul 18 05:22:54 CEST 2010


On 07/10/2010 09:25 AM, Kumar Gala wrote:
> If we are creating reference (handles) to nodes in a device tree we need
> to first create a new phandle in node and this needs a new phandle
> value.  So we search through the whole dtb to find the max phandle value
> and return the next greater value for a new phandle allocation.
>
> Signed-off-by: Kumar Gala<galak at kernel.crashing.org>
> ---
> * Try this whitespace cleanup again
>
>   common/fdt_support.c  |   18 ++++++++++++++++++
>   include/fdt_support.h |    1 +
>   2 files changed, 19 insertions(+), 0 deletions(-)

Acked-by: Gerald Van Baren <vanbaren at cideas.com>

Best regards,
gvb


More information about the U-Boot mailing list