Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8CE9EC43334 for ; Wed, 8 Jun 2022 12:24:52 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 71A9684343; Wed, 8 Jun 2022 14:24:49 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="N4grWMCE"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B0ECF84337; Wed, 8 Jun 2022 14:24:46 +0200 (CEST) Received: from mail-qt1-x832.google.com (mail-qt1-x832.google.com [IPv6:2607:f8b0:4864:20::832]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 56AA084314 for ; Wed, 8 Jun 2022 14:24:43 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qt1-x832.google.com with SMTP id x18so11866334qtj.3 for ; Wed, 08 Jun 2022 05:24:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=rFVz/BZqjfD243OnrhciKbpdAaTBHFk39b3z73yfMJI=; b=N4grWMCEwLbclAgjqeH1YEY5obrQJ48PlzYspRk4Y66ctNM2eo4fVsB3RwMDJY9lMJ 13cNK9KLTJF7ZYEWuRDZCMSBSxlIUmq5hmEfKMEfLfhx9/NhEFRyfi4eWPtjm8rq71oH J8qhfgjKJ8JyYgz5ckjyYl8L4acDNl5EQ/eYw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=rFVz/BZqjfD243OnrhciKbpdAaTBHFk39b3z73yfMJI=; b=pVNzTBGmcFIjc5JmMe0BWTw5XW40Hh3ej/CGRzyddca5CAZPM9Tm459Ip1OMDvFsMJ cxcG7dVeBfZWbbdzD7UZ5zKPxxIZnUsqWrKmL4knzCdA/R69CZHuWzq3Ikyye5d+gRE3 G6C1JkXhBhMSBpWP0kjg5IZU1OdBBCIWsv42M8vWTlTaM7JWTipaOfPyX39/a8ZSvKLx i6Lz42npdfiU0jKAykCWvLrYfUsaoVQ1jAV54wtdb/ooOCh6nwi0GlXViEIoU4YPY0jN UZ21fjzYA8fS7aOYKw0s2o5/V1AJhxN/Kbzq+oERn1QsIrDQOm+cJ97o94UEm6C2iUEH z6FA== X-Gm-Message-State: AOAM532MdPu8Ls2l9nWghzPD+jFrYx31eu5ODYw+ZgekDgUkAdg6GEFH Dr+If3RvnkNZoFruIC2I+lqXMKP4Vph9Ow== X-Google-Smtp-Source: ABdhPJw2niVS9jp/E6lNM+WipO3Ll4So3f7bAjwc1TZAaSaoNWbv1Lx5z1wll0HuUL2fHBVZENKujw== X-Received: by 2002:a05:622a:20e:b0:304:fde3:67a6 with SMTP id b14-20020a05622a020e00b00304fde367a6mr5249461qtx.294.1654691081760; Wed, 08 Jun 2022 05:24:41 -0700 (PDT) Received: from bill-the-cat.lan (cpe-65-184-195-139.ec.res.rr.com. [65.184.195.139]) by smtp.gmail.com with ESMTPSA id r14-20020ac87eee000000b00304ee3372dfsm5242572qtc.45.2022.06.08.05.24.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jun 2022 05:24:41 -0700 (PDT) From: Tom Rini To: u-boot@lists.denx.de Subject: [PATCH 01/18] Convert CONFIG_E1000_NO_NVM to Kconfig Date: Wed, 8 Jun 2022 08:24:23 -0400 Message-Id: <20220608122440.4114272-1-trini@konsulko.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean This converts the following to Kconfig: CONFIG_E1000_NO_NVM Signed-off-by: Tom Rini --- configs/apalis-tk1_defconfig | 1 + configs/apalis_t30_defconfig | 1 + drivers/net/Kconfig | 4 ++++ include/configs/apalis-tk1.h | 3 --- include/configs/apalis_t30.h | 3 --- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/configs/apalis-tk1_defconfig b/configs/apalis-tk1_defconfig index 2d9c0ae18e37..0915bca64214 100644 --- a/configs/apalis-tk1_defconfig +++ b/configs/apalis-tk1_defconfig @@ -58,6 +58,7 @@ CONFIG_SYS_I2C_TEGRA=y CONFIG_SUPPORT_EMMC_BOOT=y CONFIG_TEGRA124_MMC_DISABLE_EXT_LOOPBACK=y CONFIG_E1000=y +CONFIG_E1000_NO_NVM=y CONFIG_PCI=y CONFIG_PCI_TEGRA=y CONFIG_DM_PMIC=y diff --git a/configs/apalis_t30_defconfig b/configs/apalis_t30_defconfig index 2a8d3c6e0a35..f5d958646fa7 100644 --- a/configs/apalis_t30_defconfig +++ b/configs/apalis_t30_defconfig @@ -50,6 +50,7 @@ CONFIG_TFTP_TSIZE=y CONFIG_SPL_DM=y CONFIG_SYS_I2C_TEGRA=y CONFIG_E1000=y +CONFIG_E1000_NO_NVM=y CONFIG_PCI=y CONFIG_PCI_TEGRA=y CONFIG_SYS_NS16550=y diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index 84d859c21eb8..56f9416a48db 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig @@ -239,6 +239,10 @@ config E1000 +config E1000_NO_NVM + bool "Intel PRO/1000 has no NVMEM / EEPROM" + depends on E1000 + config E1000_SPI_GENERIC bool "Allow access to the Intel 8257x SPI bus" depends on E1000 diff --git a/include/configs/apalis-tk1.h b/include/configs/apalis-tk1.h index 19e6a1e04eeb..a362282a291e 100644 --- a/include/configs/apalis-tk1.h +++ b/include/configs/apalis-tk1.h @@ -22,9 +22,6 @@ /* PCI host support */ #undef CONFIG_PCI_SCAN_SHOW -/* PCI networking support */ -#define CONFIG_E1000_NO_NVM - /* * Custom Distro Boot configuration: * 1. 8bit SD port (MMC1) diff --git a/include/configs/apalis_t30.h b/include/configs/apalis_t30.h index 104c4135e284..84bd88f835ae 100644 --- a/include/configs/apalis_t30.h +++ b/include/configs/apalis_t30.h @@ -23,9 +23,6 @@ #define CONFIG_TEGRA_ENABLE_UARTA #define CONFIG_SYS_NS16550_COM1 NV_PA_APB_UARTA_BASE -/* PCI networking support */ -#define CONFIG_E1000_NO_NVM - #define UBOOT_UPDATE \ "uboot_hwpart=1\0" \ "uboot_blk=0\0" \ -- 2.25.1