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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 69548C433EF for ; Sun, 26 Sep 2021 18:42:50 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id E247F611C3 for ; Sun, 26 Sep 2021 18:42:49 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org E247F611C3 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 819CD83624; Sun, 26 Sep 2021 20:42:29 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (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=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="ISkFfdtO"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 90734835D8; Sun, 26 Sep 2021 20:40:59 +0200 (CEST) Received: from mail-ua1-x932.google.com (mail-ua1-x932.google.com [IPv6:2607:f8b0:4864:20::932]) (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 EEC3683611 for ; Sun, 26 Sep 2021 20:40:34 +0200 (CEST) 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@google.com Received: by mail-ua1-x932.google.com with SMTP id b34so654241uad.8 for ; Sun, 26 Sep 2021 11:40:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:sender:from:in-reply-to:references:date:message-id :subject:to:cc; bh=0rpTFjDgcUfJbG/cdMiqDnIf5jImp2qukyr5K+Qu7IM=; b=ISkFfdtOdnhXYykYj3Fs69uD94c8HpuutKZ2/Nkq4pRwKCXV8HdzbB+tarLwBPCgFr qIR8RVbZPZHIYhFeMuPpHB7c7ux2prO/u6CDdFZrKnkPmcjojqppkMb7GKH0vyKXcawB Imj06VvqKy0nbD2tlxF/M6WuhtrQmQ342eRYA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:sender:from:in-reply-to:references :date:message-id:subject:to:cc; bh=0rpTFjDgcUfJbG/cdMiqDnIf5jImp2qukyr5K+Qu7IM=; b=7TTDEkxXlp4Jb9LB/nS8/QVLwIBSQgW9W9H6/qd0KyBVDQBm8jwmwf0i1N8PEN9Q4g 9ssHWQfGxFjtlVqvMB3OlWVdh+lt9IybWEWAeJteDz57xr8MZ3yxc0FiZD5L/NVO1tHp LA2b2taIQcV1WrZr+qpQAHZ4FhBXbmN0nrKi782+tJBp7mHeba/cTkkle0j3qsV1obGC qCFHswKQG+owoecw4hlLOEliKxou03KFYnHLohbrdgJ5fwNN8uT8BFkrIdXwIjOjjjzK j59bAIGQKIJ/3EN2vvB9CLOZFc9U28Ns3yUVENBRbNY/9bINnqB94TkJCq4Eg0TkpN6+ 1xJA== X-Gm-Message-State: AOAM531GuiAvx8FTXpiUxp9iUG0pfD2h9pHOmTepsPzUEnZf2WTw3Mo6 yL3nCou4jJyQ7G9oJd1F5tBZvta2Br0a5JKZeUvRCQ== X-Google-Smtp-Source: ABdhPJzPFx1NTKJDr/b46l6r9BBdt4PENRKbEaWz0ggEGbai8KgWfZTciATbXvcVMWXGzxtfSM5ItXuWWwFPNIelX/k= X-Received: by 2002:ab0:5bdc:: with SMTP id z28mr1450051uae.35.1632681633146; Sun, 26 Sep 2021 11:40:33 -0700 (PDT) Received: from 480794996271 named unknown by gmailapi.google.com with HTTPREST; Sun, 26 Sep 2021 18:40:32 +0000 MIME-Version: 1.0 From: Simon Glass In-Reply-To: <20210807132413.3513724-3-sjg@chromium.org> References: <20210807132413.3513724-3-sjg@chromium.org> <20210807132413.3513724-1-sjg@chromium.org> Date: Sun, 26 Sep 2021 18:40:32 +0000 X-Google-Sender-Auth: KhBjqznGRDOY6R2tllEpeVRjJOg Message-ID: Subject: Re: [PATCH 02/12] fdt: Create a new OF_REAL Kconfig To: Simon Glass Cc: Tom Rini , Jerry Van Baren , U-Boot Mailing List Content-Type: text/plain; charset="UTF-8" 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.103.2 at phobos.denx.de X-Virus-Status: Clean The condition to indicate whether there is a runtime devicetree available is OF_CONTROL && !OF_PLATDATA. This is a bit unweidly and is repeated in a lot of places. Add a new OF_REAL Kconfig which provides this information directly. Note: This is similar in effect to LIBFDT. We might consider dropping LIBFDT and using this instead, but this is left for now as we also have OF_LIBFDT_OVERLAY which it would not make sense to change. Signed-off-by: Simon Glass --- dts/Kconfig | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) Applied to u-boot-dm/next, thanks!