diff options
author | Pali Rohár | 2023-01-21 23:38:31 +0100 |
---|---|---|
committer | Stefan Roese | 2023-03-01 06:39:17 +0100 |
commit | 329393f17f81c42920ae8fe1c175dfdaab555f7a (patch) | |
tree | b9bef0eb791e130ae8a2fe21b4e3f066e57e74ed | |
parent | c766c097ef597816e711c6362b4c301212590910 (diff) |
cmd: mvebu/bubt: Better guess default MVEBU_*_BOOT option
For 32-bit Armada boards which use SPL we can determinate boot device from
existing MVEBU_SPL_BOOT_DEVICE_* option. For all other boards (e.g. 64-bit
Armada) default option still needs to be set manually.
Signed-off-by: Pali Rohár <pali@kernel.org>
-rw-r--r-- | cmd/mvebu/Kconfig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cmd/mvebu/Kconfig b/cmd/mvebu/Kconfig index 9f6ad2d1dd1..029f722096b 100644 --- a/cmd/mvebu/Kconfig +++ b/cmd/mvebu/Kconfig @@ -18,6 +18,10 @@ if CMD_MVEBU_BUBT choice prompt "Flash for image" + default MVEBU_SPI_BOOT if MVEBU_SPL_BOOT_DEVICE_SPI + default MVEBU_NAND_BOOT if MVEBU_SPL_BOOT_DEVICE_NAND + default MVEBU_MMC_BOOT if MVEBU_SPL_BOOT_DEVICE_MMC + default MVEBU_SATA_BOOT if MVEBU_SPL_BOOT_DEVICE_SATA default MVEBU_SPI_BOOT config MVEBU_NAND_BOOT |