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

Kumar Gala galak at kernel.crashing.org
Mon Jul 26 20:14:19 CEST 2010


On Jul 17, 2010, at 10:22 PM, Jerry Van Baren wrote:

> 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

applied to 85xx

- k


More information about the U-Boot mailing list