From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thierry Reding Date: Tue, 19 Aug 2014 15:12:43 +0200 Subject: [U-Boot] [PATCH 05/23] fdt: Add a subnodes iterator macro In-Reply-To: References: <1408346196-30419-1-git-send-email-thierry.reding@gmail.com> <1408346196-30419-6-git-send-email-thierry.reding@gmail.com> <20140819122159.GD19515@ulmo> Message-ID: <20140819131243.GC1586@ulmo> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, Aug 19, 2014 at 06:57:54AM -0600, Simon Glass wrote: > Hi Thierry, > > On 19 August 2014 06:22, Thierry Reding wrote: > > On Mon, Aug 18, 2014 at 12:11:03PM -0600, Simon Glass wrote: > >> On 18 August 2014 01:16, Thierry Reding wrote: > >> > From: Thierry Reding > >> > > >> > The fdt_for_each_subnode() iterator macro provided by this patch can be > >> > used to iterate over a device tree node's subnodes. At each iteration a > >> > loop variable will be set to the next subnode. > >> > > >> > Signed-off-by: Thierry Reding > >> > >> Acked-by: Simon Glass > >> > >> Will this go upstream to dtc at some point? > > > > I suppose it could. I don't know anything about how code flows back and > > forth between dtc and U-Boot. > > Well normally we try to send changes upstream to minimise the diff > between libfdt and U-Boot. You can join > devicetree-compiler at vger.kernel.org and send patches. If they get > modified upstream then I can apply a diff to U-Boot when they are > applied. Okay, I'll prepare a patch against upstream dtc then. Thierry -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 819 bytes Desc: not available URL: