cmd: mvebu: bubt: use get_nand_dev_by_index()
[oweals/u-boot.git] / cmd / mvebu / Kconfig
1 menu "MVEBU commands"
2 depends on ARCH_MVEBU
3
4 config CMD_MVEBU_BUBT
5         bool "bubt"
6         default n
7         help
8           bubt - Burn a u-boot image to flash
9           For details about bubt command please see the documentation
10           in doc/mvebu/cmd/bubt.txt
11
12 choice
13         prompt "Flash for image"
14         default MVEBU_SPI_BOOT
15
16 config MVEBU_NAND_BOOT
17         bool "NAND flash boot"
18         depends on NAND_PXA3XX
19         help
20           Enable boot from NAND flash.
21           Allow usage of NAND flash as a target for "bubt" command
22           For details about bubt command please see the documentation
23           in doc/mvebu/cmd/bubt.txt
24
25 config MVEBU_SPI_BOOT
26         bool "SPI flash boot"
27         depends on SPI_FLASH
28         help
29           Enable boot from SPI flash.
30           Allow usage of SPI flash as a target for "bubt" command
31           For details about bubt command please see the documentation
32           in doc/mvebu/cmd/bubt.txt
33
34 config MVEBU_MMC_BOOT
35         bool "eMMC flash boot"
36         depends on MVEBU_MMC
37         help
38           Enable boot from eMMC boot partition
39           Allow usage of eMMC/SD device as a target for "bubt" command
40           For details about bubt command please see the documentation
41           in doc/mvebu/cmd/bubt.txt
42
43 endchoice
44
45 config MVEBU_UBOOT_DFLT_NAME
46         string "Default image name for bubt command"
47         default "flash-image.bin"
48         help
49           This option should contain a default file name to be used with
50           MVEBU "bubt" command if the source file name is omitted
51
52 endmenu