From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.6 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id AE253C282DD for ; Wed, 8 Jan 2020 12:45:25 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7AB5C2067D for ; Wed, 8 Jan 2020 12:45:25 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="tE8L6qrC" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7AB5C2067D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:42956 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ipAiC-0004aj-5w for qemu-devel@archiver.kernel.org; Wed, 08 Jan 2020 07:45:24 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60412) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ipAWT-0003uL-V4 for qemu-devel@nongnu.org; Wed, 08 Jan 2020 07:33:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ipAWS-0004Ns-Hv for qemu-devel@nongnu.org; Wed, 08 Jan 2020 07:33:17 -0500 Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]:46973) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ipAWS-0004NJ-BS for qemu-devel@nongnu.org; Wed, 08 Jan 2020 07:33:16 -0500 Received: by mail-wr1-x42c.google.com with SMTP id z7so3124212wrl.13 for ; Wed, 08 Jan 2020 04:33:16 -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 :mime-version:content-transfer-encoding; bh=Qh4jWZJgN9CHYXZp74ZZsly2/NEoMB2jqVftu14Z+fE=; b=tE8L6qrChZzgiym0pYU+5CVN24I3GgKASNZKziCWOqQELRTuKc7GfuQ5tIKtm7H1St HhVjCPs6G9LkBOcTt9ySIU0CmMMMwRQZ1Cg1xc7PvLfmkG3evhQ9ovTv6yXcNrnXSZtD qF60re+tH0YGiIBFYw44tI4GWUQHGUUPlbxePJy7YE2VuJS6oHzmbUvIECI/XH+EbOFR ah7l44zuN0rWNEQgYz+aR95MPZ/4UNo4uDsyzQTmU4nYEtY+7eJ4tk+XJJgUASVK41iX j93i6fTDTulEyPY+/BNmOwBzjUMkJVpp/c2F2snaAeIIIKvUZXxHMY7Z8q2Ka2p+3MA/ wpkA== 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:mime-version:content-transfer-encoding; bh=Qh4jWZJgN9CHYXZp74ZZsly2/NEoMB2jqVftu14Z+fE=; b=jskZiKQCD9rAb+oOBoVaioUGBgwqSF0cc7g93Y0B8talY6aGiE0mCRLVsCI0se5AtZ 0VOAEcLmsnsqvrGIDD4JTKJsVyZ8EjkevI4k4j3W7ZrOGxWLw4ehn9BGUKlLOrIWDRbH 814n9+Ipw+FdbRq6ntshGqmP4QeKjkyO3NHkFyqKfImMwc55NgIvkuNaFRD7TOoz1EnU DLc+pgYP0HeJJASob7KN0ZoRidJqTN27vZjPhQS77bBji2MhNhpZtaE135hcDmkZt/f5 mNN0/W1vqrhCGpO2thFmMUSfrYcIQB5615D+okGRkXl7Wj4/gKz7KCvDxATs7hKK9evB cf4g== X-Gm-Message-State: APjAAAUxENEk21INMCxNsFBq9mIk2Ud7JcA3FdVXu8Apxj14SJuMUt5H Znf7jt/G2Hj0qhW9NqugS1tDkF4g X-Google-Smtp-Source: APXvYqxOTxAxFOfChmsvKZT7hZnt4cLU7CKfxqMP45qRpCpIH3zf+g/bFJrLsBPcSb/9Fcyehrkwag== X-Received: by 2002:a05:6000:50:: with SMTP id k16mr4250351wrx.145.1578486795102; Wed, 08 Jan 2020 04:33:15 -0800 (PST) Received: from 640k.lan ([93.56.166.5]) by smtp.gmail.com with ESMTPSA id o4sm4037750wrw.97.2020.01.08.04.33.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 08 Jan 2020 04:33:14 -0800 (PST) From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PULL 18/38] hw/nvram/Kconfig: Add an entry for the NMC93xx EEPROM Date: Wed, 8 Jan 2020 13:32:35 +0100 Message-Id: <1578486775-52247-19-git-send-email-pbonzini@redhat.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1578486775-52247-1-git-send-email-pbonzini@redhat.com> References: <1578486775-52247-1-git-send-email-pbonzini@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::42c X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" From: Philippe Mathieu-Daudé The NMC93xx EEPROM is only used by few NIC cards and the Am53C974 SCSI controller. Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20191231183216.6781-13-philmd@redhat.com> Signed-off-by: Paolo Bonzini --- hw/net/Kconfig | 2 ++ hw/nvram/Kconfig | 4 ++++ hw/nvram/Makefile.objs | 2 +- hw/scsi/Kconfig | 1 + 4 files changed, 8 insertions(+), 1 deletion(-) diff --git a/hw/net/Kconfig b/hw/net/Kconfig index 3856417..af6a11b 100644 --- a/hw/net/Kconfig +++ b/hw/net/Kconfig @@ -14,6 +14,7 @@ config EEPRO100_PCI bool default y if PCI_DEVICES depends on PCI + select NMC93XX_EEPROM config PCNET_PCI bool @@ -28,6 +29,7 @@ config TULIP bool default y if PCI_DEVICES depends on PCI + select NMC93XX_EEPROM config E1000_PCI bool diff --git a/hw/nvram/Kconfig b/hw/nvram/Kconfig index ebaa749..24b0ce6 100644 --- a/hw/nvram/Kconfig +++ b/hw/nvram/Kconfig @@ -7,3 +7,7 @@ config AT24C config MAC_NVRAM bool + +# NMC93XX uses the NS uWire interface (similar to SPI but less configurable) +config NMC93XX_EEPROM + bool diff --git a/hw/nvram/Makefile.objs b/hw/nvram/Makefile.objs index 26f7b4c..a4bdfbf 100644 --- a/hw/nvram/Makefile.objs +++ b/hw/nvram/Makefile.objs @@ -1,5 +1,5 @@ common-obj-$(CONFIG_DS1225Y) += ds1225y.o -common-obj-y += eeprom93xx.o +common-obj-$(CONFIG_NMC93XX_EEPROM) += eeprom93xx.o common-obj-$(CONFIG_AT24C) += eeprom_at24c.o common-obj-y += fw_cfg.o common-obj-y += chrp_nvram.o diff --git a/hw/scsi/Kconfig b/hw/scsi/Kconfig index b3ba540..77d397c 100644 --- a/hw/scsi/Kconfig +++ b/hw/scsi/Kconfig @@ -34,6 +34,7 @@ config ESP_PCI default y if PCI_DEVICES depends on PCI select ESP + select NMC93XX_EEPROM config SPAPR_VSCSI bool -- 1.8.3.1