From patchwork Thu Sep 12 06:31:22 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AKASHI Takahiro X-Patchwork-Id: 1161406 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=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="YyaT5VFy"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 46TTNm2lk8z9s4Y for ; Thu, 12 Sep 2019 16:28:24 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 2C43AC21DD7; Thu, 12 Sep 2019 06:28:19 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id CED82C21CB6; Thu, 12 Sep 2019 06:28:16 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id BFD32C21CB6; Thu, 12 Sep 2019 06:28:15 +0000 (UTC) Received: from mail-pf1-f195.google.com (mail-pf1-f195.google.com [209.85.210.195]) by lists.denx.de (Postfix) with ESMTPS id 9291AC21C29 for ; Thu, 12 Sep 2019 06:28:13 +0000 (UTC) Received: by mail-pf1-f195.google.com with SMTP id i1so6453530pfa.6 for ; Wed, 11 Sep 2019 23:28:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=c4jbbMsu3sEolJxLL7pE8iEATxF2lQO1T1r97g0jsPA=; b=YyaT5VFya585xWg0z7jODq4aIDhiFBvlXPbGBN/Y3cljEhBpZKMtok3KpdWsvfrAAp JXGh4nRQlq6UpDva2YmtfHrHuZotzuGJy9QS0dNogAOD04YAXCobSaMPsogiMPywc7SS fV6OTUzlsamxs9UROID1xQOFm+WAsjjfwfw55jvOlxJuCYaW2YMgw0CrI5l4d6eMZmnC fR9ueExShUg7VHskdo+WKOf6wXA9mIAwjtuDa0GbFd1sSiSooKV0Hp3N+h6IOpnyVFAY HstD75uUjPhHq7TMHj4B9zWp2SmmQsfQhNcPr6zt8gC0cZzh+KCSRn5t5d6+pPq7ytaK PkyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=c4jbbMsu3sEolJxLL7pE8iEATxF2lQO1T1r97g0jsPA=; b=rsZiERLJrZ+pExF+Ksg8O64VHUX2X4v6YZQ3I+5HxEKuVNptIO8MG7KUiRok6qvjTe iyrAbU7pn5YhC+86Vctos+/o2IRsQVyyEcrjHiKYiXTtLQwFoYgk7Fwbj66vGKt5H4Ud HPaXB0G18W9ZckfFVGsADA8yICIc+4m5cERMopEoS/GVkagv5boki+D91EhvtF2jNQ6C hOk+MZUGho4X1prqfP9QT8EaWdTRhTJrqUq5L9EvM84AfY+Laq6GzKIr+Ec+ewk9+/k7 dSJZPp6yVbJDpKf/14zmVOJvyCaysI55Xt/r+yrw8ZQ8JsTy1HBq/iF516Ih9mBo6suQ 3LJA== X-Gm-Message-State: APjAAAVv3FrYv0UIFZwBi8vhiFwsfj9I8A8ZAcgurfpcO5wjbZyB/lBU 47jwrkVf8ZwkUxJYKK3nm30oGA== X-Google-Smtp-Source: APXvYqzF7WkWUXJ/osd/IGpJSopxsuYKXDRWOB86ZDxNJ83Eqi6i2oYIKHRofFzWAcCk7PKVykDhxg== X-Received: by 2002:a65:6096:: with SMTP id t22mr37492918pgu.204.1568269691878; Wed, 11 Sep 2019 23:28:11 -0700 (PDT) Received: from linaro.org ([121.95.100.191]) by smtp.googlemail.com with ESMTPSA id i194sm5161978pgc.0.2019.09.11.23.28.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Sep 2019 23:28:11 -0700 (PDT) From: AKASHI Takahiro To: trini@konsulko.com Date: Thu, 12 Sep 2019 15:31:22 +0900 Message-Id: <20190912063122.12176-1-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Cc: u-boot@lists.denx.de Subject: [U-Boot] [PATCH] autoboot: add necessary dependency at AUTOBOOT_MENU_SHOW X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 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" Otherwise, menu_show() will be undefined in bootdelay_process(). Signed-off-by: AKASHI Takahiro --- cmd/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/Kconfig b/cmd/Kconfig index 05872fa0d7f4..a6738a71b60f 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -172,6 +172,7 @@ config AUTOBOOT_MENUKEY config AUTOBOOT_MENU_SHOW bool "Show a menu on boot" + depends on CMD_BOOTMENU help This enables the boot menu, controlled by environment variables defined by the board. The menu starts after running the 'preboot'