Message ID | 20250820004039.3920254-15-sjg@u-boot.org |
---|---|
State | New |
Headers |
Return-Path: <concept-bounces+u-boot-concept=u-boot.org@u-boot.org> X-Original-To: u-boot-concept@u-boot.org Delivered-To: u-boot-concept@u-boot.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1755650496; bh=roYmE17Zcw+XoC9JNcAC9bfWX0q7RssTLsw9zfcbTaY=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=S1yItoHuWmUYDUJvefk7Zy7aMjY/+6WrD/o82k8g4juO7+KGuZ4zqkTjphAxgfShK RIvf9dt2igtQdEzJGH8QfufPIyJYJwd9V5fUMBU9XTuvGHd89By1oeVC/UP793LTZ4 NGsTrUuKuX9OBSBNmQwCcJ/5wKYtIvXuO88sfVsbErxyrJyHvJTf5nam6anolI+KJV kSFYnYdNEwcpz/NeGmUq2PmEAmMwemrtBV5IVYNgopEDDyPAGxLQixNwrHZGTWQ+ZI hjgoo6WOqyJqhArWrjt5AymiKh7zog2KVrnh8Zcm7JldbyWQDuNF4w0fQwd7Yqcse7 O+J7ui7NZvOFQ== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 379B9675C0 for <u-boot-concept@u-boot.org>; Tue, 19 Aug 2025 18:41:36 -0600 (MDT) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id SfK8VAcLgg58 for <u-boot-concept@u-boot.org>; Tue, 19 Aug 2025 18:41:36 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1755650496; bh=roYmE17Zcw+XoC9JNcAC9bfWX0q7RssTLsw9zfcbTaY=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=S1yItoHuWmUYDUJvefk7Zy7aMjY/+6WrD/o82k8g4juO7+KGuZ4zqkTjphAxgfShK RIvf9dt2igtQdEzJGH8QfufPIyJYJwd9V5fUMBU9XTuvGHd89By1oeVC/UP793LTZ4 NGsTrUuKuX9OBSBNmQwCcJ/5wKYtIvXuO88sfVsbErxyrJyHvJTf5nam6anolI+KJV kSFYnYdNEwcpz/NeGmUq2PmEAmMwemrtBV5IVYNgopEDDyPAGxLQixNwrHZGTWQ+ZI hjgoo6WOqyJqhArWrjt5AymiKh7zog2KVrnh8Zcm7JldbyWQDuNF4w0fQwd7Yqcse7 O+J7ui7NZvOFQ== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 267CF6728E for <u-boot-concept@u-boot.org>; Tue, 19 Aug 2025 18:41:36 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1755650494; bh=vJB292NCi1/30lTUMW+j0XSREwwSdiystguK4zWs/Ek=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=eDAtio2TYUHP83Q3glqlJKuu6i5s4rG9dpdm4koEhBShQobpCnLfEmml+sJRj9LdQ WN47chjF+SAVvp2GXGgnKU0bHesYt2xXRy/rkIfhlNAuY1ivZo2LsWwZnFUqL4NX7a cL5xM8LyMIN2L1DvG9+xEevd6/rqadRdZucSVPtvOjAvVKEHBaEWgrP+CgH8tK0vuh cJ19lh9vB5zjIQ32YwOg8HJ8U9qc7wlPTHp9eB3YxkD7XLhXQtGM/X8CsDVJRS+hZ7 1f8G18RH/6qq/AKcD5SPt1GqDzxdAWxy3+FFvhl2xdS7/GqnnHhjdTphphGNfJW1QY VQXs9bSysYXqg== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id BF856675C0; Tue, 19 Aug 2025 18:41:34 -0600 (MDT) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10026) with ESMTP id DEMHNV6HHGUI; Tue, 19 Aug 2025 18:41:34 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1755650489; bh=dqaqdTiSfbBa58/+FXEiWwz9QIfdbzHoVcoFsOnTjqQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bQ3lvbwpWrFPPIOKfiShwa9T99uXya8detD1riS8LhQo0GYKJhND4rho8CPJKCT+R RkUdgWWREpjlOJqQAO7Z49pfl5j2LPsnLAOJHBK4Mlm5A5OsJEYADmWzhn11oWYSrH 0U00H9rjp1a02fLD1etuUU1YZmhwWI5EeprdiDREpgRAclXmStw46n0wv+0O1ZPYQc Nmxu7jHT3iGMa9dQ2FJVgR+gBS72yZBqYBOx6Qb+w4ypkcSaBsZoefR1g2lh2PxaoF UcsKGN9slEkmpbiWeMMG423wSU1FwRsRcy+AQq429pQpImvF6vsDicURoJR0B8Ya0w yVgiWduh9vERQ== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id C16656765E; Tue, 19 Aug 2025 18:41:28 -0600 (MDT) From: Simon Glass <sjg@u-boot.org> To: U-Boot Concept <concept@u-boot.org> Date: Tue, 19 Aug 2025 18:40:28 -0600 Message-ID: <20250820004039.3920254-15-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250820004039.3920254-1-sjg@u-boot.org> References: <20250820004039.3920254-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: NK742TBLBZQ3B76STW5NUA73IB6I4QFW X-Message-ID-Hash: NK742TBLBZQ3B76STW5NUA73IB6I4QFW X-MailFrom: sjg@u-boot.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Heinrich Schuchardt <xypron.glpk@gmx.de>, Simon Glass <sjg@chromium.org> X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 14/18] efi: Move efi_string utilities to the common directory List-Id: Discussion and patches related to U-Boot Concept <concept.u-boot.org> Archived-At: <https://lists.u-boot.org/archives/list/concept@u-boot.org/message/NK742TBLBZQ3B76STW5NUA73IB6I4QFW/> List-Archive: <https://lists.u-boot.org/archives/list/concept@u-boot.org/> List-Help: <mailto:concept-request@u-boot.org?subject=help> List-Owner: <mailto:concept-owner@u-boot.org> List-Post: <mailto:concept@u-boot.org> List-Subscribe: <mailto:concept-join@u-boot.org> List-Unsubscribe: <mailto:concept-leave@u-boot.org> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit |
Series |
efi: Move towards the EFI app booting EFI applications
|
|
Commit Message
Simon Glass
Aug. 20, 2025, 12:40 a.m. UTC
From: Simon Glass <sjg@chromium.org> This file contains some useful utility functions which are not specific to the EFI loader. Move them to lib/efi so they can be used by the app. Signed-off-by: Simon Glass <sjg@chromium.org> --- lib/efi/Makefile | 1 + lib/{efi_loader/efi_string.c => efi/string.c} | 0 lib/efi_loader/Makefile | 1 - 3 files changed, 1 insertion(+), 1 deletion(-) rename lib/{efi_loader/efi_string.c => efi/string.c} (100%)
diff --git a/lib/efi/Makefile b/lib/efi/Makefile index 9b65cbc0dc2..842067dcab3 100644 --- a/lib/efi/Makefile +++ b/lib/efi/Makefile @@ -9,3 +9,4 @@ obj-y += helper.o obj-y += load_options.o obj-y += memory.o obj-y += run.o +obj-y += string.o diff --git a/lib/efi_loader/efi_string.c b/lib/efi/string.c similarity index 100% rename from lib/efi_loader/efi_string.c rename to lib/efi/string.c diff --git a/lib/efi_loader/Makefile b/lib/efi_loader/Makefile index 2b232940bc3..180b83d2fc5 100644 --- a/lib/efi_loader/Makefile +++ b/lib/efi_loader/Makefile @@ -43,7 +43,6 @@ obj-y += efi_memory.o obj-y += efi_root_node.o obj-y += efi_runtime.o obj-y += efi_setup.o -obj-y += efi_string.o obj-$(CONFIG_EFI_UNICODE_COLLATION_PROTOCOL2) += efi_unicode_collation.o obj-y += efi_var_common.o obj-y += efi_var_mem.o