aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPali Rohár <pali@kernel.org>2022-05-03 11:13:24 +0200
committerStefan Roese <sr@denx.de>2022-05-16 11:31:33 +0200
commit008468fa35f8e3fd4b2a5885d1c5cc61a251f87e (patch)
tree3afce37bae030600c9c22e8bd917c7b56f3a021a
parentc387e62614713d0cc9e3ed022b86c9f320b02853 (diff)
downloadu-boot-008468fa35f8e3fd4b2a5885d1c5cc61a251f87e.zip
u-boot-008468fa35f8e3fd4b2a5885d1c5cc61a251f87e.tar.gz
u-boot-008468fa35f8e3fd4b2a5885d1c5cc61a251f87e.tar.bz2
cmd: mvebu: Hide bubt specific options when bubt is disabled
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 <pali@kernel.org> Reviewed-by: Stefan Roese <sr@denx.de>
-rw-r--r--cmd/mvebu/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmd/mvebu/Kconfig b/cmd/mvebu/Kconfig
index ac8b0af..39963db 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