From patchwork Wed Aug 12 07:28:24 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 1343550 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.a=rsa-sha256 header.s=20150623 header.b=1g66XFSa; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4BRLsd3dkdz9sTF for ; Wed, 12 Aug 2020 17:28:37 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 7F0B9819E8; Wed, 12 Aug 2020 09:28:32 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.b="1g66XFSa"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 48ED581B50; Wed, 12 Aug 2020 09:28:30 +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=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) (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 4DF77808B2 for ; Wed, 12 Aug 2020 09:28:27 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=monstr@monstr.eu Received: by mail-wr1-x441.google.com with SMTP id p20so1073497wrf.0 for ; Wed, 12 Aug 2020 00:28:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=AWSfmglxnqqpQxH+O4hc6XAWh0g84zOHojXkEIaE0OM=; b=1g66XFSaCkEtmViYSQtCMJaAlEjAvm7hhvyKqL62Tfx4jGKH5vLXE3YOYtFY7wibJx EO8p1SvI56nhoFtoXAtOmnHEPnjP3kPgX1f2+zSyMJk5nPZQCReAh/kggJ7zJlkJXUGI NMArfj/YQYSpYP6Vg8rMMGvsfyIq7b7nQZBY/5bsKniOFaMOTIQ5tANp6Uxp9hx28NIa +7Ef/YJ449bHSbpiNyauNZSaztFFt31xn2nAuo8sN0YVlrxwVIiosPfV+ZX1OhCN+WIw OWIhSoH7w8yX0wnT0vbafFDJVjChYFjZFCNmIitNtcdsaHavR5qACNBIX+0Nqph8N9/W ijiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=AWSfmglxnqqpQxH+O4hc6XAWh0g84zOHojXkEIaE0OM=; b=N5xmJwaFh1jQqcVH9sMGunhwLOJ3Mfzt4XYUI7Z6J6iqVfrZromPYNRBbAyEL7B/HR djBzXA8kikqLqUBLHp+6CYogqBMgDTRtmAyJ19WDJS+7AecDPSk9hT9Mz3a9gLGbJGBb iCLmFRXzhjrkVYX4urDiN7VFgDv5nGO/f8pJ2HdOO59PX963y5qsDxEufgz99AAPnU/q 8R4TTmsVsyp2t+CLyDhh0agCjpbNgCPoaOzou++3sMvamMzTYKSFolmk6H2eDnehsqgU EPQyX8tDPbHF8rZCqcfxsR4/R9jx8Ap0wtB4zLVPgXR2BpfbHUEdfnkHL28ktAz/3SnT Nz5w== X-Gm-Message-State: AOAM530e2ybE4UvwFJT5frljJjPat6alVPitNyGOCCpM8AOXNT558QjV oj+VryJVzyvs/BsdJi30M77erJ75ozVXNw== X-Google-Smtp-Source: ABdhPJx8uzmgfN6UUxxmiRmL9Qvzanr4Onv6i9MB+0ha7fKebv32E8F4nbwzozXqoS78I7VAO/2Kdw== X-Received: by 2002:adf:9d85:: with SMTP id p5mr31070441wre.286.1597217306524; Wed, 12 Aug 2020 00:28:26 -0700 (PDT) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id y16sm2476182wrr.83.2020.08.12.00.28.25 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 12 Aug 2020 00:28:25 -0700 (PDT) From: Michal Simek To: u-boot@lists.denx.de, git@xilinx.com Cc: Heinrich Schuchardt , Jagan Teki , Kever Yang , Marek Bykowski , Miquel Raynal , Ovidiu Panait , Simon Glass , Simon South Subject: [PATCH] common: Kconfig: Add dependency for default variables strings Date: Wed, 12 Aug 2020 09:28:24 +0200 Message-Id: <2c7c674f330bf06aa4a6e266005d7e2058254dd5.1597217302.git.michal.simek@xilinx.com> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 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.102.3 at phobos.denx.de X-Virus-Status: Clean Kconfig provides several config options for setting up default variables but these are unused when variables are passed to U-Boot via file. That's why cover this dependency in Kconfig. Signed-off-by: Michal Simek --- There are likely other Kconfig entries which should be fixed too. --- common/Kconfig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/common/Kconfig b/common/Kconfig index 62d78c5bd739..b7d5a8f28cf8 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -355,7 +355,7 @@ endmenu config BOOTDELAY int "delay in seconds before automatically booting" default 2 - depends on AUTOBOOT + depends on AUTOBOOT && !USE_DEFAULT_ENV_FILE help Delay before automatically running bootcmd; set to 0 to autoboot with no delay, but you can stop it by key input. @@ -378,7 +378,7 @@ config USE_BOOTARGS config BOOTARGS string "Boot arguments" - depends on USE_BOOTARGS + depends on USE_BOOTARGS && !USE_DEFAULT_ENV_FILE help This can be used to pass arguments to the bootm command. The value of CONFIG_BOOTARGS goes into the environment value "bootargs". Note that @@ -395,7 +395,7 @@ config USE_BOOTCOMMAND config BOOTCOMMAND string "bootcmd value" - depends on USE_BOOTCOMMAND + depends on USE_BOOTCOMMAND && !USE_DEFAULT_ENV_FILE default "run distro_bootcmd" if DISTRO_DEFAULTS help This is the string of commands that will be used as bootcmd and if @@ -416,7 +416,7 @@ config USE_PREBOOT config PREBOOT string "preboot default value" - depends on USE_PREBOOT + depends on USE_PREBOOT && !USE_DEFAULT_ENV_FILE default "" help This is the default of "preboot" environment variable.