From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Wed, 03 Jan 2024 19:14:50 +0100 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1rL5lS-002LxO-35 for lore@lore.pengutronix.de; Wed, 03 Jan 2024 19:14:50 +0100 Received: from bombadil.infradead.org ([2607:7c80:54:3::133]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rL5lR-0005M1-Pu for lore@pengutronix.de; Wed, 03 Jan 2024 19:14:50 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=2hQZXNS3YXObg0ENJQOPmXNjcE9HgxUBM8ZgPD85Hes=; b=fi+u1IExA6xXGxvc01ndDlWmSV jn7Dx9+OEZT+/VmrxAe0f4ezsi+O2EqG85GT99kcwDM7vtsNJDYfUWHR2FY2PZ/7vszeXZxt/A/OJ k6l7pPac0eFwxw8I/kCQdFz+X8IUzPD1rH6FWMNPNjc6UCbdIfkXOjfV+vT+zjuPXhFF1lqWcWkXX Mi/9tVgR+PVJGos3dd/8+4yVN08wrDRLMivhYfccQKzgfAicUIfrVCeWCDSarjIvHKFMrA5aq8YL1 qIOgT7/yCB0VlBUrhb4Ysz05NO0jNPl2IuE9HKOKlXcf8trEJXD7z61l3bJeWSmlNIZbTDtrzmb50 hw71iMhg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rL5kI-00Bdzx-0s; Wed, 03 Jan 2024 18:13:38 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rL5kE-00Bdxa-1F for barebox@bombadil.infradead.org; Wed, 03 Jan 2024 18:13:34 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:MIME-Version :References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=2hQZXNS3YXObg0ENJQOPmXNjcE9HgxUBM8ZgPD85Hes=; b=B8QCAOmSruWlviVKeC6D1yxhMZ b2TW0s2Lb/xyaCSB9JJypa2liE8vHU4+bS0Bt3MXx5m3MubZfUQkGKmgmVm9d4QFfJB9NLXa12ydR 3xoDARk2WM4xCMlfYkiIMHqGLZelj3zr6TRiAjgfzzyfhVwaV9hIEsXk15+sDIp2AB/0WIP81kMDC KirpZqywaN6lINPKmmkfq7/6CTxePo6GkOZNKgMNd6J2n/J3X9j9SxdwjkodqRMz9zzsrNGC5Artp wlrGyl9czUWXZ8dEogTJzfrXoh+QzC+XuzlNde5f80SnhAjwp2ZHnHq2QYmexk8dS1dd9BMbm0I8/ 4uvWqobQ==; Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by desiato.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rL5k3-005dTI-1K for barebox@lists.infradead.org; Wed, 03 Jan 2024 18:13:32 +0000 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rL5k1-0004fe-Oq; Wed, 03 Jan 2024 19:13:21 +0100 Received: from [2a0a:edc0:0:1101:1d::54] (helo=dude05.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rL5k1-000Apy-Bj; Wed, 03 Jan 2024 19:13:21 +0100 Received: from localhost ([::1] helo=dude05.red.stw.pengutronix.de) by dude05.red.stw.pengutronix.de with esmtp (Exim 4.96) (envelope-from ) id 1rL5k1-001j4X-0t; Wed, 03 Jan 2024 19:13:21 +0100 From: Ahmad Fatoum To: barebox@lists.infradead.org Cc: Ahmad Fatoum Date: Wed, 3 Jan 2024 19:11:27 +0100 Message-Id: <20240103181312.409668-8-a.fatoum@pengutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240103181312.409668-1-a.fatoum@pengutronix.de> References: <20240103181312.409668-1-a.fatoum@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240103_181329_461294_37108492 X-CRM114-Status: GOOD ( 10.42 ) X-BeenThere: barebox@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "barebox" X-SA-Exim-Connect-IP: 2607:7c80:54:3::133 X-SA-Exim-Mail-From: barebox-bounces+lore=pengutronix.de@lists.infradead.org X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.whiteo.stw.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-6.3 required=4.0 tests=AWL,BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.2 Subject: [PATCH 007/112] common: efi: move directory to top-level X-SA-Exim-Version: 4.2.1 (built Wed, 08 May 2019 21:11:16 +0000) X-SA-Exim-Scanned: Yes (on metis.whiteo.stw.pengutronix.de) The EFI code will grow considerably with the addition of loader support, so it makes sense to move it to top-level to shorten the path and to improve visibility. Signed-off-by: Ahmad Fatoum --- Kconfig | 1 + Makefile | 1 + common/Kconfig | 2 -- common/Makefile | 1 - {common/efi => efi}/Kconfig | 0 {common/efi => efi}/Makefile | 0 {common/efi => efi}/devicepath.c | 0 {common/efi => efi}/efivar-filename.c | 0 {common/efi => efi}/errno.c | 0 {common/efi => efi}/guid.c | 0 {common/efi => efi}/payload/Makefile | 0 {common/efi => efi}/payload/env-efi/network/eth0-discover | 0 {common/efi => efi}/payload/fdt.c | 0 {common/efi => efi}/payload/image.c | 0 {common/efi => efi}/payload/init.c | 0 {common/efi => efi}/payload/iomem.c | 0 16 files changed, 2 insertions(+), 3 deletions(-) rename {common/efi => efi}/Kconfig (100%) rename {common/efi => efi}/Makefile (100%) rename {common/efi => efi}/devicepath.c (100%) rename {common/efi => efi}/efivar-filename.c (100%) rename {common/efi => efi}/errno.c (100%) rename {common/efi => efi}/guid.c (100%) rename {common/efi => efi}/payload/Makefile (100%) rename {common/efi => efi}/payload/env-efi/network/eth0-discover (100%) rename {common/efi => efi}/payload/fdt.c (100%) rename {common/efi => efi}/payload/image.c (100%) rename {common/efi => efi}/payload/init.c (100%) rename {common/efi => efi}/payload/iomem.c (100%) diff --git a/Kconfig b/Kconfig index 4c076026b0c9..9c3a20a9a9a3 100644 --- a/Kconfig +++ b/Kconfig @@ -11,6 +11,7 @@ source "scripts/Kconfig.include" source "arch/Kconfig" source "common/Kconfig" +source "efi/Kconfig" source "commands/Kconfig" source "net/Kconfig" source "drivers/Kconfig" diff --git a/Makefile b/Makefile index 9a982e943cd4..c5c627bb6a8c 100644 --- a/Makefile +++ b/Makefile @@ -601,6 +601,7 @@ common-y := common/ drivers/ commands/ lib/ crypto/ net/ fs/ firmware/ include $(srctree)/arch/$(SRCARCH)/Makefile +common-$(CONFIG_EFI) += efi/ common-y += test/ ifdef need-config diff --git a/common/Kconfig b/common/Kconfig index 6377a587f00b..0e8188d2b2fb 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -1789,8 +1789,6 @@ config WERROR endmenu -source "common/efi/Kconfig" - config HAS_DEBUG_LL bool diff --git a/common/Makefile b/common/Makefile index 7fb864f61480..936997d9bcdd 100644 --- a/common/Makefile +++ b/common/Makefile @@ -70,7 +70,6 @@ obj-$(CONFIG_BOOTCHOOSER) += bootchooser.o obj-$(CONFIG_UIMAGE) += image.o uimage.o obj-$(CONFIG_FITIMAGE) += image-fit.o obj-$(CONFIG_MENUTREE) += menutree.o -obj-$(CONFIG_EFI) += efi/ lwl-$(CONFIG_IMD) += imd-barebox.o obj-$(CONFIG_IMD) += imd.o obj-y += file-list.o diff --git a/common/efi/Kconfig b/efi/Kconfig similarity index 100% rename from common/efi/Kconfig rename to efi/Kconfig diff --git a/common/efi/Makefile b/efi/Makefile similarity index 100% rename from common/efi/Makefile rename to efi/Makefile diff --git a/common/efi/devicepath.c b/efi/devicepath.c similarity index 100% rename from common/efi/devicepath.c rename to efi/devicepath.c diff --git a/common/efi/efivar-filename.c b/efi/efivar-filename.c similarity index 100% rename from common/efi/efivar-filename.c rename to efi/efivar-filename.c diff --git a/common/efi/errno.c b/efi/errno.c similarity index 100% rename from common/efi/errno.c rename to efi/errno.c diff --git a/common/efi/guid.c b/efi/guid.c similarity index 100% rename from common/efi/guid.c rename to efi/guid.c diff --git a/common/efi/payload/Makefile b/efi/payload/Makefile similarity index 100% rename from common/efi/payload/Makefile rename to efi/payload/Makefile diff --git a/common/efi/payload/env-efi/network/eth0-discover b/efi/payload/env-efi/network/eth0-discover similarity index 100% rename from common/efi/payload/env-efi/network/eth0-discover rename to efi/payload/env-efi/network/eth0-discover diff --git a/common/efi/payload/fdt.c b/efi/payload/fdt.c similarity index 100% rename from common/efi/payload/fdt.c rename to efi/payload/fdt.c diff --git a/common/efi/payload/image.c b/efi/payload/image.c similarity index 100% rename from common/efi/payload/image.c rename to efi/payload/image.c diff --git a/common/efi/payload/init.c b/efi/payload/init.c similarity index 100% rename from common/efi/payload/init.c rename to efi/payload/init.c diff --git a/common/efi/payload/iomem.c b/efi/payload/iomem.c similarity index 100% rename from common/efi/payload/iomem.c rename to efi/payload/iomem.c -- 2.39.2