From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id EF5BBC61DA3 for ; Tue, 21 Feb 2023 22:48:20 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id AFAD585A73; Tue, 21 Feb 2023 23:48:18 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="JVnzyGNw"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 817BB85A6B; Tue, 21 Feb 2023 23:48:16 +0100 (CET) Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id A501285A6C for ; Tue, 21 Feb 2023 23:48:13 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=pali@kernel.org Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 4C8A5B81107 for ; Tue, 21 Feb 2023 22:48:13 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E94BBC433D2 for ; Tue, 21 Feb 2023 22:48:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1677019692; bh=HeesVZdTbGjXKOCKpdraDnd/7ZLSx2FFwRZ2nzRzSyc=; h=Resent-From:Resent-Date:Resent-To:From:To:Cc:Subject:Date: In-Reply-To:References:From; b=JVnzyGNwhyxIo+H4O3AL+CGQYuPIBcpyMdi/GqKOfkin7dkPxdorkhFf2yBwwnIdv pyfDQg/q76Xuxto9II+Q+6CtT/3QhXFJ7u6u4H6hr2qBolBufM5jG0Gxk08CVnVyVj OsAciZt7HDu4vxxcUxs8d2WJYAWDOS4w+/PqqwcH7aF8iynnbFDFx9G8tuMZ1YllmR ULL7Q1egTahiuABEqAOL+yJvugM10nqFx5qyU1PGUethlgKVl2VfflOx9QYKn5mix/ 0PKxLQaNiIuYfxZ43Yk/hc+18l5QgWeVxEFif8lBYRv1MmDw1FJxUt3EMBg+0r8AJZ LTzIo0Qt3weag== Received: by pali.im (Postfix) id 9DE1F70C; Tue, 21 Feb 2023 23:48:09 +0100 (CET) Resent-From: Pali =?utf-8?B?Um9ow6Fy?= Resent-Date: Tue, 21 Feb 2023 23:48:09 +0100 Resent-Message-ID: <20230221224809.wxwudtd34rgxfkbd@pali> Resent-To: u-boot@lists.denx.de Received: by pali.im (Postfix) id 1EFD89E0; Tue, 21 Feb 2023 21:22:32 +0100 (CET) From: =?UTF-8?q?Pali=20Roh=C3=A1r?= To: u-boot@lists.denx.de Cc: Stefan Roese , Tony Dinh , Josua Mayer Subject: [PATCH RFC u-boot-mvebu 27/59] cmd: mvebu/bubt: Set correct default image name for 32-bit Armada SoCs Date: Tue, 21 Feb 2023 21:18:53 +0100 Message-Id: <20230221201925.9644-28-pali@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20230221201925.9644-1-pali@kernel.org> References: <20230221201925.9644-1-pali@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean 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 --- cmd/mvebu/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/mvebu/Kconfig b/cmd/mvebu/Kconfig index 8f30a0c22be3..9f6ad2d1dd16 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 -- 2.20.1