Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1k0gFW-00042s-Qr for mharc-grub-devel@gnu.org; Wed, 29 Jul 2020 03:11:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37546) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k0gFT-000428-LT for grub-devel@gnu.org; Wed, 29 Jul 2020 03:11:35 -0400 Received: from out4436.biz.mail.alibaba.com ([47.88.44.36]:14125) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k0gFO-0007sv-KS for grub-devel@gnu.org; Wed, 29 Jul 2020 03:11:33 -0400 X-Alimail-AntiSpam: AC=PASS; BC=-1|-1; BR=01201311R901e4; CH=green; DM=||false|; DS=||; FP=0|-1|-1|-1|0|-1|-1|-1; HT=e01e01358; MF=tianjia.zhang@linux.alibaba.com; NM=1; PH=DS; RN=2; SR=0; TI=SMTPD_---0U484jKc_1596006670; Received: from localhost(mailfrom:tianjia.zhang@linux.alibaba.com fp:SMTPD_---0U484jKc_1596006670) by smtp.aliyun-inc.com(127.0.0.1); Wed, 29 Jul 2020 15:11:10 +0800 From: Tianjia Zhang To: grub-devel@gnu.org Cc: tianjia.zhang@linux.alibaba.com Subject: [PATCH] shim_lock: Enable module for all EFI platforms Date: Wed, 29 Jul 2020 15:11:09 +0800 Message-Id: <20200729071109.48906-1-tianjia.zhang@linux.alibaba.com> X-Mailer: git-send-email 2.17.1 Received-SPF: pass client-ip=47.88.44.36; envelope-from=tianjia.zhang@linux.alibaba.com; helo=out4436.biz.mail.alibaba.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/29 03:11:24 X-ACL-Warn: Detected OS = Linux 3.1-3.10 X-Spam_score_int: -105 X-Spam_score: -10.6 X-Spam_bar: ---------- X-Spam_report: (-10.6 / 5.0 requ) BAYES_00=-1.9, ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001, USER_IN_DEF_SPF_WL=-7.5 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jul 2020 07:11:35 -0000 Like tpm, the module is only enabled for x86_64, but there's nothing specific to x86_64 in the implementation and can be enabled for all EFI platforms. Signed-off-by: Tianjia Zhang --- grub-core/Makefile.core.def | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grub-core/Makefile.core.def b/grub-core/Makefile.core.def index 166b444c7..b5f47fc41 100644 --- a/grub-core/Makefile.core.def +++ b/grub-core/Makefile.core.def @@ -950,7 +950,7 @@ module = { module = { name = shim_lock; common = commands/efi/shim_lock.c; - enable = x86_64_efi; + enable = efi; }; module = { -- 2.17.1