blob: 029f722096b1196a46e3d8bf6d6a4c4272f489ed [file] [log] [blame]
Konstantin Porotchkin97d26782016-12-08 12:22:28 +02001menu "MVEBU commands"
2depends on ARCH_MVEBU
3
4config CMD_MVEBU_BUBT
5 bool "bubt"
Alexandru Gagniuc8d310ef2021-09-02 19:54:17 -05006 select SHA256 if ARMADA_3700
Pali Rohára4bbb2c2022-07-26 16:11:58 +02007 select SHA512 if ARMADA_3700
Pali Rohár2a27fc22023-01-22 01:25:12 +01008 select DOS_PARTITION if ARMADA_3700
9 select EFI_PARTITION if ARMADA_3700
10 select PARTITION_TYPE_GUID if ARMADA_3700
Pali Rohárd83e04a2022-08-23 14:52:24 +020011 select MVEBU_EFUSE if ARMADA_38X || ARMADA_3700
Konstantin Porotchkin97d26782016-12-08 12:22:28 +020012 help
13 bubt - Burn a u-boot image to flash
14 For details about bubt command please see the documentation
15 in doc/mvebu/cmd/bubt.txt
16
Pali Rohár3cf4cf92022-05-03 11:13:24 +020017if CMD_MVEBU_BUBT
18
Konstantin Porotchkin97d26782016-12-08 12:22:28 +020019choice
20 prompt "Flash for image"
Pali Rohárbb6cc6b2023-01-21 23:38:31 +010021 default MVEBU_SPI_BOOT if MVEBU_SPL_BOOT_DEVICE_SPI
22 default MVEBU_NAND_BOOT if MVEBU_SPL_BOOT_DEVICE_NAND
23 default MVEBU_MMC_BOOT if MVEBU_SPL_BOOT_DEVICE_MMC
24 default MVEBU_SATA_BOOT if MVEBU_SPL_BOOT_DEVICE_SATA
Konstantin Porotchkin97d26782016-12-08 12:22:28 +020025 default MVEBU_SPI_BOOT
26
27config MVEBU_NAND_BOOT
28 bool "NAND flash boot"
29 depends on NAND_PXA3XX
30 help
31 Enable boot from NAND flash.
32 Allow usage of NAND flash as a target for "bubt" command
33 For details about bubt command please see the documentation
34 in doc/mvebu/cmd/bubt.txt
35
36config MVEBU_SPI_BOOT
37 bool "SPI flash boot"
38 depends on SPI_FLASH
39 help
40 Enable boot from SPI flash.
41 Allow usage of SPI flash as a target for "bubt" command
42 For details about bubt command please see the documentation
43 in doc/mvebu/cmd/bubt.txt
44
45config MVEBU_MMC_BOOT
46 bool "eMMC flash boot"
Konstantin Porotchkine78a3892021-03-17 18:53:43 +020047 depends on MVEBU_MMC || MMC_SDHCI_XENON
Konstantin Porotchkin97d26782016-12-08 12:22:28 +020048 help
49 Enable boot from eMMC boot partition
50 Allow usage of eMMC/SD device as a target for "bubt" command
51 For details about bubt command please see the documentation
52 in doc/mvebu/cmd/bubt.txt
53
Pali Rohár2a27fc22023-01-22 01:25:12 +010054config MVEBU_SATA_BOOT
55 bool "SATA flash boot"
56 depends on SCSI
57 help
58 Enable boot from SATA disk.
59 Allow usage of SATA disk as a target for "bubt" command
60 For details about bubt command please see the documentation
61 in doc/mvebu/cmd/bubt.txt
62
Konstantin Porotchkin97d26782016-12-08 12:22:28 +020063endchoice
64
65config MVEBU_UBOOT_DFLT_NAME
66 string "Default image name for bubt command"
Pali Rohárcca95b02023-01-08 14:01:03 +010067 default BUILD_TARGET if ARMADA_32BIT && BUILD_TARGET != ""
Konstantin Porotchkin97d26782016-12-08 12:22:28 +020068 default "flash-image.bin"
69 help
70 This option should contain a default file name to be used with
71 MVEBU "bubt" command if the source file name is omitted
72
Pali Rohár3cf4cf92022-05-03 11:13:24 +020073endif
74
Stefan Roese38730322021-05-05 09:15:10 +020075config CMD_MVEBU_COMPHY_RX_TRAINING
76 bool "mvebu_comphy_rx_training"
77 depends on ARMADA_8K
Igal Liberman6795a662021-03-23 11:57:57 +010078 help
Stefan Roese38730322021-05-05 09:15:10 +020079 Perform COMPHY RX training sequence
Igal Liberman6795a662021-03-23 11:57:57 +010080
Konstantin Porotchkin97d26782016-12-08 12:22:28 +020081endmenu