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 796DEC433FE for ; Tue, 26 Oct 2021 03:30:09 +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 E31A860FD7 for ; Tue, 26 Oct 2021 03:30:08 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org E31A860FD7 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 3A16A83535; Tue, 26 Oct 2021 05:30:00 +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=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="TZhL3YKH"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 14A0283535; Tue, 26 Oct 2021 05:29:44 +0200 (CEST) Received: from mail-vk1-xa34.google.com (mail-vk1-xa34.google.com [IPv6:2607:f8b0:4864:20::a34]) (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 E4164834AB for ; Tue, 26 Oct 2021 05:29:38 +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-vk1-xa34.google.com with SMTP id u130so6261775vku.2 for ; Mon, 25 Oct 2021 20:29:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=JjH4t+7WQom5keGGFINLvvTqAetBZ6hM9tsoNWCNwcs=; b=TZhL3YKHWvmeQ2wb0Fjlr1sVIITLowoZLLOBJ0wvMsaRv8T95/igo3rtPUHl2scz4B IgaqXwmcCmlxck58fZqgsbCSJL/6H0aK3Ip1BITLClLykwSgjCkDLkehHk8vVWKRzk/P G9VL25I+WUQWkmLq42hUiLlBBWAWdqKo0Vmvg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=JjH4t+7WQom5keGGFINLvvTqAetBZ6hM9tsoNWCNwcs=; b=1rfdkElxgnsQjCJ4MESSHveil41LcE6IXQcd5AZ1MV8WRpX66iebA1nJp4cAPvQWni HIlPOExzMUTHuAVA6Ic0IgrPkuu+2i045NuRdei1tA3RNozYPj1dc8ta1SmdamdmHns8 Cf7RTbtChUtIXYbTPNh5dG/7Dj/R5p6qNETR5JbrQHe3geDDxQGuYyq27nWeqzP0Sxth A8NV878w3QHYLSMH++/V3AKwyvD/f0cJLN6R8lNOej7Ou5qMCiU1pPUAR0URmSBuuHLv yUL74wvOO9oECMbC6dhgXksVi9Sma7dvzMaA79iU3RVzqFzEDLbLXe9fMR5qUHqabCby zuYA== X-Gm-Message-State: AOAM530OzYJI5zr6+9beyyaWVt1MtDM8xPPq4C7BvO70ugsWfue7UrkM 4NDdj0mFm5rAeZr3icSLQ/2AT0CXkPT7dxWPHNKbiA== X-Google-Smtp-Source: ABdhPJywMnQDxdtGrowRWYVlUnX9O6t20qD0Ew6852J8DKkpcC5eagfBmNXGnrQM3owT6uNKG1fuhvEHLZOBGsOaFQ0= X-Received: by 2002:a05:6122:8cf:: with SMTP id 15mr18441183vkg.16.1635218977571; Mon, 25 Oct 2021 20:29:37 -0700 (PDT) MIME-Version: 1.0 References: <20210925003055.759305-1-sjg@chromium.org> <20210925003055.759305-5-sjg@chromium.org> <7845311f-0e31-e5bf-9e08-f163f03db592@gmx.de> In-Reply-To: <7845311f-0e31-e5bf-9e08-f163f03db592@gmx.de> From: Simon Glass Date: Mon, 25 Oct 2021 21:29:25 -0600 Message-ID: Subject: Re: [PATCH v2 09/39] efi: Drop the OF_EMBED warning for EFI To: Heinrich Schuchardt Cc: U-Boot Mailing List , Bin Meng , Christian Melki , Tom Rini , Ilias Apalodimas , Alexander Graf 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 Hi Heinrich, On Sat, 23 Oct 2021 at 05:42, Heinrich Schuchardt wrote: > > > > On 9/25/21 02:30, Simon Glass wrote: > > For the EFI app, we must embed the devicetree in the ELF file since that > > is the only thing that is run by UEFI. Drop the warning to avoid > > confusion. > > > > Signed-off-by: Simon Glass > > --- > > > > Changes in v2: > > - Add new patch to drop the OF_EMBED warning for EFI > > > > Makefile | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/Makefile b/Makefile > > index a09f48f84b2..784efd4ef6e 100644 > > --- a/Makefile > > +++ b/Makefile > > @@ -1087,7 +1087,7 @@ endif > > ifeq ($(CONFIG_DEPRECATED),y) > > $(warning "You have deprecated configuration options enabled in your .config! Please check your configuration.") > > endif > > -ifeq ($(CONFIG_OF_EMBED),y) > > +ifeq ($(CONFIG_OF_EMBED)$(CONFIG_EFI_APP),y) > > @echo >&2 "===================== WARNING ======================" > > @echo >&2 "CONFIG_OF_EMBED is enabled. This option should only" > > @echo >&2 "be used for debugging purposes. Please use" > > There are 47 defconfigs and 5 include/configs/*.h using CONFIG_OF_EMBED. > doc/board/intel/slimbootloader.rst and doc/board/coreboot/coreboot.rst > require to use it for building U-Boot. > > Is there a migration requirement and plan? Actually people were never supposed to use it. I sent a series today which cleans this up quite a bit, so that I think many of the boards using OF_EMBED can drop it. TBD though. Regards, Simon