From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: To: David Gibson Subject: Re: [dtc] Allow references to labels In-Reply-To: Your message of "Wed, 07 Feb 2007 14:29:07 +1100." <20070207032907.GE23870@localhost.localdomain> References: <20070207032907.GE23870@localhost.localdomain> Date: Thu, 08 Feb 2007 17:28:13 -0600 From: Jon Loeliger Message-Id: Cc: linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , So, like, the other day David Gibson mumbled: > dtc allows nodes to have labels, which at present are just re-emitted > as symbols at the appropriate places when using asm-mode output. It > also allows "references" where the notation &/path/to/node in a cell > list will be replaced with the phandle of the referenced node. > > This patch extends the reference syntax to allow references to labels > instead of just full device paths. This allows nodes deep within the > tree to be referenced with a shorter more convenient name. References > to labels are distinguished from reference to paths by the fact that > paths must start with a /, but labels can never start with a /. > > Signed-off-by: David Gibson > > Index: dtc/livetree.c Applied. Thanks, jdl