From patchwork Wed Oct 11 13:24:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 731966 Delivered-To: patch@linaro.org Received: by 2002:a5d:54d1:0:b0:31d:da82:a3b4 with SMTP id x17csp408002wrv; Wed, 11 Oct 2023 06:25:39 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFjH3jnUAXt4joPWLbVlTMec5bB6AMClLB1JquiEWU2r7UK1uIssxJ+HWRaqiWZ6DV5LJbA X-Received: by 2002:a05:6102:3549:b0:452:62b2:36b with SMTP id e9-20020a056102354900b0045262b2036bmr20029259vss.30.1697030739185; Wed, 11 Oct 2023 06:25:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697030739; cv=none; d=google.com; s=arc-20160816; b=PupzaC6aXjrNdDKR5Ro54ut6rfsC40Dk2FDoJa33RtbHOVArXjtch9YbU7MWXlWIzF YVdx7QS2uqtGqZtMV7jHEhJbr2F3espzTtjy+GkCgrINaJACkCv7BE8GkrvMYv0+vmeC uU6Y3BDAwdZUdpb63MBJ4OFZ/Q1f6YxjZhhtPm6+YVt0oCvjrW6U21Mc2+UuWSnilaVW WStzxOU7RaHB4OmyNG9/oAtJdLY75M1GVn/NMY0wFPZqut0Mr87CrqfttrvGr10Fsmw8 prEnms+3sEEz44khRiqTH/bvHxDmTDOoavzsF2pEAxeaWnvHu7INIAYJye/BZ6gKaTXr wbCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=vt2WyObBcXYTV0fWYbJQ/kflbk2DJaUNegSKAbPEgiM=; fh=0MSVIHUi8+JeQgq9/LdWahZrT/4txYwFIFsaSuwE+4o=; b=c17lDWofyoJNsd5NvZ2Hj+czYD3BIagRaCx9RPEtduxKPfaEbTY+F/3tyYlEOb0Kj2 6nnxoIMFePJ7omrLOS29eScidoh8cuoL/apfvlXVXLCn2zzJIPvFMXsE8sPl8g8LcTYG v+hzSx0fTPv7QPTLsaO8yJv4ZEa/6UpoURrb3F+blAeOvzuXBHFAqdD6acbnUY462YjQ CboLl+aBaAa8exg0YkTVKqvJRvHqUV56p3cEoI+NJTNeUlz0dwHLmYwNlMeYqJbZLWiU Q2KzrZxZgDk+LSonPVwuE/U2DWhD5n4zKoCTYhBD3D7sHXR6evzQmjn8wfzE1/XQqAhM xbVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dUCz3A1Z; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id c17-20020a05622a025100b004039ef1cdd9si9798004qtx.443.2023.10.11.06.25.39 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 11 Oct 2023 06:25:39 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dUCz3A1Z; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qqZCo-0006zl-VZ; Wed, 11 Oct 2023 09:24:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qqZCk-0006yc-3b for qemu-devel@nongnu.org; Wed, 11 Oct 2023 09:24:50 -0400 Received: from mail-ej1-x62f.google.com ([2a00:1450:4864:20::62f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qqZCi-0004Xa-3M for qemu-devel@nongnu.org; Wed, 11 Oct 2023 09:24:49 -0400 Received: by mail-ej1-x62f.google.com with SMTP id a640c23a62f3a-9b64b98656bso1161337666b.0 for ; Wed, 11 Oct 2023 06:24:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1697030686; x=1697635486; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=vt2WyObBcXYTV0fWYbJQ/kflbk2DJaUNegSKAbPEgiM=; b=dUCz3A1ZFgX1nMyB2WH5QwKtHbffR+fXTYrPCHWWDW0a/L4ADy3xa+YGokmXLc/ISg HojO+YsJ1Qes5zOjb6ys2bNFhKta6i7/AfgLvugPHgokT9rcJbORcvKl62vdJVHm5hmK iKkWqhBFB9xrYtZ/vd1iEMsyyewRceiolMkwgmFrdCBn7VSJm0v1AjRO226jjN0lMJGN v+mKtzXTvN3LCQ1oKwIpJOf+BpZ84Swwst898NM/KdnlNq/kaIGkFCT8qUFi6oSS7XvU UVCPk6zTABuvW69mqkeP94H4wD0/CEHm2EU/pQAID/d1c5hn4tVvUTT2enIz3cRJzYP4 qKig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697030686; x=1697635486; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=vt2WyObBcXYTV0fWYbJQ/kflbk2DJaUNegSKAbPEgiM=; b=HNowWQagG1hq25KEvfcHdQsMyAls3aqUnAKvL/yQ7mSDs7lsKFbgrK9TWNqSg3d5VH 1ftnMzvyKHmHbswtt8XeF1EJBIyrQV1rS6NYc2SYHaf0L/Hp1hit8RdphVcDVcmy9Wbc G+cvhu1kz28c3NmBPceFh34VV7z29VgxYwJyKepU1FprlP0zcayhz7Kay4koPmY6+Maf nS5AkOCo2OfS4anEfrCaPspLyckcFiz2CvbFRddoQSBHrU6+U7YfTxD+/JsgQbMObYT3 VVKTsgLVn3H8Z4yT6ymNMEsEN452CGxlHUYT4yME9HjaIcLc7k7xu0kTUlMKr8xB6Rb9 xA/A== X-Gm-Message-State: AOJu0Yxm/TO7x49J71GbTmgevg36qxzP8KX0EnHqd1w6ZNQYWGbIFOJD mTNEsQoHPEhutS/VVLuuI2d09aNMpj0i78f23Oc= X-Received: by 2002:a17:906:76d0:b0:9ae:43be:e5f5 with SMTP id q16-20020a17090676d000b009ae43bee5f5mr18677199ejn.4.1697030686453; Wed, 11 Oct 2023 06:24:46 -0700 (PDT) Received: from m1x-phil.lan (mdq11-h01-176-173-161-48.dsl.sta.abo.bbox.fr. [176.173.161.48]) by smtp.gmail.com with ESMTPSA id u25-20020a1709063b9900b0099bc2d1429csm9855908ejf.72.2023.10.11.06.24.45 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Wed, 11 Oct 2023 06:24:46 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-ppc@nongnu.org, BALATON Zoltan , Paolo Bonzini , Thomas Huth , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH 3/5] hw/ppc/ppc4xx_pci: Declare PPC4XX_PCI in Kconfig Date: Wed, 11 Oct 2023 15:24:25 +0200 Message-ID: <20231011132427.65001-4-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231011132427.65001-1-philmd@linaro.org> References: <20231011132427.65001-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::62f; envelope-from=philmd@linaro.org; helo=mail-ej1-x62f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org Signed-off-by: Philippe Mathieu-Daudé --- hw/pci-host/Kconfig | 4 ++++ hw/ppc/Kconfig | 2 +- hw/ppc/meson.build | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/hw/pci-host/Kconfig b/hw/pci-host/Kconfig index a07070eddf..a9030a433b 100644 --- a/hw/pci-host/Kconfig +++ b/hw/pci-host/Kconfig @@ -6,6 +6,10 @@ config XEN_IGD_PASSTHROUGH default y depends on XEN && PCI_I440FX +config PPC4XX_PCI + bool + select PCI + config RAVEN_PCI bool select PCI diff --git a/hw/ppc/Kconfig b/hw/ppc/Kconfig index 5dfbf47ef5..e4e76e87a2 100644 --- a/hw/ppc/Kconfig +++ b/hw/ppc/Kconfig @@ -53,7 +53,7 @@ config PPC440 config PPC4XX bool select BITBANG_I2C - select PCI + select PPC4XX_PCI select PPC_UIC config SAM460EX diff --git a/hw/ppc/meson.build b/hw/ppc/meson.build index 7c2c52434a..6931ba88b4 100644 --- a/hw/ppc/meson.build +++ b/hw/ppc/meson.build @@ -60,8 +60,8 @@ ppc_ss.add(when: 'CONFIG_PPC440', if_true: files( 'ppc440_pcix.c', 'ppc440_uc.c')) ppc_ss.add(when: 'CONFIG_PPC4XX', if_true: files( 'ppc4xx_devs.c', - 'ppc4xx_pci.c', 'ppc4xx_sdram.c')) +ppc_ss.add(when: 'CONFIG_PPC4XX_PCI', if_true: files('ppc4xx_pci.c')) ppc_ss.add(when: 'CONFIG_SAM460EX', if_true: files('sam460ex.c')) # PReP ppc_ss.add(when: 'CONFIG_PREP', if_true: files('prep.c'))