From patchwork Tue Oct 1 16:38:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 831896 Delivered-To: patch@linaro.org Received: by 2002:a5d:43d2:0:b0:367:895a:4699 with SMTP id v18csp384241wrr; Tue, 1 Oct 2024 09:42:35 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVU1//4ZngAS8/QXVymvqBRL7q5XrWJDpNkAwke2vOSFwSJE1rly/n2wLh6GCLcwZcta5plXg==@linaro.org X-Google-Smtp-Source: AGHT+IGRTfUbc8Rw3rDegbYfx6Y/gPNaG7UiME0R52paubiett23MgKZ/6KASqB8C7TD2nAOmHTi X-Received: by 2002:a05:622a:13d3:b0:458:4129:1135 with SMTP id d75a77b69052e-45d804a82cfmr2759891cf.9.1727800955756; Tue, 01 Oct 2024 09:42:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1727800955; cv=none; d=google.com; s=arc-20240605; b=IGRVNUODtV+XKLLfDEYRuNg2bNfNd20taRTKvey7vMdPFNRCK0LGANP7st5OqvHx/v l8mZt/MH7nucWytvy9Mekoe5fDA2UyKy92y2yAD1+gFOX5ZduaVAnovZTZGgQw136y8z owe7QAENZBgDWcZui/pMO+6YpQzufCl+ixTEIklYZ33I53Iivz5Z6Qrf+oBVyYnUhiDO pfaBiQdPIFl45j/QffI+mEPYlGd2BthzKICxkerFSiAdqSih+uDKt0eW4F6cNgdRy3gC btL2bn1Q4UQ4Fm2n4sanBTvxUuJJgT+KEqs3ISxhK2PhhHs+BP95CK/olxXpBzxuE3f6 jqzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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:to:from :dkim-signature; bh=UWAHt89Llm0J4lLGHqjfGDFPlwsKF+8ZikfEYfZxuJ8=; fh=PnYt+qEB9tAfMKoqBm2xjKOFpYyFFGPudh5cVIoieJM=; b=Y/YZ8JoINXfD//9MUrCkvTRjggxVdMeN6ah96FUkFmj9rNZmxhEuVOiRKp916VwSfB dzekbFwI6LfYGV5iEI26KSmaSVdzXWD2ddMXcQdddCr8SPI/a/CbVsIk2CedpFPTQFjC sMArbHLELILuVmoZyblOAOp9afYLQG4i1PlXrYK8eGRPlztdDaruXjDhoX1np9eR1a/f Oepgy8Fm7bqdL13+YQ0IPbmwQF/7YFYBMgi9hUJlqBJDWs6i8QnmRSwfaBAKbrDvByYP OLDTubV1fb5FLwmPuqmTUjeT8sVtzkqXdzz/WJpowPXnq28XaSuJ8o+qRn/40eCkr5l7 W8Hg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=pKz3O3yb; 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; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id d75a77b69052e-45c9f328fb1si109719121cf.329.2024.10.01.09.42.35 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 01 Oct 2024 09:42:35 -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=pKz3O3yb; 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; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1svfuS-0005O3-Hg; Tue, 01 Oct 2024 12:39:36 -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 1svfuP-0005Lv-7S for qemu-devel@nongnu.org; Tue, 01 Oct 2024 12:39:33 -0400 Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1svfuM-00062V-IB for qemu-devel@nongnu.org; Tue, 01 Oct 2024 12:39:32 -0400 Received: by mail-wr1-x42c.google.com with SMTP id ffacd0b85a97d-37cfa129074so329719f8f.1 for ; Tue, 01 Oct 2024 09:39:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1727800769; x=1728405569; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=UWAHt89Llm0J4lLGHqjfGDFPlwsKF+8ZikfEYfZxuJ8=; b=pKz3O3ybKoTjFgdV293ZBP6j6Ocn/dkWUIVIFmELNYQr5CePrzg9kduxDE3mFsAaZ0 yOXOIL6Zfa+girR4tP+e+Y3pMvlnjG27/aK2z/bYiLu8OfWNGK5JepnvzWzHm1H5Hoav lmES5AE0kQhXuldLwX9r5V1G1/s0df5Vy9HbStEotnv5tfiAdM9B+D/BGnPl/xbcq8yy 7bmG7TGyxlEX0nviF4y4Zgu2QmtMPa+M/Fo2FPWMNEEOxL5+8uC7VmWwwXy8s9vFlJJ5 J32qkEWAeYVIx/uxJlAeI6YN6vYxzwROmlawNmZ+oEnqUvEp8Rwm28VTkETb80XSMGgO PNAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727800769; x=1728405569; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=UWAHt89Llm0J4lLGHqjfGDFPlwsKF+8ZikfEYfZxuJ8=; b=hQjHvPC1cg1UWYr9V9ixBYtbI/icZw2DGnOshYFb8ciAAxs4Tn3uDFC5vTwjX8N29F 0Mq5Q42bBiD9I97aKRwXrbYu8nQscD6kTP4iX1OcOLJukYCn+mSEPi4u3qLaURmLCoph IIpxZVYfkzAgAGtDAR7lmubxQKsl2ukoeaApp7FFkqgpEQp/Z/Xo6Ik0kETv2lNMDmjl QB6JrTeW/PrehoCNpGqlpPR3Ks1O2VCnvbudy2xYWh/R61FwwUV/tjxdguCxZgLOpJN6 qJzp5FX/UzuP/8cebeSXU3Mu8JEmfZJ76O9J6BIeREUfed5l29ac/OeAXsWjUFRNdP+E 1MIg== X-Gm-Message-State: AOJu0YxmICyx13wyzP8PzLdwl37+xvX7aIW8cd0BoKM1KyA9lfMGLpPx VHq3iRbMHbxMSv32q0THwEuBVOpmAu58dJ4P8riMg28flVfJugPhMshGbZkAf3iYp21+EyrVDkQ o X-Received: by 2002:a5d:5f4e:0:b0:374:c4c2:fc23 with SMTP id ffacd0b85a97d-37cfba182d9mr146538f8f.56.1727800768990; Tue, 01 Oct 2024 09:39:28 -0700 (PDT) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [2001:8b0:1d0::2]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-37cd56e6547sm12243771f8f.58.2024.10.01.09.39.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Oct 2024 09:39:28 -0700 (PDT) From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL 17/54] hw/arm: Remove STRONGARM->PXA2XX dependency Date: Tue, 1 Oct 2024 17:38:41 +0100 Message-Id: <20241001163918.1275441-18-peter.maydell@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241001163918.1275441-1-peter.maydell@linaro.org> References: <20241001163918.1275441-1-peter.maydell@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42c; envelope-from=peter.maydell@linaro.org; helo=mail-wr1-x42c.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=ham 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 Currently the STRONGARM KConfig symbol pulls in PXA2XX. Since we've now removed all the true uses of PXA2XX, we'd like to remove the PXA2XX symbol too. To permit that, make STRONGARM directly select the things it truly depends on: * pxa25x-timer * SSI Signed-off-by: Peter Maydell Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé Message-id: 20240903160751.4100218-14-peter.maydell@linaro.org --- hw/arm/Kconfig | 4 +++- hw/timer/Kconfig | 3 +++ hw/timer/meson.build | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/hw/arm/Kconfig b/hw/arm/Kconfig index c2452bd7b91..8f6cbf94855 100644 --- a/hw/arm/Kconfig +++ b/hw/arm/Kconfig @@ -175,6 +175,7 @@ config PXA2XX select SSI select USB_OHCI_SYSBUS select PCMCIA + select PXA2XX_TIMER config REALVIEW bool @@ -261,7 +262,8 @@ config STM32VLDISCOVERY config STRONGARM bool - select PXA2XX + select PXA2XX_TIMER + select SSI config COLLIE bool diff --git a/hw/timer/Kconfig b/hw/timer/Kconfig index 61fbb62b65c..c96fd5d97ae 100644 --- a/hw/timer/Kconfig +++ b/hw/timer/Kconfig @@ -21,6 +21,9 @@ config ALLWINNER_A10_PIT bool select PTIMER +config PXA2XX_TIMER + bool + config SIFIVE_PWM bool diff --git a/hw/timer/meson.build b/hw/timer/meson.build index 5b6c8b4be9e..c1113eb90b1 100644 --- a/hw/timer/meson.build +++ b/hw/timer/meson.build @@ -23,7 +23,7 @@ system_ss.add(when: 'CONFIG_NPCM7XX', if_true: files('npcm7xx_timer.c')) system_ss.add(when: 'CONFIG_NRF51_SOC', if_true: files('nrf51_timer.c')) system_ss.add(when: 'CONFIG_OMAP', if_true: files('omap_gptimer.c')) system_ss.add(when: 'CONFIG_OMAP', if_true: files('omap_synctimer.c')) -system_ss.add(when: 'CONFIG_PXA2XX', if_true: files('pxa2xx_timer.c')) +system_ss.add(when: 'CONFIG_PXA2XX_TIMER', if_true: files('pxa2xx_timer.c')) system_ss.add(when: 'CONFIG_RASPI', if_true: files('bcm2835_systmr.c')) system_ss.add(when: 'CONFIG_SH_TIMER', if_true: files('sh_timer.c')) system_ss.add(when: 'CONFIG_SLAVIO', if_true: files('slavio_timer.c'))