From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:52872) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sc6Mu-0001vD-K2 for qemu-devel@nongnu.org; Tue, 05 Jun 2012 22:56:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sc6J2-0004AS-BW for qemu-devel@nongnu.org; Tue, 05 Jun 2012 22:53:08 -0400 Date: Wed, 6 Jun 2012 03:00:53 +1000 From: David Gibson Message-ID: <20120605170053.GA6614@truffala.fritz.box> References: <1338375646-15064-1-git-send-email-agraf@suse.de> <1338375646-15064-7-git-send-email-agraf@suse.de> <20120531105555.GF11455@truffala.fritz.box> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] [Qemu-ppc] [PATCH 06/25] dt: add helper for empty dt creation List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf Cc: Scott Wood , qemu-ppc , qemu-devel Developers On Tue, Jun 05, 2012 at 04:07:23PM +0200, Alexander Graf wrote: > > On 31.05.2012, at 12:55, David Gibson wrote: > > > On Wed, May 30, 2012 at 01:00:27PM +0200, Alexander Graf wrote: > >> We want to get rid of the concept of loading an external device tree and instead > >> generate our own. However, to do this we need to also create a device tree > >> template programatically. > >> > >> This patch adds a helper to create an empty device tree in memory. > > > > Hm, this make-an-empty-template thing is common enough that I'll make > > a helper for it in libfdt. > > Very cool :). That would still mean that we need the in-QEMU helper > for a while though, until we can reasonably expect people to have > newer versions of libfdt on their systems, right? :) True. The helper is in upstream libfdt git now, btw. -- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson