From mboxrd@z Thu Jan 1 00:00:00 1970 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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 82927C433F5 for ; Tue, 3 May 2022 09:13:49 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 7ECEA83E21; Tue, 3 May 2022 11:13:46 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.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=kernel.org header.i=@kernel.org header.b="qUGX/px6"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 26A8D83D71; Tue, 3 May 2022 11:13:43 +0200 (CEST) Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 9C82A8393F for ; Tue, 3 May 2022 11:13:39 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=pali@kernel.org Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 4C21761307; Tue, 3 May 2022 09:13:38 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8A28AC385B0; Tue, 3 May 2022 09:13:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1651569217; bh=OXe5KW5LanOQVSxWUoCumoA+iPPOhcg5X73ncZSiF2w=; h=From:To:Cc:Subject:Date:From; b=qUGX/px61ZrU5JgfQo6c8yJXyyJ6MWbM8IKiWHB3K1i1KYdNOIrV3H5MLIQE+jviG eGnBOL6N02VUsxsSMQoRWsmttTJENVx/3WTinc1bfM9QLAnSr228fZXbUQo2hVElBo dZ6/i5fjCKPNa6bGE3CBQ12N9tV6/qDEtdzBPL38FQo+HJB6vR0rVmBASsGUAomQet WcFvynbdu6I3HkdfYGE+RrNIUhrWnC0ItZivzMAmHhnakGf6B75tJh2Jj/IcvlVFXQ DfJ+4wCzx74/AA68IS1vuvtMJO5rkNvHAmuOqJFn7BJ2CaUSWlpVjB2RiCjrdB0k2G w8AqVRSeFXSuQ== Received: by pali.im (Postfix) id DE97698A; Tue, 3 May 2022 11:13:34 +0200 (CEST) From: =?UTF-8?q?Pali=20Roh=C3=A1r?= To: Stefan Roese Cc: u-boot@lists.denx.de Subject: [PATCH] cmd: mvebu: Hide bubt specific options when bubt is disabled Date: Tue, 3 May 2022 11:13:24 +0200 Message-Id: <20220503091324.13254-1-pali@kernel.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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.5 at phobos.denx.de X-Virus-Status: Clean CONFIG_MVEBU_NAND_BOOT, CONFIG_MVEBU_SPI_BOOT, CONFIG_MVEBU_MMC_BOOT and CONFIG_MVEBU_UBOOT_DFLT_NAME are unused when CONFIG_CMD_MVEBU_BUBT is not enabled. So hide them. Signed-off-by: Pali Rohár --- cmd/mvebu/Kconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cmd/mvebu/Kconfig b/cmd/mvebu/Kconfig index ac8b0afd20e5..39963db82c98 100644 --- a/cmd/mvebu/Kconfig +++ b/cmd/mvebu/Kconfig @@ -9,6 +9,8 @@ config CMD_MVEBU_BUBT For details about bubt command please see the documentation in doc/mvebu/cmd/bubt.txt +if CMD_MVEBU_BUBT + choice prompt "Flash for image" default MVEBU_SPI_BOOT @@ -49,6 +51,8 @@ config MVEBU_UBOOT_DFLT_NAME This option should contain a default file name to be used with MVEBU "bubt" command if the source file name is omitted +endif + config CMD_MVEBU_COMPHY_RX_TRAINING bool "mvebu_comphy_rx_training" depends on ARMADA_8K -- 2.20.1