]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - ti-u-boot/ti-u-boot.git/commitdiff
cmd/mvebu: fix the bubt command
authorKonstantin Porotchkin <kostap@marvell.com>
Wed, 17 Mar 2021 16:53:43 +0000 (18:53 +0200)
committerStefan Roese <sr@denx.de>
Thu, 29 Apr 2021 05:39:15 +0000 (07:39 +0200)
- 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>
cmd/mvebu/Kconfig
cmd/mvebu/bubt.c

index ad10a572a365eaad248f2a89329f37d4faa989a4..f1eb00614dd658ca0e78bcb96898f42319006bc5 100644 (file)
@@ -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
index b64996320c437ee8419f1858af4736c72de2b044..5cd520e46bb9c574a5b103b57019a30d51d239c6 100644 (file)
@@ -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 */