From patchwork Wed Sep 11 09:58:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Forissier X-Patchwork-Id: 827379 Delivered-To: patch@linaro.org Received: by 2002:adf:ab1c:0:b0:367:895a:4699 with SMTP id q28csp710539wrc; Wed, 11 Sep 2024 03:00:14 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVD9BECURkughw/O/oCK6PhNHzLNQPwAnUKe+SAaZPKebKmC8bGQlbKP0VXW32HWtW9dkKsGg==@linaro.org X-Google-Smtp-Source: AGHT+IFWP8p9bjJYUp3zHbE83U0oLw/wxorOZ5M+iQXnys+vg7xuiofNdu82D9MJhLYyInND4wNV X-Received: by 2002:a5d:453c:0:b0:377:4aa2:3af8 with SMTP id ffacd0b85a97d-3789229d8ffmr11745034f8f.13.1726048813724; Wed, 11 Sep 2024 03:00:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1726048813; cv=none; d=google.com; s=arc-20240605; b=Qgz1WBgnICfAUqZ0oM3kPD1YB1xKtp8segGd3IPFLsimb8WIvCzB4FS78tufkkaXy8 XVtfyl6/I9HVB9QTghe4wcIrr7qHZ9Vr0BkEOUZRc0WxEhMpRJVcaVV+q2r9dxAyHcL8 m/21q9QLYWH7BxlJfejjy7mOYPXTLPvUHdq1naJzXQN8+KAWkshSob4hWE9ebzYtwP97 biUce2Fh+TuSVvVlDFF/Co0AjuTqq5ONVp6qKAY3pplpYa9fY4P6yTlNzzItZjQ8xKet aRwpEv8xVsDwGzwOFUgJ8zHkT0ygfXeiV1rptwb1/rP3rOSaov022xZpIqAp8aMBsYe2 GprQ== 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=8i3lBROvhfrY82vIccP41xA0yhZbBOfEI92vYpX/wGs=; fh=wqlC5ZCksxtIKhW3Qt4fOjT33qsCBGebXnH5MgM1b78=; b=kdTTVJTE/r6waqHoDJUyWmmTzZwTo5x+MjuS9zgYgZFhUDPS3RCFkTWrOPtJwavoL3 XhO8OvS+kJCwTbzRWnH0rKoPKNzJbjJgFPoIsxJmgf50qr99ZefY6kiXdyr+tVGNMVmY GPUx/9PafK73ZAIB34j4deG0FdZCEbiZIkS/gEOsFb9eJinpW58R6d+SZfVIHvhJdbMm gZYu1c3N4RObEpiB0AhK7g5Kig5oJfH1fnPlkYADScQxlqppOpL9thQMgrbLdJ3JDohA lcvYi0C1fUIyBea2epJnsOTtPMbFkbDjaTG9yY7bd+HO5mAt7ZPSyNM32dzUKusaPUr5 LgGw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hCeTzT43; 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 ffacd0b85a97d-37895627719si4088282f8f.265.2024.09.11.03.00.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Sep 2024 03:00:13 -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=hCeTzT43; 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 93A498926C; Wed, 11 Sep 2024 11:58:59 +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="hCeTzT43"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3631389256; Wed, 11 Sep 2024 11:58:57 +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 autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) (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 533F18923B for ; Wed, 11 Sep 2024 11:58:55 +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-x32f.google.com with SMTP id 5b1f17b1804b1-42cb6f3a5bcso40871005e9.2 for ; Wed, 11 Sep 2024 02:58:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1726048734; x=1726653534; 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=8i3lBROvhfrY82vIccP41xA0yhZbBOfEI92vYpX/wGs=; b=hCeTzT43HA+a1PfRqaqdJAj/J6kf7PpPHDEM36wMMvTh3lBPLq/SQnL2R2b0dYo5bF OGsxi7yEEXrxlDuUgsOfTiqlNKE5xIVif3YSI5yh9eokcmqoOevl6VmYnQTGIyI+hWFG OqKsTYWn3D6RV71D4XXZAv27jMttDkST/o+nIX15+s3eb4a5pMc/H78zsIeaA99pc/5j rv6zmCELZcjZHwGi9oF80eHsIX/gP66K2DSvZa9cOWczaBqiLSqtAIkmoHrQGerWdOjS Vab+qJ8igYdlJLjm7xTnpVplVC+9zVR8HHRso1sY0doushBDmUhnlsi77gMQLOXC5dvR UlnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726048734; x=1726653534; 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=8i3lBROvhfrY82vIccP41xA0yhZbBOfEI92vYpX/wGs=; b=gIFtcNtjGK6PD2bADb+D2Pun0qUhKEoB8EJ5fSrVVnIfTw5+oZ0hAfFQMQ7NN3L0nf LPs2n1if8hZ5tJbU7haNDW0jVIwMvkakp5cZCCzJwErH5jZ6CAeM6hOnxof3eUU169NN a0uUaNt637fIE7ADyuLpXb9O7SVdFQBWgUEFAxIEglJ7E4jkSVHMZkkdI7oBsmQqBXse yrCIxD42MszROUs+2gsLTWlBSNoia9v2tNNs+lvyvhzm9oAeqDKNTFYeOKmjJD/9r0pi zmjsRpJeUrdJprJgO2A+qNjNFjdLj6ilHNJHn3dQp9uWK3gWT7r/5B9hwMfy4sf6T1FP iYQw== X-Gm-Message-State: AOJu0Yw+/h8qxW8KcdiaV+JW5XRgAPBOHPEGvE5gAxB8HgFpkGfz63sQ 9VP5CZMTflAhu3aBANBx8nJOxORpQgPlmdUffHmHEx5KhfpEbnbgwQgIb0RFwnwIp9nQ0bMeia2 ahePL+g== X-Received: by 2002:a05:600c:548e:b0:42c:c401:6d6f with SMTP id 5b1f17b1804b1-42cc4017032mr48157255e9.16.1726048734541; Wed, 11 Sep 2024 02:58:54 -0700 (PDT) Received: from builder.. ([2a01:e0a:3cb:7bb0:7d92:535d:cd3d:335b]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-37895649bafsm11300507f8f.7.2024.09.11.02.58.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Sep 2024 02:58:54 -0700 (PDT) From: Jerome Forissier To: u-boot@lists.denx.de Cc: Ilias Apalodimas , Peter Robinson , Jerome Forissier , Joe Hershberger , Ramon Fried , Tom Rini , Nicolas Frattaroli , Marek Vasut Subject: [PATCH v4 07/15] net: phy: ncsi: depend on NET Date: Wed, 11 Sep 2024 11:58:20 +0200 Message-Id: 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 73064b2af68..a9efc509814 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