Konstantin Porotchkin | fa61ef6 | 2016-12-08 12:22:28 +0200 | [diff] [blame] | 1 | menu "MVEBU commands" |
| 2 | depends on ARCH_MVEBU |
| 3 | |
| 4 | config CMD_MVEBU_BUBT |
| 5 | bool "bubt" |
Pali Rohár | 4941652 | 2023-01-21 23:51:15 +0100 | [diff] [blame] | 6 | default y |
Alexandru Gagniuc | eb5171d | 2021-09-02 19:54:17 -0500 | [diff] [blame] | 7 | select SHA256 if ARMADA_3700 |
Pali Rohár | 93c1358 | 2022-07-26 16:11:58 +0200 | [diff] [blame] | 8 | select SHA512 if ARMADA_3700 |
Pali Rohár | c8f5009 | 2023-01-22 01:25:12 +0100 | [diff] [blame] | 9 | select DOS_PARTITION if ARMADA_3700 |
| 10 | select EFI_PARTITION if ARMADA_3700 |
| 11 | select PARTITION_TYPE_GUID if ARMADA_3700 |
Pali Rohár | f7b0bbc | 2022-08-23 14:52:24 +0200 | [diff] [blame] | 12 | select MVEBU_EFUSE if ARMADA_38X || ARMADA_3700 |
Konstantin Porotchkin | fa61ef6 | 2016-12-08 12:22:28 +0200 | [diff] [blame] | 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 | |
Pali Rohár | 008468f | 2022-05-03 11:13:24 +0200 | [diff] [blame] | 18 | if CMD_MVEBU_BUBT |
| 19 | |
Konstantin Porotchkin | fa61ef6 | 2016-12-08 12:22:28 +0200 | [diff] [blame] | 20 | choice |
| 21 | prompt "Flash for image" |
Pali Rohár | 329393f | 2023-01-21 23:38:31 +0100 | [diff] [blame] | 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 |
Konstantin Porotchkin | fa61ef6 | 2016-12-08 12:22:28 +0200 | [diff] [blame] | 26 | default MVEBU_SPI_BOOT |
| 27 | |
| 28 | config 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 | |
| 37 | config 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 | |
| 46 | config MVEBU_MMC_BOOT |
| 47 | bool "eMMC flash boot" |
Konstantin Porotchkin | 9f27bcc | 2021-03-17 18:53:43 +0200 | [diff] [blame] | 48 | depends on MVEBU_MMC || MMC_SDHCI_XENON |
Konstantin Porotchkin | fa61ef6 | 2016-12-08 12:22:28 +0200 | [diff] [blame] | 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 | |
Pali Rohár | c8f5009 | 2023-01-22 01:25:12 +0100 | [diff] [blame] | 55 | config 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 Porotchkin | fa61ef6 | 2016-12-08 12:22:28 +0200 | [diff] [blame] | 64 | endchoice |
| 65 | |
| 66 | config MVEBU_UBOOT_DFLT_NAME |
| 67 | string "Default image name for bubt command" |
Pali Rohár | c766c09 | 2023-01-08 14:01:03 +0100 | [diff] [blame] | 68 | default BUILD_TARGET if ARMADA_32BIT && BUILD_TARGET != "" |
Konstantin Porotchkin | fa61ef6 | 2016-12-08 12:22:28 +0200 | [diff] [blame] | 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 | |
Pali Rohár | 008468f | 2022-05-03 11:13:24 +0200 | [diff] [blame] | 74 | endif |
| 75 | |
Stefan Roese | 961ab07 | 2021-05-05 09:15:10 +0200 | [diff] [blame] | 76 | config CMD_MVEBU_COMPHY_RX_TRAINING |
| 77 | bool "mvebu_comphy_rx_training" |
| 78 | depends on ARMADA_8K |
Igal Liberman | e49cdbe | 2021-03-23 11:57:57 +0100 | [diff] [blame] | 79 | help |
Stefan Roese | 961ab07 | 2021-05-05 09:15:10 +0200 | [diff] [blame] | 80 | Perform COMPHY RX training sequence |
Igal Liberman | e49cdbe | 2021-03-23 11:57:57 +0100 | [diff] [blame] | 81 | |
Konstantin Porotchkin | fa61ef6 | 2016-12-08 12:22:28 +0200 | [diff] [blame] | 82 | endmenu |