From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:43359) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SdBSH-0006NY-7a for qemu-devel@nongnu.org; Fri, 08 Jun 2012 22:31:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SdBSF-0005iI-Bo for qemu-devel@nongnu.org; Fri, 08 Jun 2012 22:31:08 -0400 Received: from cantor2.suse.de ([195.135.220.15]:59348 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SdBSF-0005hs-2A for qemu-devel@nongnu.org; Fri, 08 Jun 2012 22:31:07 -0400 Message-ID: <4FD2B565.6040208@suse.de> Date: Sat, 09 Jun 2012 04:31:01 +0200 From: =?ISO-8859-1?Q?Andreas_F=E4rber?= MIME-Version: 1.0 References: <1339206871-4706-1-git-send-email-afaerber@suse.de> <1339206871-4706-2-git-send-email-afaerber@suse.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH 1/3] hw/xilinx_*: Share Xilinx devices between ppc and microblaze List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Crosthwaite Cc: Blue Swirl , "Edgar E. Iglesias" , "Peter A. G. Crosthwaite" , qemu-devel@nongnu.org, Paolo Bonzini Hi, Am 09.06.2012 04:15, schrieb Peter Crosthwaite: > On Sat, Jun 9, 2012 at 11:54 AM, Andreas F=E4rber wr= ote: >> Speeds up the build. >> >> xilinx_ethlite uses tswap32() and is thus target-dependent. >> >> Signed-off-by: Andreas F=E4rber [...] >> --- a/hw/Makefile.objs >> +++ b/hw/Makefile.objs >> @@ -59,6 +59,11 @@ hw-obj-$(CONFIG_PIIX4) +=3D piix4.o >> hw-obj-$(CONFIG_G364FB) +=3D g364fb.o >> hw-obj-$(CONFIG_JAZZ_LED) +=3D jazz_led.o >> >> +# Xilinx devices >> +hw-obj-$(CONFIG_XILINX) +=3D xilinx_intc.o >> +hw-obj-$(CONFIG_XILINX) +=3D xilinx_timer.o >> +hw-obj-$(CONFIG_XILINX) +=3D xilinx_uartlite.o >> + >=20 > whats the plan with xilinx_axidma xilinx_axienet and xilinx_ethlite? > Should be fold them into this CONFIG_ or are these the exceptions to > the rule as they are the annoying endian dependent ones? The axi ones are in patch 3/3 as they are only used for microblaze, not ppc, and they use qemu-log.h. Designed for pick-from-the-front*. :) The ethlite has the endianness issue described in the cover letter. Once solved, I'd expect it to be folded into CONFIG_XILINX as well, yes. Obviously if you have better variable naming, feel free to suggest or to change before Edgar applies, my stake is only that the variable names match in both places and that we achieve some deduplification. Cheers, Andreas * Depending on whether this or Blue's series goes in first, in which case 2/3 gets obsoleted. --=20 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N=FCrnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imend=F6rffer; HRB 16746 AG N=FCrnbe= rg