summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPali Rohár <pali@kernel.org>2023-01-08 14:01:03 +0100
committerStefan Roese <sr@denx.de>2023-03-01 06:39:17 +0100
commitc766c097ef597816e711c6362b4c301212590910 (patch)
tree2aab2244596a8b9dbfdc78c14df8b1082d813d9d
parentf5860c567b1f150141b919df573a8bdeb346a7ed (diff)
cmd: mvebu/bubt: Set correct default image name for 32-bit Armada SoCs
32-bit Armada SoCs uses u-boot binary packed in kwbimage format. Name of the image is in CONFIG_BUILD_TARGET option. So use it as a default option in Kconfig. Signed-off-by: Pali Rohár <pali@kernel.org>
-rw-r--r--cmd/mvebu/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/mvebu/Kconfig b/cmd/mvebu/Kconfig
index 8f30a0c22be..9f6ad2d1dd1 100644
--- a/cmd/mvebu/Kconfig
+++ b/cmd/mvebu/Kconfig
@@ -60,6 +60,7 @@ endchoice
config MVEBU_UBOOT_DFLT_NAME
string "Default image name for bubt command"
+ default BUILD_TARGET if ARMADA_32BIT && BUILD_TARGET != ""
default "flash-image.bin"
help
This option should contain a default file name to be used with