From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jerry Van Baren Date: Sat, 17 Jul 2010 23:22:54 -0400 Subject: [U-Boot] [PATCH v3] fdt: Add function to alloc phandle values In-Reply-To: <1278768344-1598-1-git-send-email-galak@kernel.crashing.org> References: <1278710565-4484-1-git-send-email-galak@kernel.crashing.org> <1278768344-1598-1-git-send-email-galak@kernel.crashing.org> Message-ID: <4C42738E.6050303@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > --- > * 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 Best regards, gvb