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>
This commit is contained in:
parent
fec8c900c8
commit
9f27bcc32f
|
@ -33,7 +33,7 @@ config MVEBU_SPI_BOOT
|
||||||
|
|
||||||
config MVEBU_MMC_BOOT
|
config MVEBU_MMC_BOOT
|
||||||
bool "eMMC flash boot"
|
bool "eMMC flash boot"
|
||||||
depends on MVEBU_MMC
|
depends on MVEBU_MMC || MMC_SDHCI_XENON
|
||||||
help
|
help
|
||||||
Enable boot from eMMC boot partition
|
Enable boot from eMMC boot partition
|
||||||
Allow usage of eMMC/SD device as a target for "bubt" command
|
Allow usage of eMMC/SD device as a target for "bubt" command
|
||||||
|
|
|
@ -798,7 +798,7 @@ struct bubt_dev *find_bubt_dev(char *dev_name)
|
||||||
#define DEFAULT_BUBT_DST "nand"
|
#define DEFAULT_BUBT_DST "nand"
|
||||||
#elif defined(CONFIG_MVEBU_MMC_BOOT)
|
#elif defined(CONFIG_MVEBU_MMC_BOOT)
|
||||||
#define DEFAULT_BUBT_DST "mmc"
|
#define DEFAULT_BUBT_DST "mmc"
|
||||||
else
|
#else
|
||||||
#define DEFAULT_BUBT_DST "error"
|
#define DEFAULT_BUBT_DST "error"
|
||||||
#endif
|
#endif
|
||||||
#endif /* DEFAULT_BUBT_DST */
|
#endif /* DEFAULT_BUBT_DST */
|
||||||
|
|
Loading…
Reference in New Issue