From patchwork Mon Feb 28 11:26:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Markus Armbruster X-Patchwork-Id: 546683 Delivered-To: patch@linaro.org Received: by 2002:ac0:9f50:0:0:0:0:0 with SMTP id l16csp2646774imf; Mon, 28 Feb 2022 03:28:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJykh3g4nrzd484I//hpfTQRYeccvLQIIlfzPqPPQtN31IJyWtHDw7WMhGtSmriiOpxmNQU0 X-Received: by 2002:a05:6902:921:b0:622:1c87:819c with SMTP id bu33-20020a056902092100b006221c87819cmr17617646ybb.202.1646047738005; Mon, 28 Feb 2022 03:28:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646047738; cv=none; d=google.com; s=arc-20160816; b=n4goVMSt5V3hOjU2IChMUalx78GcZ7/zrSNCfDAdP7Yt23jPxPMoc5L6vlx7OVk/oc PS5ggms4rN+76NfSNzmfHCMFs7avulIsGUtkt+NNLY6oRXBhH7wh1vS+3Lp3IT11Jgne 9zX7gQTxejAgaY6U43SaAT3wbttzwXE0skrecwZ8H2Q9EIh8gD3CUcx7Y9CTqdSM8xF/ MUPwW6+RBT8rL0uBqVeVHTy5LHM6Wj5wAdfX1wLHg52eZ8AxzfU9wJq/pvpj148Vb37r Zs3pMjUn3e/H+kOc3yOEPNKT61kNAdfBiBLYZYDw8juHo9gEiFozSYSebydHXCd51spg qQ0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc: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=u+KdPj4nunu7sAqKxdo+/X7MP94GLUYj9/RHqP/oWvw=; b=hu4DklqhXbKCCXwA2TKCdDmkWhlIU4sf+pTrj5iyX1buzO3RKKtLQQQv34Mo6CZmeb aRtUQFFnHYGv4QXGVH5KhCM+DKJz2iUIZA+mQPk20NA5nBthtxt/JP4eB6GY8EWAX0Ld WP8c2G2PNq9Dtza5SWcsIqUt7LVpAXBy/lRl0x7au7wRfZaY4hrfQu1ydM0JmvXt2yFO MTJyuZLKLwVmQxcCJBVz73p0sfwQ/9YlBrJ27FrAIKJUY28EtJS29qrrHyx/KLYiWKZs wXTVkG2Dufqp8ibEjC56lxNH+L6LM7CjnNBX0At1qa+bTXEcR6u4o/kvRhb16uiFv2in v81A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=SBVOpq80; 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=redhat.com Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id p79-20020a254252000000b0061d6fe4c167si6920170yba.330.2022.02.28.03.28.57 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 28 Feb 2022 03:28:57 -0800 (PST) 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=@redhat.com header.s=mimecast20190719 header.b=SBVOpq80; 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=redhat.com Received: from localhost ([::1]:39672 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nOeD3-00048x-H7 for patch@linaro.org; Mon, 28 Feb 2022 06:28:57 -0500 Received: from eggs.gnu.org ([209.51.188.92]:54810) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nOeAc-000469-B6 for qemu-devel@nongnu.org; Mon, 28 Feb 2022 06:26:27 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:58185) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nOeAX-00077k-M9 for qemu-devel@nongnu.org; Mon, 28 Feb 2022 06:26:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1646047579; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=u+KdPj4nunu7sAqKxdo+/X7MP94GLUYj9/RHqP/oWvw=; b=SBVOpq80KYjaOyntXTljaQ2LU8ezV7HpczZOnHyB6gKi1MWV02+KA8lf6kooRsEWV+DQuL 7wiqCL1QCDo/FAoXlkV+EcF1HwPpLsC17suxlFBMqG7JXGGziAiCt8LxKC1KrwabwEv3j2 uRO9ub7tkcXHEsdWNeaAjtYCO66S5ME= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-562-vjC3JttvOay1oGa6B31YMg-1; Mon, 28 Feb 2022 06:26:18 -0500 X-MC-Unique: vjC3JttvOay1oGa6B31YMg-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 2675F824FA7; Mon, 28 Feb 2022 11:26:17 +0000 (UTC) Received: from blackfin.pond.sub.org (unknown [10.36.112.3]) by smtp.corp.redhat.com (Postfix) with ESMTPS id D04DD2B3DC; Mon, 28 Feb 2022 11:26:16 +0000 (UTC) Received: by blackfin.pond.sub.org (Postfix, from userid 1000) id D36FC21E691F; Mon, 28 Feb 2022 12:26:13 +0100 (CET) From: Markus Armbruster To: qemu-devel@nongnu.org Subject: [PULL 7/9] hw/rtc: Compile pl031 once-only Date: Mon, 28 Feb 2022 12:26:11 +0100 Message-Id: <20220228112613.520040-8-armbru@redhat.com> In-Reply-To: <20220228112613.520040-1-armbru@redhat.com> References: <20220228112613.520040-1-armbru@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=armbru@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Received-SPF: pass client-ip=170.10.133.124; envelope-from=armbru@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -28 X-Spam_score: -2.9 X-Spam_bar: -- X-Spam_report: (-2.9 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.082, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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: , Cc: peter.maydell@linaro.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Peter Maydell Now that the RTC_CHANGE event is no longer target-specific, we can move the pl031 back to a compile-once source file rather than a compile-per-target one. Signed-off-by: Peter Maydell Message-Id: <20220221192123.749970-4-peter.maydell@linaro.org> Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Markus Armbruster --- hw/rtc/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/rtc/meson.build b/hw/rtc/meson.build index 8fd8d8f9a7..7cecdee5dd 100644 --- a/hw/rtc/meson.build +++ b/hw/rtc/meson.build @@ -2,7 +2,7 @@ softmmu_ss.add(when: 'CONFIG_DS1338', if_true: files('ds1338.c')) softmmu_ss.add(when: 'CONFIG_M41T80', if_true: files('m41t80.c')) softmmu_ss.add(when: 'CONFIG_M48T59', if_true: files('m48t59.c')) -specific_ss.add(when: 'CONFIG_PL031', if_true: files('pl031.c')) +softmmu_ss.add(when: 'CONFIG_PL031', if_true: files('pl031.c')) softmmu_ss.add(when: 'CONFIG_TWL92230', if_true: files('twl92230.c')) softmmu_ss.add(when: ['CONFIG_ISA_BUS', 'CONFIG_M48T59'], if_true: files('m48t59-isa.c')) softmmu_ss.add(when: 'CONFIG_XLNX_ZYNQMP', if_true: files('xlnx-zynqmp-rtc.c'))