From patchwork Thu Sep 3 10:02:14 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 1356460 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.a=rsa-sha256 header.s=20150623 header.b=MBtlSzOM; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4BhxF04Fdtz9sTM for ; Thu, 3 Sep 2020 20:02:27 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0A199822CD; Thu, 3 Sep 2020 12:02:24 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.b="MBtlSzOM"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 943CE822D5; Thu, 3 Sep 2020 12:02:22 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-ed1-x541.google.com (mail-ed1-x541.google.com [IPv6:2a00:1450:4864:20::541]) (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 92A74822CA for ; Thu, 3 Sep 2020 12:02:19 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=monstr@monstr.eu Received: by mail-ed1-x541.google.com with SMTP id i1so1912447edv.2 for ; Thu, 03 Sep 2020 03:02:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=2l433vOm73UmTphsVP7A3Er+k72Dbyeo0YDyseVIUCw=; b=MBtlSzOMHf7Rn01fI0GGT1NaIulDCA2eu3nJx5ouk/kUQA6bvh4uRRWkRe4hpC+Zbi 3w8vg18Z+gIz5XLniBs1Bob2+15kxsatIiSFc2OvBwYegpfCXh7lVAGXd2cp3kfG42oY nyVL3mWJxQsAp5Qw4fdLi0vlV3yzJSXu0tZSp6q939TrEtKsMOU4VkIYgq5c7+LIccba 5B+1uAyengLdHWrEmSFzJ+2gjMGE1Sq7bLlJZ/TAmVPakp0zB3TshnVPWyf64vXv7bGc +pqYe4atHEUmoYEm07LBcGGU8ibHwK5tlz50AVVZYimU+Xk9EqzRwlZg86m3vGVjlaw3 G4tg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=2l433vOm73UmTphsVP7A3Er+k72Dbyeo0YDyseVIUCw=; b=V8sXbCme3GheAAOWv2oIF1zDdaVXORp3OSKk0BeqS3T+ptu7xc+N/AxN8CxqftzvoW MYn/ZkjByhxcQiLsYKPFqMcd5x4YwgmvEuoEfWXNAA0JgpzslobAOyTbzEZpDbCs+H3E i6H5LOjWuwHisIO+lpNH5faVynSXLVf+zK28gdvJBysHXnr0uiMZhGomT9P3DUNC9ZEY Le2ipbzc+tVU+5oj3/LguzeQuF5NpqI2LrU+5G5el3iekKGmhRnKkEOYBaRiTHhIShs0 UZlXVLKMvkjFkqRgN6iHqj5Dfgi2iHber5U37uhm9Ktthli+Mea5G1m+x4rVbV6pBGwi ZzQA== X-Gm-Message-State: AOAM531j7jEZ4FRWu54xSgak6UfXqqrieiuQnkkgMc0kjuGygugGAfCY RNxUndtQI9A5vgajJlljuoTZliGLt/h4zQ== X-Google-Smtp-Source: ABdhPJx70TT4oOtrJXaPKGWKKk28xVVug3qt6K1KaE/X1e1c9k93CM4UqRB7dXSBLMS901lfx4z4aQ== X-Received: by 2002:aa7:dd01:: with SMTP id i1mr2214581edv.121.1599127338804; Thu, 03 Sep 2020 03:02:18 -0700 (PDT) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id p9sm2693179ejg.120.2020.09.03.03.02.18 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 03 Sep 2020 03:02:18 -0700 (PDT) From: Michal Simek To: u-boot@lists.denx.de, git@xilinx.com Cc: Adam Ford , Anatolij Gustschin , Bin Meng , Harald Seiler , Joel Johnson , Lukasz Majewski , Reuben Dowle , Simon Glass , Simon Goldschmidt Subject: [PATCH] spl: Kconfig: Record proper dependency for SPL_ATF Date: Thu, 3 Sep 2020 12:02:14 +0200 Message-Id: <428b9a306ba354b8956662e6077b6ead4122c5ca.1599127332.git.michal.simek@xilinx.com> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.102.3 at phobos.denx.de X-Virus-Status: Clean ATF support was all the time based on FIT image support but this dependency is not recorded anywhere. For !SPL_FIT && SPL_ATF there is compilation error: common/spl/spl.c: In function 'board_init_r': common/spl/spl.c:689:26: error: 'struct spl_image_info' has no member named 'fdt_addr' 689 | spl_fixup_fdt(spl_image.fdt_addr); Signed-off-by: Michal Simek Reviewed-by: Simon Glass --- common/spl/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/spl/Kconfig b/common/spl/Kconfig index af8255a8d6ab..a7fabda969d4 100644 --- a/common/spl/Kconfig +++ b/common/spl/Kconfig @@ -1271,7 +1271,7 @@ config SPL_YMODEM_SUPPORT config SPL_ATF bool "Support ARM Trusted Firmware" - depends on ARM64 + depends on ARM64 && SPL_FIT help ATF(ARM Trusted Firmware) is a component for ARM AArch64 which is loaded by SPL (which is considered as BL2 in ATF terminology).