blob: e83a98294912ac330ffba9acb9e5398ae5f69a22 [file] [log] [blame]
Konstantin Porotchkinfa61ef62016-12-08 12:22:28 +02001menu "MVEBU commands"
2depends on ARCH_MVEBU
3
4config CMD_MVEBU_BUBT
5 bool "bubt"
Pali Rohár49416522023-01-21 23:51:15 +01006 default y
Alexandru Gagniuceb5171d2021-09-02 19:54:17 -05007 select SHA256 if ARMADA_3700
Pali Rohár93c13582022-07-26 16:11:58 +02008 select SHA512 if ARMADA_3700
Pali Rohárc8f50092023-01-22 01:25:12 +01009 select DOS_PARTITION if ARMADA_3700
10 select EFI_PARTITION if ARMADA_3700
11 select PARTITION_TYPE_GUID if ARMADA_3700
Pali Rohárf7b0bbc2022-08-23 14:52:24 +020012 select MVEBU_EFUSE if ARMADA_38X || ARMADA_3700
Konstantin Porotchkinfa61ef62016-12-08 12:22:28 +020013 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
Pali Rohár008468f2022-05-03 11:13:24 +020018if CMD_MVEBU_BUBT
19
Konstantin Porotchkinfa61ef62016-12-08 12:22:28 +020020choice
21 prompt "Flash for image"
Pali Rohár329393f2023-01-21 23:38:31 +010022 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
Konstantin Porotchkinfa61ef62016-12-08 12:22:28 +020026 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"
Konstantin Porotchkin9f27bcc2021-03-17 18:53:43 +020048 depends on MVEBU_MMC || MMC_SDHCI_XENON
Konstantin Porotchkinfa61ef62016-12-08 12:22:28 +020049 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
Pali Rohárc8f50092023-01-22 01:25:12 +010055config 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
Konstantin Porotchkinfa61ef62016-12-08 12:22:28 +020064endchoice
65
66config MVEBU_UBOOT_DFLT_NAME
67 string "Default image name for bubt command"
Pali Rohárc766c092023-01-08 14:01:03 +010068 default BUILD_TARGET if ARMADA_32BIT && BUILD_TARGET != ""
Konstantin Porotchkinfa61ef62016-12-08 12:22:28 +020069 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
Pali Rohár008468f2022-05-03 11:13:24 +020074endif
75
Stefan Roese961ab072021-05-05 09:15:10 +020076config CMD_MVEBU_COMPHY_RX_TRAINING
77 bool "mvebu_comphy_rx_training"
78 depends on ARMADA_8K
Igal Libermane49cdbe2021-03-23 11:57:57 +010079 help
Stefan Roese961ab072021-05-05 09:15:10 +020080 Perform COMPHY RX training sequence
Igal Libermane49cdbe2021-03-23 11:57:57 +010081
Konstantin Porotchkinfa61ef62016-12-08 12:22:28 +020082endmenu