From nobody Sun Oct 5 01:45:09 2025 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; dkim=fail; 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=redhat.com Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1551730416057360.57055620264646; Mon, 4 Mar 2019 12:13:36 -0800 (PST) Received: from localhost ([127.0.0.1]:60379 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h0txr-0005by-W0 for importer@patchew.org; Mon, 04 Mar 2019 15:13:32 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46388) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h0sD7-0002UE-GV for qemu-devel@nongnu.org; Mon, 04 Mar 2019 13:21:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h0sD6-0005Ai-4L for qemu-devel@nongnu.org; Mon, 04 Mar 2019 13:21:09 -0500 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]:33022) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h0sD5-00050v-Ny for qemu-devel@nongnu.org; Mon, 04 Mar 2019 13:21:07 -0500 Received: by mail-wr1-x444.google.com with SMTP id i12so6644210wrw.0 for ; Mon, 04 Mar 2019 10:21:04 -0800 (PST) Received: from 640k.lan ([93.56.166.5]) by smtp.gmail.com with ESMTPSA id q5sm8371364wrn.43.2019.03.04.10.21.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 Mar 2019 10:21:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=lRWytvmXezRJFWGrdYcAD3Cz+nCCYBhlZ42inWCQv+Q=; b=CMtTOnv7FHFd4ol3RI9SnXw18CLVC7PO9suczyVKvSSBRG/dukJR7Uh3G+4cxOiFZ3 2S+W1i00mpUpuvopuegyYLCrAkaO910bijxgjO+bMxklKWIfIX1Tv0+EU/B844HnPmOX Xfu2KfbjTOEDbs014K86YqyMxPGAVg+nzh56frtlCrid5kaoFEXg1BiGZSda2eg3YaVt N99hd4jR84wIvuSTprktYt0T8S2fLEKSOf//iBZKNRmk+CmLji5cWv1o0kak2k0obl1Z /jmjHokY2pqBByt5lT7xgMaDV4LEzcSQGrUOwQqSpNTJD4ol3qrgyhSnIIPYTmByUBFQ SEIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=lRWytvmXezRJFWGrdYcAD3Cz+nCCYBhlZ42inWCQv+Q=; b=cDxWyl1PymyPYCpYEcRRF7dssz2LfpFyq8ws0B10mkcE3IR1Ccc/v55mnWy/9Dbzqa saYF6vqoq2EwgDx6QBxV9olCU1+fzwxBAWQza2jbS8npCghT+9Y8iiuH/zysPSQcI+/m K0fMwWqLIc2aCE5NYnh0xJ9c8kodlnRXU9w/cfBnvcKWchRlnFRfryYGCDbOXMJf43Tn V537CDWwS6S8Bpxt/haSLAg5cqIEVzWrDPzi6SNtfpAslIhTsnvQjZZ2tEmBrnl8ZnPX 7A4tfsEAnEMs7I2RJiB0ToN/wOb1KRtIgkb/iBPo/wyq37FiCaGZL33+6ugzP/MC7+3m BMgA== X-Gm-Message-State: APjAAAWzvOTiJhsxx8FX7UfRv7JJXv8fZrFLGtyci+vZG3HX/HxVwINA nFQEGFkbTDqgFQY5gvUG/WZlxfFg X-Google-Smtp-Source: APXvYqxnY53h5NiIYYlIczuOGGVMcikEqkT8C2fPYKPbzhph1AZ1cRYpXBArE2JXe+EuP53rqf9yGA== X-Received: by 2002:a5d:4711:: with SMTP id y17mr14352693wrq.141.1551723663071; Mon, 04 Mar 2019 10:21:03 -0800 (PST) From: Paolo Bonzini To: qemu-devel@nongnu.org Date: Mon, 4 Mar 2019 19:20:10 +0100 Message-Id: <1551723614-1823-51-git-send-email-pbonzini@redhat.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1551723614-1823-1-git-send-email-pbonzini@redhat.com> References: <1551723614-1823-1-git-send-email-pbonzini@redhat.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::444 Subject: [Qemu-devel] [PULL 50/54] sparc64-softmmu.mak: 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 , thuth@redhat.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" %-softmmu.mak only keep boards and optional device definitions in Kconfig mode. Signed-off-by: Paolo Bonzini --- default-configs/sparc64-softmmu.mak | 23 ++++++++--------------- hw/sparc64/Kconfig | 13 +++++++++++++ 2 files changed, 21 insertions(+), 15 deletions(-) diff --git a/default-configs/sparc64-softmmu.mak b/default-configs/sparc64-= softmmu.mak index 528af8f..e50030a 100644 --- a/default-configs/sparc64-softmmu.mak +++ b/default-configs/sparc64-softmmu.mak @@ -1,19 +1,12 @@ # Default configuration for sparc64-softmmu =20 -CONFIG_PCI=3Dy -CONFIG_PCI_DEVICES=3Dy -CONFIG_M48T59=3Dy -CONFIG_SERIAL=3Dy -CONFIG_SERIAL_ISA=3Dy -CONFIG_PARALLEL=3Dy -CONFIG_PCKBD=3Dy -CONFIG_FDC=3Dy -CONFIG_IDE_CMD646=3Dy -CONFIG_PCI_SABRE=3Dy -CONFIG_SIMBA=3Dy -CONFIG_SUNHME=3Dy -CONFIG_MC146818RTC=3Dy -CONFIG_TEST_DEVICES=3Dy -CONFIG_SUN4V_RTC=3Dy +# Uncomment the following lines to disable these optional devices: +# +#CONFIG_PCI_DEVICES=3Dn +#CONFIG_SUNHME=3Dn +#CONFIG_TEST_DEVICES=3Dn + +# Boards: +# CONFIG_SUN4U=3Dy CONFIG_NIAGARA=3Dy diff --git a/hw/sparc64/Kconfig b/hw/sparc64/Kconfig index 41f7295..4a8166e 100644 --- a/hw/sparc64/Kconfig +++ b/hw/sparc64/Kconfig @@ -1,6 +1,19 @@ config SUN4U bool + imply PCI_DEVICES + imply SUNHME + imply TEST_DEVICES + select M48T59 select ISA_BUS + select FDC + select SERIAL_ISA + select PCI_SABRE + select IDE_CMD646 + select PARALLEL + select PCKBD + select SIMBA =20 config NIAGARA bool + select EMPTY_SLOT + select SUN4V_RTC --=20 1.8.3.1