From nobody Mon Feb 9 23:57:52 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1620923983; cv=none; d=zohomail.com; s=zohoarc; b=Z+qHHRhl6L3EOX8hwiACS1YZIU7wbsnRrUgUa3bGyZMYQb5osc2DUJuhDh4oIEZuapYUZO/i8y2+u+9t2wjmu+JbY7qd14E4Lsud/xz1B2C0E0ZCw0RJp458C6Vs8kW+hwwVmitRMpGAXqSRxVseuYatmZFmVozlHr180fB2T2s= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1620923983; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=9162a9gsiDm6q5lv1tLX3hofqR6ZQKlarxc+XT9y4us=; b=NEW9LdM0XnMy0sAFBexs3YF57OJuo0ivBEI4AR6j41/3o2JthAC9VR02VF/0FGpkz74WwOljWAeF7eVLsI6BzECQkFeaFkhA7enk9DzNxxqFXYVG2sgJph81BLuhijpem3fkSFsOxKBUHJj0ZPBrJxx5IR9u3uhEPn0aGt8BBcA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 1620923983054773.5364804758827; Thu, 13 May 2021 09:39:43 -0700 (PDT) Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-428-A03h0VGON2q-O8Vi4NGkMw-1; Thu, 13 May 2021 12:39:40 -0400 Received: by mail-ed1-f70.google.com with SMTP id i3-20020aa7dd030000b029038ce772ffe4so536117edv.12 for ; Thu, 13 May 2021 09:39:39 -0700 (PDT) Return-Path: Return-Path: Received: from x1w.redhat.com (31.red-83-51-215.dynamicip.rima-tde.net. [83.51.215.31]) by smtp.gmail.com with ESMTPSA id i6sm2713664eds.83.2021.05.13.09.39.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 May 2021 09:39:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1620923981; 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=9162a9gsiDm6q5lv1tLX3hofqR6ZQKlarxc+XT9y4us=; b=fVQDnjQ70ArC9PNqIIqFpPXf+2lRhZ8TUW1yuBySJHlIjN375yUqY2nGCoIMYZ31BOFmrd Id96KG23lQa5Q1RzLIteJHi+X2l80NP76wgN3x1MGyLEhl+2PamNIiPaF2FcPCz5QQS9G3 laDIyYnX6brw9WG1beHWQ7XlruHY/gI= X-MC-Unique: A03h0VGON2q-O8Vi4NGkMw-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=9162a9gsiDm6q5lv1tLX3hofqR6ZQKlarxc+XT9y4us=; b=gZp0TNNns6wI2iZdkGXxqSJdTQ5wzYtkmzbN0ZKhqQg5WSPWzzI5J+eu452oc0NknT 2wKOeopvGywAEUY/0nGv2WELiro6y5oG7FaWKj9id3hAN5V7ZN+CbYypsWEWo0FaZRIr /r80HyHjcn/oy5MBkIewuYImSGc0wjE/DG0ZMdFYJtcn+ZjhB4935jSfZerXOUYp1Jv2 /gpiSWSoCFwqdQf5UaePgwAqlyx9plpfOSfKRv67jdfeCDpHLzLuY+RmT+rYCp63lNOy xmcLUzwVBliAaZmFxzEOOz8KyNPMdutM3OaSoYVDqhgkH28+aNV13keUdp9jaRk9kHs9 gWbw== X-Gm-Message-State: AOAM5310U/V5Fqythk34Aa6c/li9V+lgMxQ+59LjIWxXWj7az/mtYg4L aYdT+3PDVelUPYm8hNycXV32dRGWAev9flkmJv6GtM0JXybo9gIMy2v2cM72QQr21kf5SFIiX5j TbtkRlDwx7hSuVQ== X-Received: by 2002:aa7:c510:: with SMTP id o16mr51117604edq.310.1620923978878; Thu, 13 May 2021 09:39:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyAzVgm8Qwn9FiXpF/yuznqTA1YfSKUmYrD/MywIqRiF1fT01onNfI3Q+vOESyc3JUACn3t3A== X-Received: by 2002:aa7:c510:: with SMTP id o16mr51117585edq.310.1620923978688; Thu, 13 May 2021 09:39:38 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Paolo Bonzini , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Amit Singh Tomar , Andrew Randrianasulu , David Gibson , Greg Kurz , qemu-ppc@nongnu.org (open list:PowerPC TCG CPUs) Subject: [PATCH 08/10] hw/ppc/Kconfig: Add missing dependency E500 -> DS1338 RTC Date: Thu, 13 May 2021 18:38:56 +0200 Message-Id: <20210513163858.3928976-9-philmd@redhat.com> X-Mailer: git-send-email 2.26.3 In-Reply-To: <20210513163858.3928976-1-philmd@redhat.com> References: <20210513163858.3928976-1-philmd@redhat.com> MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=philmd@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Commit 7abb479c7ab ("PPC: E500: Add FSL I2C controller and integrate RTC with it") added a global dependency on the DS1338 model, instead of a machine one (via Kconfig). This gives trouble when building standalone machines not exposing I2C bus: The following clauses were found for DS1338 CONFIG_DS1338=3Dy config DS1338 depends on I2C Fix by selecting the DS1338 symbol in the single machine requiring it, the E500. Fixes: 7abb479c7ab ("PPC: E500: Add FSL I2C controller and integrate RTC wi= th it") Signed-off-by: Philippe Mathieu-Daud=C3=A9 Acked-by: David Gibson Reviewed-by: Bin Meng --- Cc: Amit Singh Tomar Cc: Andrew Randrianasulu --- default-configs/devices/ppc-softmmu.mak | 1 - hw/ppc/Kconfig | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/default-configs/devices/ppc-softmmu.mak b/default-configs/devi= ces/ppc-softmmu.mak index c2d41198cde..5a7f99d1e45 100644 --- a/default-configs/devices/ppc-softmmu.mak +++ b/default-configs/devices/ppc-softmmu.mak @@ -1,7 +1,6 @@ # Default configuration for ppc-softmmu =20 # For embedded PPCs: -CONFIG_DS1338=3Dy CONFIG_E500=3Dy CONFIG_PPC405=3Dy CONFIG_PPC440=3Dy diff --git a/hw/ppc/Kconfig b/hw/ppc/Kconfig index 66e0b15d9ef..2e4c56eb770 100644 --- a/hw/ppc/Kconfig +++ b/hw/ppc/Kconfig @@ -128,6 +128,7 @@ config E500 select SERIAL select MPC_I2C select FDT_PPC + select DS1338 =20 config VIRTEX bool --=20 2.26.3