From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:59911) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SFPim-0000Oi-9Y for qemu-devel@nongnu.org; Wed, 04 Apr 2012 08:54:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SFPij-0004bM-HL for qemu-devel@nongnu.org; Wed, 04 Apr 2012 08:53:55 -0400 Received: from cantor2.suse.de ([195.135.220.15]:41375 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SFPij-0004bB-B6 for qemu-devel@nongnu.org; Wed, 04 Apr 2012 08:53:53 -0400 Message-ID: <4F7C445D.3070807@suse.de> Date: Wed, 04 Apr 2012 14:53:49 +0200 From: =?ISO-8859-15?Q?Andreas_F=E4rber?= MIME-Version: 1.0 References: <26d832cdffc1b31cfe1aa6fa9ca50f66d6fb9f71.1333088411.git.peter.crosthwaite@petalogix.com> In-Reply-To: <26d832cdffc1b31cfe1aa6fa9ca50f66d6fb9f71.1333088411.git.peter.crosthwaite@petalogix.com> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [RFC PATCH v1 2/4] m25p80: initial verion List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Peter A. G. Crosthwaite" Cc: edgar.iglesias@gmail.com, qemu-devel@nongnu.org, john.williams@petalogix.com, paul@codesourcery.com Am 30.03.2012 08:37, schrieb Peter A. G. Crosthwaite: > Added device model for m25p80 SPI flash >=20 > Signed-off-by: Peter A. G. Crosthwaite > --- > Makefile.target | 1 + > hw/m25p80.c | 495 +++++++++++++++++++++++++++++++++++++++++++++++= ++++++++ > 2 files changed, 496 insertions(+), 0 deletions(-) > create mode 100644 hw/m25p80.c >=20 > diff --git a/Makefile.target b/Makefile.target > index 8fd3718..fcccf1b 100644 > --- a/Makefile.target > +++ b/Makefile.target > @@ -321,6 +321,7 @@ obj-microblaze-y =3D petalogix_s3adsp1800_mmu.o > obj-microblaze-y +=3D petalogix_ml605_mmu.o > obj-microblaze-y +=3D microblaze_boot.o > obj-microblaze-y +=3D spi.o > +obj-microblaze-y +=3D m25p80.o > =20 > obj-microblaze-y +=3D microblaze_pic_cpu.o > obj-microblaze-y +=3D xilinx_intc.o > diff --git a/hw/m25p80.c b/hw/m25p80.c > new file mode 100644 > index 0000000..2b67375 > --- /dev/null > +++ b/hw/m25p80.c > @@ -0,0 +1,495 @@ > +/* > + * ST M25P80 emulator. [snip] A device by ST does not sound microblaze-specific and in that case, similar to the recent Atmel maxtouch device, should go into hw-obj-$(CONFIG_M25P80) instead so that it's compiled only once for microblaze-softmmu and microblazeel-softmmu. Same for spi.o since it implements a generic bus AFAIU. Andreas --=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