Message ID | 20210908133405.696481-13-sjg@chromium.org |
---|---|
State | Changes Requested |
Delegated to: | Heinrich Schuchardt |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.a=rsa-sha256 header.s=google header.b=Bb/wMOwI; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (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 4H4NY22fjyz9sW4 for <incoming@patchwork.ozlabs.org>; Wed, 8 Sep 2021 23:39:50 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id ACA7783395; Wed, 8 Sep 2021 15:36:26 +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="Bb/wMOwI"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 9DA4783469; Wed, 8 Sep 2021 15:35:17 +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=-2.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) (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 E4F4383407 for <u-boot@lists.denx.de>; Wed, 8 Sep 2021 15:34:52 +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@chromium.org Received: by mail-wm1-x330.google.com with SMTP id y132so1775971wmc.1 for <u-boot@lists.denx.de>; Wed, 08 Sep 2021 06:34:52 -0700 (PDT) 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=qOhgciaMRSxyqESCRQq853FuKuoMY+7nxCUPniCcICg=; b=Bb/wMOwIbF3tgQIZWyBfPZEGVE7QVqUC5kf1ilhj6zgK/MfBtluBAlDkzaWLBDyvpK EkuUCjTq97nAowAlU+eQo/E9MyzBS5Ia2RvbgmXeQxoBWjYNAi+ENgl4n9UkGv9SXjBT 9pncFwvtxW8MJ/PGeA2aq5vNzKe4HYSVxM5TA= 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=qOhgciaMRSxyqESCRQq853FuKuoMY+7nxCUPniCcICg=; b=1uob5ssZVy5VZo06V35zrx7jMsmhB5BsXked4/w8oHnE6HXOA+WDmvidMj+xMiV9u6 ybk8s9kq/qZZS5yW4ftVIqz5ixBgkLhMUKPIFGoPiR8414+w8rwU1h5r+p1WC2BTxAY8 OzNX1bxSEsZlt9RptBs6UyBO0uD+VkicKWNyZyG1AVNacmmpM5Dia/dknSUi+11Cokk5 Scq1IU40mvXvRUZDQxePlv8BP2pEAXVtPOLUSiLfB+Ozc6MPt9aI7d1hbwq2+6fHLs32 rxVDjOUXIq6P40hOKUGA+cnUT4zY7NNXIOJETypRG2w1ibGOd3dU0fs7doRj/6b3k8ff Dk2g== X-Gm-Message-State: AOAM532N6fkeG4uzAkoCLpj2upXKLMN1O6ATp69oBmjYrvvSRbXfzVdV ZSuATrcAivzqcH2gKHRcYgGuwTmu1H4L8hAN X-Google-Smtp-Source: ABdhPJwqOi35cmCUxiWQzJfnyyQSBhipGIYEDiqzjgHL/F2gcHRmFspjZecP3INOZTIQQfEBc4YMeQ== X-Received: by 2002:a7b:cbc9:: with SMTP id n9mr3727735wmi.50.1631108092161; Wed, 08 Sep 2021 06:34:52 -0700 (PDT) Received: from sjg1.roam.corp.google.com (82-69-54-180.dsl.in-addr.zen.co.uk. [82.69.54.180]) by smtp.gmail.com with ESMTPSA id l2sm2209065wmi.1.2021.09.08.06.34.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Sep 2021 06:34:51 -0700 (PDT) From: Simon Glass <sjg@chromium.org> To: U-Boot Mailing List <u-boot@lists.denx.de> Cc: Ilias Apalodimas <ilias.apalodimas@linaro.org>, Heinrich Schuchardt <xypron.glpk@gmx.de>, Bin Meng <bmeng.cn@gmail.com>, Tom Rini <trini@konsulko.com>, Christian Melki <christian.melki@t2data.com>, Simon Glass <sjg@chromium.org>, Alexander Graf <agraf@csgraf.de> Subject: [PATCH 28/35] efi: Fix ll_boot_init() operation with the app Date: Wed, 8 Sep 2021 07:33:58 -0600 Message-Id: <20210908133405.696481-13-sjg@chromium.org> X-Mailer: git-send-email 2.33.0.153.gba50c8fa24-goog In-Reply-To: <20210908133405.696481-1-sjg@chromium.org> References: <20210908133405.696481-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean |
Series |
efi: Improvements to U-Boot running on top of UEFI
|
expand
|
diff --git a/include/init.h b/include/init.h index c781789e367..6d682b02b05 100644 --- a/include/init.h +++ b/include/init.h @@ -15,7 +15,7 @@ #include <linux/types.h> /* Avoid using CONFIG_EFI_STUB directly as we may boot from other loaders */ -#ifdef CONFIG_EFI_STUB +#ifdef CONFIG_EFI #define ll_boot_init() false #else #include <asm/global_data.h>
This should return false when the EFI app is running, since UEFI has done the required low-level init. Fix it. Signed-off-by: Simon Glass <sjg@chromium.org> --- include/init.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)