summaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorKonstantin Porotchkin <kostap@marvell.com>2021-03-17 18:53:43 +0200
committerStefan Roese <sr@denx.de>2021-04-29 07:39:15 +0200
commit9f27bcc32f8885eb1c3df0e4404a0d772278ab39 (patch)
tree4cd582d4fa2c6b0838cf73381dc2c442a45323ae /cmd
parentfec8c900c8b2a08661f6ac3e1e71d6af6aaa67cd (diff)
downloadu-boot-9f27bcc32f8885eb1c3df0e4404a0d772278ab39.tar.gz
u-boot-9f27bcc32f8885eb1c3df0e4404a0d772278ab39.tar.xz
u-boot-9f27bcc32f8885eb1c3df0e4404a0d772278ab39.zip
cmd/mvebu: fix the bubt command
- fix the dependency for MMC boot (add XENON to MVEBU_MMC) - fix the bubt destination assignment (missing # in "else" case) Signed-off-by: Konstantin Porotchkin <kostap@marvell.com> Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/mvebu/Kconfig2
-rw-r--r--cmd/mvebu/bubt.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/cmd/mvebu/Kconfig b/cmd/mvebu/Kconfig
index ad10a572a3..f1eb00614d 100644
--- a/cmd/mvebu/Kconfig
+++ b/cmd/mvebu/Kconfig
@@ -33,7 +33,7 @@ config MVEBU_SPI_BOOT
config MVEBU_MMC_BOOT
bool "eMMC flash boot"
- depends on MVEBU_MMC
+ depends on MVEBU_MMC || MMC_SDHCI_XENON
help
Enable boot from eMMC boot partition
Allow usage of eMMC/SD device as a target for "bubt" command
diff --git a/cmd/mvebu/bubt.c b/cmd/mvebu/bubt.c
index b64996320c..5cd520e46b 100644
--- a/cmd/mvebu/bubt.c
+++ b/cmd/mvebu/bubt.c
@@ -798,7 +798,7 @@ struct bubt_dev *find_bubt_dev(char *dev_name)
#define DEFAULT_BUBT_DST "nand"
#elif defined(CONFIG_MVEBU_MMC_BOOT)
#define DEFAULT_BUBT_DST "mmc"
-else
+#else
#define DEFAULT_BUBT_DST "error"
#endif
#endif /* DEFAULT_BUBT_DST */