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 9984AC433EF for ; Mon, 28 Feb 2022 19:10:54 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 61E0183C84; Mon, 28 Feb 2022 20:09:59 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="FhaSdxMg"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 36D0083868; Mon, 28 Feb 2022 20:09:23 +0100 (CET) Received: from mail-ot1-x336.google.com (mail-ot1-x336.google.com [IPv6:2607:f8b0:4864:20::336]) (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 3FABA83BF7 for ; Mon, 28 Feb 2022 20:09:09 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-ot1-x336.google.com with SMTP id w3-20020a056830060300b005ad10e3becaso10287138oti.3 for ; Mon, 28 Feb 2022 11:09:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=o9ILv6CO0A7iFZGNIz74SXaqvriNHOLqrFv/FgiYNyw=; b=FhaSdxMgge4HCYM+VaMaeCsI5Vp/XYQOJNK+BsIyoke+ycV93gv5vM5skLAFAjL21Z cw8dEwWTXM+hI79ts3W07iydKE2d5qjuBzB5efTN6J4qRwYNWqKSlfN1ARzJk1U5AxRi GKg9gB9KwVc2VoBMzcfGSkwsAq+Axyf/KNsNE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=o9ILv6CO0A7iFZGNIz74SXaqvriNHOLqrFv/FgiYNyw=; b=ASlrUAPHkkpp8UXopPBSjbeOAbxGfBXgy6mbQERomBlk8apZVALNitzfVODN/YPhHC hB3Ns6hKQa4VbOL85vy637k+k/od6jSJJcViSTH5XgASlVTEt5SORy0G/GgQwXnh6a0U jutnIQeXJct9lSgMUuQtmSyBxEhAPWshvH/+y6KqDyDG7lR8QrYB1hrOnKDj7M9czIpS +35A/nwOTeTZGMotDw4nnyYV/S3o7aX+cIrat7zIaQkbiGcxX75p2ctLMrC+BHdaWbZ1 0NJqMcxJLhP/e7d7h6gekwJk+FXgkr0XNgkCnrIrxnJeaheTi6r/LOQRA7vINmVB4Ksj HLmQ== X-Gm-Message-State: AOAM5324C6sv90KTl0cJ0BdGe9SjYxmQGGs2YJ85uFyKsLEjUbaKzSyJ HYHP/RxDiE+AfLfrLp4G/SbhZIyfj03R0Q== X-Google-Smtp-Source: ABdhPJwuQnFQoVjxroZfsQe9+Ed2rylGUMOUN7k12xRc6IW+U2o/lyQ7FpEISOGv/v+Syapy54+63g== X-Received: by 2002:a9d:807:0:b0:5ad:c1da:1e19 with SMTP id 7-20020a9d0807000000b005adc1da1e19mr9963942oty.136.1646075347729; Mon, 28 Feb 2022 11:09:07 -0800 (PST) Received: from kiwi.bld.corp.google.com (c-67-190-101-114.hsd1.co.comcast.net. [67.190.101.114]) by smtp.gmail.com with ESMTPSA id f188-20020a4a58c5000000b0031ccb8272f1sm5290577oob.33.2022.02.28.11.09.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Feb 2022 11:09:07 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Simon Glass , Jerry Van Baren Subject: [PATCH 07/18] fdt: sandbox: Avoid looking for an appended device tree Date: Mon, 28 Feb 2022 12:08:24 -0700 Message-Id: <20220228190835.1480772-8-sjg@chromium.org> X-Mailer: git-send-email 2.35.1.574.g5d30c73bfb-goog In-Reply-To: <20220228190835.1480772-1-sjg@chromium.org> References: <20220228190835.1480772-1-sjg@chromium.org> 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.5 at phobos.denx.de X-Virus-Status: Clean We don't use an appended tree for sandbox and the required symbols are not present. Add a condition to avoid a build error. Signed-off-by: Simon Glass --- lib/fdtdec.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/fdtdec.c b/lib/fdtdec.c index 086f0c732a..0c0ec034ec 100644 --- a/lib/fdtdec.c +++ b/lib/fdtdec.c @@ -1225,6 +1225,9 @@ static void *fdt_find_separate(void) { void *fdt_blob = NULL; + if (IS_ENABLED(CONFIG_SANDBOX)) + return NULL; + #ifdef CONFIG_SPL_BUILD /* FDT is at end of BSS unless it is in a different memory region */ if (CONFIG_IS_ENABLED(SEPARATE_BSS)) -- 2.35.1.574.g5d30c73bfb-goog