From patchwork Tue Apr 2 14:58:50 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paolo Bonzini X-Patchwork-Id: 233034 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 6455B2C014A for ; Wed, 3 Apr 2013 02:00:28 +1100 (EST) Received: from localhost ([::1]:36363 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UN2hG-0005jb-L0 for incoming@patchwork.ozlabs.org; Tue, 02 Apr 2013 11:00:26 -0400 Received: from eggs.gnu.org ([208.118.235.92]:32846) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UN2gl-0005fM-8H for qemu-devel@nongnu.org; Tue, 02 Apr 2013 10:59:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UN2gj-0001NO-Kn for qemu-devel@nongnu.org; Tue, 02 Apr 2013 10:59:55 -0400 Received: from mail-ea0-x231.google.com ([2a00:1450:4013:c01::231]:53202) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UN2gj-0001Mg-Ax for qemu-devel@nongnu.org; Tue, 02 Apr 2013 10:59:53 -0400 Received: by mail-ea0-f177.google.com with SMTP id q14so266862eaj.22 for ; Tue, 02 Apr 2013 07:59:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:from:to:subject:date:message-id:x-mailer :in-reply-to:references; bh=3JYAdtSE3crIvgsgUzvD2Un5JJQSX83oQCBjCeRqbBA=; b=C6DYKkAWfV45ZA/fyhdcIXqZ9KUzrOzbUj1YHWBJVEjbNHyoSgEGN6xL6BTQJB9+r4 BlRbuIEp+4ycS3CRbUPlMWssFWHpUYomoHcl0LepMRlBdHyL79yWzL947a10r25bO8f6 jZF6gDFGoT++2i/OBuvpSmTud8J39SKqPQ5qPh1fpOFQyKIdjhYsiZIsF3FFN/6NpMC/ /MoXvWflpqujxXuJxjzhqkyGnaezyIbHC5zIACNBUoSUrVVcTONsxA6HoWSdwjfqjPHO vpNgiy6g9N8o/7Z6XCKuaDArqyp6pJgjsOF5rdBSbnQXxSV073hV7lTXkZOjUz5bNwmT prcA== X-Received: by 10.14.215.193 with SMTP id e41mr49948206eep.32.1364914792500; Tue, 02 Apr 2013 07:59:52 -0700 (PDT) Received: from playground.lan (93-34-176-20.ip50.fastwebnet.it. [93.34.176.20]) by mx.google.com with ESMTPS id n2sm3179353eeo.10.2013.04.02.07.59.50 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 02 Apr 2013 07:59:51 -0700 (PDT) From: Paolo Bonzini To: qemu-devel@nongnu.org Date: Tue, 2 Apr 2013 16:58:50 +0200 Message-Id: <1364914749-11141-17-git-send-email-pbonzini@redhat.com> X-Mailer: git-send-email 1.8.1.4 In-Reply-To: <1364914749-11141-1-git-send-email-pbonzini@redhat.com> References: <1364914749-11141-1-git-send-email-pbonzini@redhat.com> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4013:c01::231 Subject: [Qemu-devel] [PATCH 16/35] hw: move SSI controllers to hw/ssi/, configure via default-configs/ X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Signed-off-by: Paolo Bonzini --- default-configs/arm-softmmu.mak | 1 + default-configs/microblaze-softmmu.mak | 1 + default-configs/microblazeel-softmmu.mak | 1 + hw/arm/Makefile.objs | 3 +-- hw/microblaze/Makefile.objs | 4 ---- hw/ssi/Makefile.objs | 4 ++++ hw/{ => ssi}/omap_spi.c | 0 hw/{ => ssi}/xilinx_spi.c | 0 hw/{ => ssi}/xilinx_spips.c | 0 9 files changed, 8 insertions(+), 6 deletions(-) rename hw/{ => ssi}/omap_spi.c (100%) rename hw/{ => ssi}/xilinx_spi.c (100%) rename hw/{ => ssi}/xilinx_spips.c (100%) diff --git a/hw/omap_spi.c b/hw/ssi/omap_spi.c similarity index 100% rename from hw/omap_spi.c rename to hw/ssi/omap_spi.c diff --git a/hw/xilinx_spi.c b/hw/ssi/xilinx_spi.c similarity index 100% rename from hw/xilinx_spi.c rename to hw/ssi/xilinx_spi.c diff --git a/hw/xilinx_spips.c b/hw/ssi/xilinx_spips.c similarity index 100% rename from hw/xilinx_spips.c rename to hw/ssi/xilinx_spips.c diff --git a/default-configs/arm-softmmu.mak b/default-configs/arm-softmmu.mak index 24b0d41..8eb04e2 100644 --- a/default-configs/arm-softmmu.mak +++ b/default-configs/arm-softmmu.mak @@ -52,6 +52,7 @@ CONFIG_EXYNOS4=y CONFIG_PXA2XX=y CONFIG_BITBANG_I2C=y CONFIG_FRAMEBUFFER=y +CONFIG_XILINX_SPIPS=y CONFIG_MARVELL_88W8618=y CONFIG_OMAP=y CONFIG_BLIZZARD=y diff --git a/default-configs/microblaze-softmmu.mak b/default-configs/microblaze-softmmu.mak index 050e273..ce26308 100644 --- a/default-configs/microblaze-softmmu.mak +++ b/default-configs/microblaze-softmmu.mak @@ -5,6 +5,7 @@ CONFIG_PFLASH_CFI01=y CONFIG_SERIAL=y CONFIG_XILINX=y CONFIG_XILINX_AXI=y +CONFIG_XILINX_SPI=y CONFIG_XILINX_ETHLITE=y CONFIG_SSI=y CONFIG_SSI_M25P80=y diff --git a/default-configs/microblazeel-softmmu.mak b/default-configs/microblazeel-softmmu.mak index db82dd8..acf22c5 100644 --- a/default-configs/microblazeel-softmmu.mak +++ b/default-configs/microblazeel-softmmu.mak @@ -5,6 +5,7 @@ CONFIG_PFLASH_CFI01=y CONFIG_SERIAL=y CONFIG_XILINX=y CONFIG_XILINX_AXI=y +CONFIG_XILINX_SPI=y CONFIG_XILINX_ETHLITE=y CONFIG_SSI=y CONFIG_SSI_M25P80=y diff --git a/hw/arm/Makefile.objs b/hw/arm/Makefile.objs index 45bde58..6f764e6 100644 --- a/hw/arm/Makefile.objs +++ b/hw/arm/Makefile.objs @@ -1,5 +1,4 @@ obj-y += zynq_slcr.o -obj-y += xilinx_spips.o obj-y += arm_gic.o arm_gic_common.o obj-y += a9scu.o obj-y += realview_gic.o arm_sysctl.o arm11mpcore.o a9mpcore.o @@ -15,7 +14,7 @@ obj-y += zaurus.o obj-y += omap_dma.o omap_clk.o omap_mmc.o \ omap_gpio.o omap_intc.o omap_uart.o obj-y += soc_dma.o omap_gptimer.o omap_synctimer.o \ - omap_gpmc.o omap_sdrc.o omap_spi.o omap_tap.o omap_l4.o + omap_gpmc.o omap_sdrc.o omap_tap.o omap_l4.o obj-y += tsc210x.o obj-y += cbus.o tusb6010.o obj-y += mst_fpga.o diff --git a/hw/microblaze/Makefile.objs b/hw/microblaze/Makefile.objs index 75f5ce6..c65e2aa 100644 --- a/hw/microblaze/Makefile.objs +++ b/hw/microblaze/Makefile.objs @@ -1,7 +1,3 @@ -obj-y += xilinx_spi.o - -obj-y := $(addprefix ../,$(obj-y)) - obj-y += petalogix_s3adsp1800_mmu.o obj-y += petalogix_ml605_mmu.o obj-y += boot.o diff --git a/hw/ssi/Makefile.objs b/hw/ssi/Makefile.objs index daada5c..9555825 100644 --- a/hw/ssi/Makefile.objs +++ b/hw/ssi/Makefile.objs @@ -1,2 +1,6 @@ common-obj-$(CONFIG_PL022) += pl022.o common-obj-$(CONFIG_SSI) += ssi.o +common-obj-$(CONFIG_XILINX_SPI) += xilinx_spi.o +common-obj-$(CONFIG_XILINX_SPIPS) += xilinx_spips.o + +obj-$(CONFIG_OMAP) += omap_spi.o