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 659C4C352A1 for ; Wed, 7 Dec 2022 11:43:37 +0000 (UTC) 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) 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 ; 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 ; 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 To: Bharat Gooty , Rayagonda Kokatanur , Sean Anderson , Andre Przywara , Simon Glass , Ilias Apalodimas , Philippe Reynes , Sughosh Ganu , Heinrich Schuchardt , Rasmus Villemoes , Eugen Hristev , =?UTF-8?q?Pali=20Roh=C3=A1r?= , Stefan Roese , Minkyu Kang , Loic Poulain , u-boot@lists.denx.de, ycliang@andestech.com, bmeng.cn@gmail.com, rickchen36@gmail.com Cc: Kautuk Consul 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 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 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 --- common/spl/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- 2.34.1