Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4DD8AC48BC2 for ; Sun, 27 Jun 2021 19:45:02 +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 329E361606 for ; Sun, 27 Jun 2021 19:45:00 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 329E361606 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0ADBC829AE; Sun, 27 Jun 2021 21:44:59 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id C2FF782C5C; Sun, 27 Jun 2021 21:44:57 +0200 (CEST) Received: from mail-qk1-f174.google.com (mail-qk1-f174.google.com [209.85.222.174]) (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 B46D08291E for ; Sun, 27 Jun 2021 21:44:54 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=tom.rini@gmail.com Received: by mail-qk1-f174.google.com with SMTP id bj15so25180095qkb.11 for ; Sun, 27 Jun 2021 12:44:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=ovnB8CMjVkG7qBY/yMMPmzHMhk32mKrqhe1Wk3fx2ZE=; b=hJdJjklDB8ol+VsddD7x+BgzhdiD8N10C69ANZzYubu6v63erR2VHbcmssrEJR33Rn GjbgJ+RsT5tHVX5VLsVtxTwogBWLCqYL79L5y5QW5Ciw2XLPM66kPCd1dQ3/e1ud3Z+h JWfECDoxuUdL7UZvWZpESqyrBC7l6MK81hpOLD/nsALqNFU5L7jHQPBAW6UNKW8fv5LZ s4BFk6XXoEzVW53j6xbWhM3EOItmL3NbaBXyXiMTfpeWSvdf/sSMUlRk0OJyZYnPHxqm kIOj6x4Cj5Mz7HAVJhKO2bnfSzE8gKZsAo7dQsNtun2b5Z2r4QtottTu8nZ/y4vkK87W dKxA== X-Gm-Message-State: AOAM532mSWt0KGCVJuUPVovqUgAaJM0UsVE+dY0hhX5PmVO+3ptmVvb7 F27H07cTOH51dbz7JFm3e2TK/24ApaUp X-Google-Smtp-Source: ABdhPJz8XDYxvxMAiLi996qJzvwSXGT7DJOT8n4BJaHnK4vwmFphLSoUAnX0OnykB1/r86IMRbsHyQ== X-Received: by 2002:a05:620a:21cc:: with SMTP id h12mr18900499qka.342.1624823093230; Sun, 27 Jun 2021 12:44:53 -0700 (PDT) Received: from bill-the-cat.lan (2603-6081-7b01-cbda-2808-537e-3f88-1d98.res6.spectrum.com. [2603:6081:7b01:cbda:2808:537e:3f88:1d98]) by smtp.gmail.com with ESMTPSA id p64sm2797466qka.114.2021.06.27.12.44.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Jun 2021 12:44:52 -0700 (PDT) From: Tom Rini To: u-boot@lists.denx.de Cc: Alexander Graf , Heinrich Schuchardt , Ilias Apalodimas , Mark Kettenis , Masahisa Kojima , Peter Robinson , Sughosh Ganu , Vagrant Cascadian Subject: [PATCH] efi_loader: Do not enable by default on armv7 Date: Sun, 27 Jun 2021 15:44:49 -0400 Message-Id: <20210627194449.18840-1-trini@konsulko.com> X-Mailer: git-send-email 2.17.1 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 We have had EFI loader support enabled by default on armv7 platforms for a long time now. However, there has been little uptake in the wider community to use EFI loader support as the step to start a generic OS distribution, on this architecture family and the focus has been on armv8 instead. Disable this by default for armv7 only. Cc: Alexander Graf Cc: Heinrich Schuchardt Cc: Ilias Apalodimas Cc: Mark Kettenis Cc: Masahisa Kojima Cc: Peter Robinson Cc: Sughosh Ganu Cc: Vagrant Cascadian Signed-off-by: Tom Rini --- I'm very much looking for feedback here that this is the wrong approach and that I've missed the off the shelf distributions that make use of this. --- lib/efi_loader/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/efi_loader/Kconfig b/lib/efi_loader/Kconfig index 6242caceb7f9..8a22fe9951a3 100644 --- a/lib/efi_loader/Kconfig +++ b/lib/efi_loader/Kconfig @@ -10,7 +10,7 @@ config EFI_LOADER depends on !EFI_STUB || !X86_64 || EFI_STUB_64BIT # We need EFI_STUB_32BIT to be set on x86_32 with EFI_STUB depends on !EFI_STUB || !X86 || X86_64 || EFI_STUB_32BIT - default y if !ARM || SYS_CPU = armv7 || SYS_CPU = armv8 + default y if !ARM || SYS_CPU = armv8 select LIB_UUID select HAVE_BLOCK_DEVICE select REGEX -- 2.17.1