Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NlRji-0002rS-4k for qemu-devel@nongnu.org; Sat, 27 Feb 2010 13:49:58 -0500 Received: from [199.232.76.173] (port=49403 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NlRjh-0002r9-SY for qemu-devel@nongnu.org; Sat, 27 Feb 2010 13:49:57 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NlRje-00009n-11 for qemu-devel@nongnu.org; Sat, 27 Feb 2010 13:49:57 -0500 Received: from hall.aurel32.net ([88.191.82.174]:58663) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NlRjd-00009d-Nk for qemu-devel@nongnu.org; Sat, 27 Feb 2010 13:49:53 -0500 Date: Sat, 27 Feb 2010 19:49:23 +0100 From: Aurelien Jarno Subject: Re: [Qemu-devel] [PATCH 1/2] powerpc/booke: move fdt loading to rom infrastructure Message-ID: <20100227184923.GW10348@hall.aurel32.net> References: <1265100543-15528-1-git-send-email-yu.liu@freescale.com> <20100227153302.GH10291@volta.aurel32.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20100227153302.GH10291@volta.aurel32.net> Sender: Aurelien Jarno List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Liu Yu Cc: qemu-devel@nongnu.org, hollis@penguinppc.org On Sat, Feb 27, 2010 at 04:33:02PM +0100, Aurelien Jarno wrote: > On Tue, Feb 02, 2010 at 04:49:02PM +0800, Liu Yu wrote: > > It's convinent to use rom to checking overlap, to reset etc. > > And uImage and ramdisk loading has already moved to it. > > > > Also, after we add fdt to rom, free it. > > This does not build if CONFIG_FDT is not set: > > |  CC ppc-softmmu/ppc440_bamboo.o > | /home/aurel32/git/qemu/hw/ppc440_bamboo.c: In function 'bamboo_load_device_tree': > | /home/aurel32/git/qemu/hw/ppc440_bamboo.c:86: error: 'ret' undeclared (first use in this function) > | /home/aurel32/git/qemu/hw/ppc440_bamboo.c:86: error: (Each undeclared identifier is reported only once > | /home/aurel32/git/qemu/hw/ppc440_bamboo.c:86: error: for each function it appears in.) > | cc1: warnings being treated as errors > | /home/aurel32/git/qemu/hw/ppc440_bamboo.c:36: error: unused variable 'fdt' > | make[1]: *** [ppc440_bamboo.o] Error 1 > | make: *** [subdir-ppc-softmmu] Error 2 > As I have pushed the patch by mistake to the git tree, and it is mostly ok, I have committed a patch to fix the above issue. -- Aurelien Jarno GPG: 1024D/F1BCDB73 aurelien@aurel32.net http://www.aurel32.net