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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 10F33C433F5 for ; Thu, 14 Oct 2021 13:27:09 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 25D7260EE2 for ; Thu, 14 Oct 2021 13:27:08 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 25D7260EE2 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 55D0483661; Thu, 14 Oct 2021 15:27:05 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 647AE83664; Thu, 14 Oct 2021 15:27:03 +0200 (CEST) Received: from mail-qt1-f176.google.com (mail-qt1-f176.google.com [209.85.160.176]) (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 46AB183660 for ; Thu, 14 Oct 2021 15:27:00 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=tom.rini@gmail.com Received: by mail-qt1-f176.google.com with SMTP id w8so5712648qts.4 for ; Thu, 14 Oct 2021 06:27:00 -0700 (PDT) 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=c/uC6lQNe3tpj9Cw60Ps/t3c5mLoGtsBQOSlOLHbOBs=; b=fTlBI8EaPv2e1e12wKG7IAYzjQbdieVXb+DzdI4mOnLO81qzgstsHEgqLCYY1sEVLl vSepo2W0jIflSReFFjWpztaNnRiynoDjrKio0X+vzPWENqIWgMloQsVHIpHsxqDnI4Dt +kCEUm1tDqcjRTfrYZzMsI+yFyUgnUVPFCAHU+aAUp6Rgohw63Amto+CnmZMihUgaE5i f9zhSTzQLrDjI+m0s9NHLk83swcUCCzczcV6AOd93ftzZiC87c5U7+nXUwBjl7Z9mmmc YKsnhvgfKwnPoYBSEOzL57xnOC0d13EKtxvjrAVPKL7PfKMScHBR5IbeEIIe05l3lQxV CSRw== X-Gm-Message-State: AOAM532Lp+9jjqzZtfcn67bTYnaXH6gNIN2XLFrLy7Y/T8Qs89Yhvh8v 6etF3QchVMVR1tiP6RYDrxlOf0MGAg== X-Google-Smtp-Source: ABdhPJzvVahqfztzxU1YvptrjmXZyHofEpz++woTPHUGd+7hcFJj2CYljwg8sTOh0hMN6bTkHfkJ/w== X-Received: by 2002:a05:622a:ca:: with SMTP id p10mr6328578qtw.207.1634218018560; Thu, 14 Oct 2021 06:26:58 -0700 (PDT) Received: from bill-the-cat.lan (2603-6081-7b01-cbda-0d65-5385-0e85-d408.res6.spectrum.com. [2603:6081:7b01:cbda:d65:5385:e85:d408]) by smtp.gmail.com with ESMTPSA id 16sm1327667qka.80.2021.10.14.06.26.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Oct 2021 06:26:57 -0700 (PDT) From: Tom Rini To: u-boot@lists.denx.de Subject: [PATCH] spl: Make SPL_NET depend on SPL_OF_CONTROL Date: Thu, 14 Oct 2021 09:26:54 -0400 Message-Id: <20211014132654.1031506-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.34 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.2 at phobos.denx.de X-Virus-Status: Clean Once we look in the stack required for networking in SPL to function, it becomes clear that SPL_OF_CONTROL is also required. Make this dependency explicit in Kconfig. Signed-off-by: Tom Rini --- common/spl/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/common/spl/Kconfig b/common/spl/Kconfig index 17ce2f6b615d..cf6d4a0123eb 100644 --- a/common/spl/Kconfig +++ b/common/spl/Kconfig @@ -851,6 +851,7 @@ endif # if SPL_UBI config SPL_NET bool "Support networking" + depends on SPL_OF_CONTROL help Enable support for network devices (such as Ethernet) in SPL. This permits SPL to load U-Boot over a network link rather than -- 2.25.1