From nobody Sat Sep 28 14:53:20 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=intel.com Return-Path: Received: from lists.gnu.org (209.51.188.17 [209.51.188.17]) by mx.zohomail.com with SMTPS id 15482283141861020.49279948223; Tue, 22 Jan 2019 23:25:14 -0800 (PST) Received: from localhost ([127.0.0.1]:57113 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gmCuF-0006yf-6d for importer@patchew.org; Wed, 23 Jan 2019 02:25:03 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60354) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gmCWl-0005NI-0L for qemu-devel@nongnu.org; Wed, 23 Jan 2019 02:00:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gmCWk-000441-5N for qemu-devel@nongnu.org; Wed, 23 Jan 2019 02:00:46 -0500 Received: from mga18.intel.com ([134.134.136.126]:36921) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gmCWj-0002NF-T1 for qemu-devel@nongnu.org; Wed, 23 Jan 2019 02:00:46 -0500 Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 22 Jan 2019 22:59:44 -0800 Received: from he.bj.intel.com ([10.238.157.85]) by orsmga001.jf.intel.com with ESMTP; 22 Jan 2019 22:59:42 -0800 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,510,1539673200"; d="scan'208";a="129981046" From: Yang Zhong To: qemu-devel@nongnu.org Date: Wed, 23 Jan 2019 14:56:12 +0800 Message-Id: <20190123065618.3520-39-yang.zhong@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190123065618.3520-1-yang.zhong@intel.com> References: <20190123065618.3520-1-yang.zhong@intel.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 134.134.136.126 Subject: [Qemu-devel] [RFC PATCH v4 38/44] ptimer: express dependencies with Kconfig X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: yang.zhong@intel.com, peter.maydell@linaro.org, thuth@redhat.com, ehabkost@redhat.com, pbonzini@redhat.com, sameo@linux.intel.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Paolo Bonzini Signed-off-by: Paolo Bonzini Signed-off-by: Yang Zhong Reviewed-by: Thomas Huth --- hw/Kconfig | 2 ++ hw/net/Kconfig | 2 ++ hw/timer/Kconfig | 6 ++++++ 3 files changed, 10 insertions(+) diff --git a/hw/Kconfig b/hw/Kconfig index 906143a816..0d836b527e 100644 --- a/hw/Kconfig +++ b/hw/Kconfig @@ -62,6 +62,8 @@ source xtensa/Kconfig # Symbols used by multiple targets config XILINX bool + select PTIMER # for hw/timer/xilinx_timer.c =20 config XILINX_AXI bool + select PTIMER # for hw/dma/xilinx_axidma.c diff --git a/hw/net/Kconfig b/hw/net/Kconfig index 82619327f9..a90c1c7084 100644 --- a/hw/net/Kconfig +++ b/hw/net/Kconfig @@ -45,6 +45,7 @@ config SMC91C111 =20 config LAN9118 bool + select PTIMER =20 config NE2000_ISA bool @@ -96,6 +97,7 @@ config VIRTIO_NET =20 config ETSEC bool + select PTIMER =20 config ROCKER bool diff --git a/hw/timer/Kconfig b/hw/timer/Kconfig index e1a6e7469b..a021c742de 100644 --- a/hw/timer/Kconfig +++ b/hw/timer/Kconfig @@ -1,8 +1,10 @@ config ARM_TIMER bool + select PTIMER =20 config ARM_MPTIMER bool + select PTIMER =20 config A9_GTIMER bool @@ -36,12 +38,14 @@ config XLNX_ZYNQMP =20 config ALTERA_TIMER bool + select PTIMER =20 config MC146818RTC bool =20 config ALLWINNER_A10_PIT bool + select PTIMER =20 config STM32F2XX_TIMER bool @@ -51,6 +55,8 @@ config SUN4V_RTC =20 config CMSDK_APB_TIMER bool + select PTIMER =20 config CMSDK_APB_DUALTIMER bool + select PTIMER --=20 2.17.1