1menu "MVEBU commands"
2depends on ARCH_MVEBU
3
4config CMD_MVEBU_BUBT
5	bool "bubt"
6	default y
7	select SHA256 if ARMADA_3700
8	select SHA512 if ARMADA_3700
9	select DOS_PARTITION if ARMADA_3700
10	select EFI_PARTITION if ARMADA_3700
11	select PARTITION_TYPE_GUID if ARMADA_3700
12	select MVEBU_EFUSE if ARMADA_38X || ARMADA_3700
13	help
14	  bubt - Burn a u-boot image to flash
15	  For details about bubt command please see the documentation
16	  in doc/mvebu/cmd/bubt.txt
17
18if CMD_MVEBU_BUBT
19
20choice
21	prompt "Flash for image"
22	default MVEBU_SPI_BOOT if MVEBU_SPL_BOOT_DEVICE_SPI
23	default MVEBU_NAND_BOOT if MVEBU_SPL_BOOT_DEVICE_NAND
24	default MVEBU_MMC_BOOT if MVEBU_SPL_BOOT_DEVICE_MMC
25	default MVEBU_SATA_BOOT if MVEBU_SPL_BOOT_DEVICE_SATA
26	default MVEBU_SPI_BOOT
27
28config MVEBU_NAND_BOOT
29	bool "NAND flash boot"
30	depends on NAND_PXA3XX
31	help
32	  Enable boot from NAND flash.
33	  Allow usage of NAND flash as a target for "bubt" command
34	  For details about bubt command please see the documentation
35	  in doc/mvebu/cmd/bubt.txt
36
37config MVEBU_SPI_BOOT
38	bool "SPI flash boot"
39	depends on SPI_FLASH
40	help
41	  Enable boot from SPI flash.
42	  Allow usage of SPI flash as a target for "bubt" command
43	  For details about bubt command please see the documentation
44	  in doc/mvebu/cmd/bubt.txt
45
46config MVEBU_MMC_BOOT
47	bool "eMMC flash boot"
48	depends on MVEBU_MMC || MMC_SDHCI_XENON
49	help
50	  Enable boot from eMMC boot partition
51	  Allow usage of eMMC/SD device as a target for "bubt" command
52	  For details about bubt command please see the documentation
53	  in doc/mvebu/cmd/bubt.txt
54
55config MVEBU_SATA_BOOT
56	bool "SATA flash boot"
57	depends on SCSI
58	help
59	  Enable boot from SATA disk.
60	  Allow usage of SATA disk as a target for "bubt" command
61	  For details about bubt command please see the documentation
62	  in doc/mvebu/cmd/bubt.txt
63
64endchoice
65
66config MVEBU_UBOOT_DFLT_NAME
67	string "Default image name for bubt command"
68	default BUILD_TARGET if ARMADA_32BIT && BUILD_TARGET != ""
69	default "flash-image.bin"
70	help
71	  This option should contain a default file name to be used with
72	  MVEBU "bubt" command if the source file name is omitted
73
74endif
75
76config CMD_MVEBU_COMPHY_RX_TRAINING
77	bool "mvebu_comphy_rx_training"
78	depends on ARMADA_8K
79	help
80	  Perform COMPHY RX training sequence
81
82endmenu
83