Message ID | 20221207114236.2906956-4-kconsul@ventanamicro.com |
---|---|
State | Accepted |
Commit | ac14155a2a73b7f517ef356c1bf823b9f0eaf88d |
Delegated to: | Andes |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=ventanamicro.com header.i=@ventanamicro.com header.a=rsa-sha256 header.s=google header.b=lVv9DgXy; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4NRwQz2TP6z23pB for <incoming@patchwork.ozlabs.org>; Wed, 7 Dec 2022 22:43:39 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id A0AA9855CF; Wed, 7 Dec 2022 12:43:25 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=ventanamicro.com 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=ventanamicro.com header.i=@ventanamicro.com header.b="lVv9DgXy"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 80579855BB; Wed, 7 Dec 2022 12:43:19 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-oa1-x33.google.com (mail-oa1-x33.google.com [IPv6:2001:4860:4864:20::33]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 4AD30855A4 for <u-boot@lists.denx.de>; Wed, 7 Dec 2022 12:43:16 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=ventanamicro.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=kconsul@ventanamicro.com Received: by mail-oa1-x33.google.com with SMTP id 586e51a60fabf-1442977d77dso19835349fac.6 for <u-boot@lists.denx.de>; Wed, 07 Dec 2022 03:43:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=McLWgO7gGh2EBY/mZZPqc8mUy+Re8S1dDRkmzuzaYA8=; b=lVv9DgXy13zfEvmINIq/8QvPe+2/lcBzMacc6h4cEmhHb8AzjemZgjhXWqAD3rSQvY eny/IemEXqDao6gx7dXqsPBRWyySX2NumbE2kdRS6isGhL68LT1XzcVyxnr00awTN2EL QO/RV94FA04eqPTQN9J4AysblyByVjl2SNUR7H0ijaknaaGmn7b+V2NS4NinLaYaBv2Q NUabCuLsdysQ08tNIrfcDJ4qOUkbesBF8xYoWHfiA3dvj6ELBCeskxmOp+nc3Mrwtsue y56rnj346o6JfMxQkMrS14AJ4gaH2jynVXudzVcLlsFh7+s++0X3eCohlKP5mxUh3gjZ FKQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=McLWgO7gGh2EBY/mZZPqc8mUy+Re8S1dDRkmzuzaYA8=; b=MXkzwobk6OLyJ5extuU9VlNncZvaF2JgyU6rX2tPP1jFbKcVNfLKgrCOqfsMCd8u/h 5DfdzBemVxh+dJL4BlUKvCiwCWANK2rPP0BnXu4n8sLRMvXLaieHp5dd/eS2iyVlk3gc OIXsyPZh4eTYiW61TfZtW95QkwcGZ3BT1Vll07RnfqSZg8ugOzvk3wY3keY1R0GjRy46 DHNbOqbsiq1fJf5+Zs/bbvuZMypxs40tdCld8t7c5RSCiYaakt0oZp38tbq2wUUNcl6L IaTsZj3sfKqi2oPlv5nTmLT6OxfOd8DNTg4UhY9xsbfzCFL5NGrAtPsOAfbaIn/godWw Y13A== X-Gm-Message-State: ANoB5pmo1rz2oIbJuZL5xw0LCzwnauSV7f2UZoS/gVhJEdZhgKC+jOvw ovR/Qo4qb7wDcpEZYbtsz4wCgA== X-Google-Smtp-Source: AA0mqf4s+v1N5SUr7fcruRpOhCBmYmTdqLv/hszf8F3FczXNxxEmkoKpZ/iUTU2wY/28rhiBxZerzg== X-Received: by 2002:a05:6870:797:b0:12c:e772:2424 with SMTP id en23-20020a056870079700b0012ce7722424mr43085403oab.176.1670413394835; Wed, 07 Dec 2022 03:43:14 -0800 (PST) Received: from performance-PowerEdge-T440.. ([103.97.165.210]) by smtp.googlemail.com with ESMTPSA id o31-20020a056871079f00b00143065d3e99sm12082302oap.5.2022.12.07.03.43.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Dec 2022 03:43:14 -0800 (PST) From: Kautuk Consul <kconsul@ventanamicro.com> To: Bharat Gooty <bharat.gooty@broadcom.com>, Rayagonda Kokatanur <rayagonda.kokatanur@broadcom.com>, Sean Anderson <sean.anderson@seco.com>, Andre Przywara <andre.przywara@arm.com>, Simon Glass <sjg@chromium.org>, Ilias Apalodimas <ilias.apalodimas@linaro.org>, Philippe Reynes <philippe.reynes@softathome.com>, Sughosh Ganu <sughosh.ganu@linaro.org>, Heinrich Schuchardt <xypron.glpk@gmx.de>, Rasmus Villemoes <rasmus.villemoes@prevas.dk>, Eugen Hristev <eugen.hristev@microchip.com>, =?utf-8?q?Pali_Roh=C3=A1r?= <pali@kernel.org>, Stefan Roese <sr@denx.de>, Minkyu Kang <mk7.kang@samsung.com>, Loic Poulain <loic.poulain@linaro.org>, u-boot@lists.denx.de, ycliang@andestech.com, bmeng.cn@gmail.com, rickchen36@gmail.com Cc: Kautuk Consul <kconsul@ventanamicro.com> Subject: [PATCH v6 3/3] common/spl/Kconfig: add dependency on SPL_SEMIHOSTING for SPL payload Date: Wed, 7 Dec 2022 17:12:36 +0530 Message-Id: <20221207114236.2906956-4-kconsul@ventanamicro.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221207114236.2906956-1-kconsul@ventanamicro.com> References: <20221207114236.2906956-1-kconsul@ventanamicro.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean |
Series |
Add riscv semihosting support in u-boot
|
expand
|
diff --git a/common/spl/Kconfig b/common/spl/Kconfig index fef01bdd7d..6c4848f3b9 100644 --- a/common/spl/Kconfig +++ b/common/spl/Kconfig @@ -691,7 +691,7 @@ config SPL_FS_FAT config SPL_FS_LOAD_PAYLOAD_NAME string "File to load for U-Boot from the filesystem" - depends on SPL_FS_EXT4 || SPL_FS_FAT || SPL_FS_SQUASHFS + depends on SPL_FS_EXT4 || SPL_FS_FAT || SPL_FS_SQUASHFS || SPL_SEMIHOSTING default "tispl.bin" if SYS_K3_SPL_ATF default "u-boot.itb" if SPL_LOAD_FIT default "u-boot.img"
When we enable CONFIG_SPL and CONFIG_SPL_SEMIHOSTING then the code in common/spl/spl_semihosting.c tries to use the CONFIG_SPL_FS_LOAD_PAYLOAD_NAME string which remains undeclared unless SPL_FS_EXT4 || SPL_FS_FAT || SPL_FS_SQUASHFS are configured. Add a dependency of SPL_SEMIHOSTING in the depends for SPL_FS_LOAD_PAYLOAD_NAME so that the code compiles fine. Signed-off-by: Kautuk Consul <kconsul@ventanamicro.com> --- common/spl/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)