From patchwork Fri Aug 23 13:48:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Forissier X-Patchwork-Id: 821713 Delivered-To: patch@linaro.org Received: by 2002:adf:e044:0:b0:367:895a:4699 with SMTP id w4csp386708wrh; Fri, 23 Aug 2024 06:50:41 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUzm3CADYXnzqFhWBfhu2SMLZfXHGDkQT1pYh9qx7FrgZHMyoaeML09nk/3WuHSKqAD9EXMMQ==@linaro.org X-Google-Smtp-Source: AGHT+IHufP1Og3XjU58TUqO4MYwiy1AMSssmJEqltXnCWtYg1xnuAHwIGOdysH4Vmxc/VxdKAL8+ X-Received: by 2002:a05:600c:1d90:b0:425:7c95:75d0 with SMTP id 5b1f17b1804b1-42acc8e1258mr19139055e9.18.1724421041173; Fri, 23 Aug 2024 06:50:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1724421041; cv=none; d=google.com; s=arc-20240605; b=dYJH1d0hEpGgiUTe866s22x4GQnOfF7L3JIxxRLTQeGDmXK70Hn8Kvba9D8+ol/mEE 4G1IMjzg0aJ9830Z1dawyqPAvOoz1S3ZRUsEMP8jWFfuVobUKMUOsVKNHCE1P1kJ10wP SWtZ7+rbzaYht8baJpHJS+yvF0Jlx0P0TXhZ/7YGbDV6Pj2CAF5qu/YEhhcT8lJfh/em uNdyyFaftb1h70LabF8OxqdTctA5LYrqj6W2hq6M7VoICMGIl4EQ2tVhux8/vzAqkL2T JriRm88GZheea2Q/J3cGq7Aiaqn1v87+4HS6IkncTgYLsVCOngQs8/h0SwJytbBNijL7 H3yg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to: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:cc:to :from:dkim-signature; bh=JMKR9bGfM0t7gPRNHqzFhAKLlfcdWZvsACjtC+GS4O0=; fh=ekIOcMcp97lphPryExGJAXBOyJ+KiBgyCrC/n7edXts=; b=HD/osqHOeawIXKRa4Wm89j11SSITn96ZoELpPmPdZNKmmOj+eFKKBWQ7AP7q+PTFjB cDvVcDtEvqdAmxCY4QLJlse4p5WM1mJ944Vr0YA9yxepnDlIAYUz+kfySW0sATI2BUy3 Lf2ZOPZmuZE9LkAz8pgNk73nG836+mffdvtccLjmFzV4XJntX7xCA/2jqBoH5LR69gL2 gDUl4zV0RB4GqXgxPNItWYj8LFnkFd6/BloOpZIoKYXBKUE201/60ZjfyBf8tGAZHEHV kfzgtoD/zLMFwILSgObeX8gDfc6eoXF7WntMkE4AiV0oQ36eelWagOwdu88wij++upzb +Uqg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cW2w2u0j; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id 5b1f17b1804b1-42abefb92adsi29241745e9.122.2024.08.23.06.50.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Aug 2024 06:50:41 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cW2w2u0j; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 2959988A99; Fri, 23 Aug 2024 15:49:24 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="cW2w2u0j"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 683E6889ED; Fri, 23 Aug 2024 15:49:21 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) (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 707AC88A29 for ; Fri, 23 Aug 2024 15:49:19 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=jerome.forissier@linaro.org Received: by mail-wr1-x42a.google.com with SMTP id ffacd0b85a97d-3730749ee7aso1111114f8f.2 for ; Fri, 23 Aug 2024 06:49:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1724420959; x=1725025759; darn=lists.denx.de; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=JMKR9bGfM0t7gPRNHqzFhAKLlfcdWZvsACjtC+GS4O0=; b=cW2w2u0jof9XesCghFIF6gnMmNf/rPtGU4jfDoE9UiOwtd6Hp+wiiy8Jm9oINn47NN fPn7PIAALtHiTJIHoTHFIjSeXuZWk2IJ1xCBxFlWW6/Uw3l86hbz3cyMgFgmLfUNAhNA i+GhvwUSjckG7rp3FRAy7xMgIWfStEr9AnjFXu3y4DsjCf0d0IoTCC0zqE6FYKhxHkp+ Tm0seB4mFGjWzWznE9f4k/5ehKZq5qBzH1nVYVPyxXsWnaT/ti0vim0jpfdoN7nGlNbV RpGDHRE7Ih6RMKZpsIEGPeV2wlwAzaxVuHLJRQJncMDquOPionGMIyc9v4PgA2IEEpDA 3FOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724420959; x=1725025759; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=JMKR9bGfM0t7gPRNHqzFhAKLlfcdWZvsACjtC+GS4O0=; b=tMe98bzaB7WATdpC9u75xnI/GWllPMJCbC9KvRTpzFENYVBOaNpZio1i/UDSzAABdx WlaMkCeAvhGWlzxOByXybMnTWuQ7xDlV2byiPNM6KrNkayXdT+irEtV06xw6qFbZQMEU eecpRgev3byUBFQSl4EUhClUksQS+Ag3QMv9ZxE3+ZeQfpUUYNVwB5nAVShusdDJUDTK U9JMzz4H1l9dwcf/DwzBFyWAOReY5a4lq2O+YLXAGRKed4faX5muBRTmpX79lb30FlzU 9RdELrSlHSCk0Mg3Aeno4UTHawgK6u8RBwMfnSvV7dWirBF8PSOEe9lJcWUO4KacJDe9 +66A== X-Gm-Message-State: AOJu0YwSWCAXa/uLduw/UwF/fB8l+FuHR3c4cEGwQrUID6QinNq1Jyrk en4GJP5q/YRSopMJ2CBln1w2CMDafdt5hb6jmCo5jnPVtwP9GETydzYJ0oKCZA9OBKX8eG2zAvq hQ1aR408z X-Received: by 2002:a05:6000:e52:b0:367:9d05:cf2a with SMTP id ffacd0b85a97d-373118d2295mr1537431f8f.42.1724420958621; Fri, 23 Aug 2024 06:49:18 -0700 (PDT) Received: from builder.. ([2a01:e0a:3cb:7bb0:e668:dc94:35c7:8064]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-373081ffb40sm4201665f8f.76.2024.08.23.06.49.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Aug 2024 06:49:18 -0700 (PDT) From: Jerome Forissier To: u-boot@lists.denx.de Cc: Ilias Apalodimas , Javier Tia , Raymond Mao , Maxim Uvarov , Tim Harvey , Anton Antonov , Jerome Forissier , Joe Hershberger , Ramon Fried , Tom Rini , Yang Xiwen , Gabor Juhos , Jonas Karlman , Robert Marko , Boon Khai Ng Subject: [PATCH v9 08/37] net: ftgmac100: depend on NET Date: Fri, 23 Aug 2024 15:48:12 +0200 Message-Id: <48e475e43d3e10d1d59cf55a09066460db05b7aa.1724419624.git.jerome.forissier@linaro.org> X-Mailer: git-send-email 2.40.1 In-Reply-To: References: MIME-Version: 1.0 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.8 at phobos.denx.de X-Virus-Status: Clean FTGMAC100 enables drivers/net/ftgmac100.c which uses PHY_INTERFACE_MODE_NCSI, which is defined only when PHY_NCSI is enabled. Therefore FTGMAC100 depends on PHY_NCSI. However adding such a dependency causes a "recursive dependency detected!" message, so add a dependency on NET instead (PHY_NCSI depends on NET). All in all, either the stack is NET and FTGMAC100 can be enabled, or it is NET_LWIP (or NO_NET) and it cannot. Signed-off-by: Jerome Forissier --- drivers/net/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index 69ae7c07508..3382e533f42 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig @@ -461,6 +461,7 @@ config FTMAC100 config FTGMAC100 bool "Ftgmac100 Ethernet Support" select PHYLIB + depends on NET help This driver supports the Faraday's FTGMAC100 Gigabit SoC Ethernet controller that can be found on Aspeed SoCs (which