From patchwork Fri Aug 30 10:16:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Forissier X-Patchwork-Id: 823969 Delivered-To: patch@linaro.org Received: by 2002:a5d:48c1:0:b0:367:895a:4699 with SMTP id p1csp701129wrs; Fri, 30 Aug 2024 03:18:45 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWAdBau7C/j0VdESClRN6uMZGD9IZOkNC8Bvo4WxAojlJ7lH0ZGoeS462PsfbvLLGDaBtISVg==@linaro.org X-Google-Smtp-Source: AGHT+IF1LMvo5GjZ2E4XZc+Bc649DRi+2dGrgXMrbOgQtSEphIozBDL9Uu04F7r0yyL0RCnatRPv X-Received: by 2002:ac2:4c48:0:b0:52c:daa7:8975 with SMTP id 2adb3069b0e04-53546b05e2bmr1274517e87.18.1725013125451; Fri, 30 Aug 2024 03:18:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1725013125; cv=none; d=google.com; s=arc-20240605; b=KZ1skFilFZlnNYTYZ4+t4whcsq6Da3Oez+kxk6IHIOxY2KMX8vSfRLc4HhEUJ7LiRm j4aViuQ6BWYgaMGgpDXSJ+f4+eSCq2rRHso6+8KoFCSCmqqobDX1H2nIbWyzISxyMX+q lKjjiLc2ggM2XnCRsJ4rwLttW/8MOrko4xRFD77BW7UP9c0hQGVudWNFQjXgspXkxOXf gDbGBv4aBPEjKa1r/kR1c51Tn0ozQQqgGOd1cOZFw0LUV/nB5TJDH9Iu4yipQny6NC5l V5N8be3m8IQ4uEUk+B/f2Ji/6muy6qtLMIAKL85MeCJuVkqvt0TcQqxbV4h9fjcG06p4 q9Qw== 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=0PXek1QiSaTXGzLPU5w83EgSlCJRe9KxUW7m9xRW8TU=; fh=2bTnpxFKbuwh4yifGqJmYZD+qhJxJ5LAdXhObaN8uaA=; b=hGdS/C936d7KB4XVmkXrthAuQVvbfKK/bdWYhSeZKU0XKd70WaPtQ9CZtvmT07uyho hfFp9gmk08PhBsKAHxnTqhga46g2W5Ne1tHeHxdY6fhzETEEkfWdH9tmTVXOm53H98/o WBTw6rdguDtaTOtcp8v+Xyml8g+50unnH6vUxQfetRIMvQO6gsuuKCjOlnWgnMCqsjl4 We5khArLclew87HzWHMm45O9uhKElqY+UX6ppns5ntrMForofLY3xDwu5iIwfEGmtRC0 obuA43DJukTS0R9K54mT3AMRtJf36Lnwl+tcFVTRndhkAfYql5kPOja034d7Pl5+IQV8 E/AA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yoLgV9by; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 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. [85.214.62.61]) by mx.google.com with ESMTPS id a640c23a62f3a-a89891c54a7si281106366b.731.2024.08.30.03.18.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Aug 2024 03:18:45 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yoLgV9by; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 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 852ED88A5B; Fri, 30 Aug 2024 12:17:36 +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="yoLgV9by"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 4AD3C889E2; Fri, 30 Aug 2024 12:17:35 +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-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) (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 C1D5A88A5B for ; Fri, 30 Aug 2024 12:17:32 +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-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-42bbd0a40faso3156985e9.1 for ; Fri, 30 Aug 2024 03:17:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1725013052; x=1725617852; 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=0PXek1QiSaTXGzLPU5w83EgSlCJRe9KxUW7m9xRW8TU=; b=yoLgV9by+fz7o8S0gwpkDkhNzOcoSxflbvyc5jRpq1TJCwt77ai1V6fKJLZPbgMBN7 M4FWpH7C0K/orUuVBe0WhKsXXKTDiqDhYg0zK0Sfr4VT/yTLiTrH/KlQmgTLkZDoH3y/ ooAjMo1QYqN/dHnQQLyrOLBY/+ZxZ2GRrlzt0mNzPO0JNxi68oWj16BzvgulgKCV3sfW 3VOajXsjm0utr3lUEJ8Lib9t2LYuLyXZGPlVYddVAnlE8hg1R0Jb44hDjLO29W3EJPch dDMlT1ZohOsERdIzjx2+VfIvRwmdjWaSevbXV/AmuaVmfVhHTDEiaV3EVPkM3YezNz6c 9Y9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725013052; x=1725617852; 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=0PXek1QiSaTXGzLPU5w83EgSlCJRe9KxUW7m9xRW8TU=; b=lTGMictGhgnL8tBWG5dgmV1IyaKhqd58EDgbA/2Wnpsz8VKDcxLoTmVaiqhBNgEirl 5C9hl88x3LcfHh/x60Ogte8tQIvb6fiUKPGgUXh34NjG6U1ejNZhfcSrxhakllY9TbBd ZD78+1uAjPClmFw1GykqiPz/BC6GEPX70VkJt+uWy3M1ezT1Q8Xd+Va6vrdT8sietzm7 vIPVcyv1Z39zqUyNNZKkZdVh9b09PS034azoCbEga67/nIHKJcRXiLXzRxWgHip3JBUh VhjkLFRf0PaW+WGKUpM0vHm3YlEAOFlVXx2Nv3d9N1YXrvxP4UpdDxdh0dmq49Wn8rZZ u+Ow== X-Gm-Message-State: AOJu0YybH540ZtC071EFsg8h1GzJNpSuk6pHnq8JpJbxwOidA/2xcyC7 wsTlKV5lvaolhBvXzH84m6Ssq7jkGdE64v0cyHIIx+3NxLPPMXXQethsIx9q/e1WAS8HG18IAGD j/0eNUQ== X-Received: by 2002:a05:600c:3b8e:b0:42b:a9d7:93 with SMTP id 5b1f17b1804b1-42bb032c82cmr48383755e9.28.1725013052109; Fri, 30 Aug 2024 03:17:32 -0700 (PDT) Received: from builder.. ([2a01:e0a:3cb:7bb0:6417:8cf6:a7f7:ee38]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-374b6a3d27fsm472728f8f.59.2024.08.30.03.17.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Aug 2024 03:17:31 -0700 (PDT) From: Jerome Forissier To: u-boot@lists.denx.de Cc: Ilias Apalodimas , Peter Robinson , Jerome Forissier , Joe Hershberger , Ramon Fried , Tom Rini , Marek Vasut , Nicolas Frattaroli Subject: [PATCH v2 08/16] net: phy: ncsi: depend on NET Date: Fri, 30 Aug 2024 12:16:51 +0200 Message-Id: <280b503a9ddb304e0161bde467639f936f8efe94.1725012294.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 PHY_NCSI enables drivers/net/phy/ncsi.c which calls net_loop() and net_set_timeout_handler(). That's the legacy NET stack (as opposed to NET_LWIP). Therefore add the dependency to Kconfig. Signed-off-by: Jerome Forissier Reviewed-by: Peter Robinson Reviewed-by: Ilias Apalodimas --- drivers/net/phy/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/phy/Kconfig b/drivers/net/phy/Kconfig index 73064b2af6..a9efc50981 100644 --- a/drivers/net/phy/Kconfig +++ b/drivers/net/phy/Kconfig @@ -368,6 +368,7 @@ config PHY_FIXED config PHY_NCSI bool "NC-SI based PHY" + depends on NET endif #PHYLIB