Message ID | 20250820112340.147082-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=1755689066; bh=EEbQVBEWP2QWhFwYrEbYTHqOVKTFDphnDOsCNU9MZ/s=; 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=rZuGnfNKfly6n1kmamllOhZ3RZfd+0NOVSIlT7F+2ksi1jfJ0dc4DtSq2IYWxSFWy fp2Lj+rm7vWBLMc+avfiAvnZipx3BjCKsp2WdgVrmE6WqnBJZ4toPey8pjw3ByY96v 5YV4lfjOHax74YPCQHVAVGG86Xz/EiGIqWy3Qle4aUhjQ3n2J+xiTVjLY5wU0Dx2Db Y5rS47Zjo+8MubNeCBXMPA5rFGiJawI1TTXeO6EII2T532H7bLrjer5nMQ5gNodOmk POvAkJPRGdtxg273dHVlc6WaLKh0Uwk4WkOv5SOGGqq6fj1ZtKGN+Cirp227wD8S9a nilKSNz/3YUZQ== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 597256767C for <u-boot-concept@u-boot.org>; Wed, 20 Aug 2025 05:24:26 -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 7VZspas9MpR3 for <u-boot-concept@u-boot.org>; Wed, 20 Aug 2025 05:24:26 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1755689063; bh=EEbQVBEWP2QWhFwYrEbYTHqOVKTFDphnDOsCNU9MZ/s=; 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=EtpM5fOhXhQQhkxY2GoiefYerh3mSM4WF7+5Lin/SlS1juHQV2QO2Vf21oq4CTkPJ qTtuorpaS8pwGQB+OR7Lvo/zvgUqYC8KkyOYfvtlV/FYEe4EzKihPJSmm2FPNr9nvu w975dmE/cIdgSV+vPVuv0bjqZLbBtWE0512Yptt9YJYisdh+6yxDwz5WTFyYE+o5RC J+txf0bd3VCyCPUdQ7xjk3R9irGP7puwrlBdl4bJWGxx0ld0U9eV2XPie9YT/bAHNW EjUEQ42lbOmN5D8oJtyTeKCAkPRtiwN5KlsTS+becKik0Sf+7ogrogTThWgM9DhpSk gJVFM3xQeRpJg== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id E4C81675EE for <u-boot-concept@u-boot.org>; Wed, 20 Aug 2025 05:24:23 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1755689058; bh=bZsFi6OnyXDqq1A7dbbxqsXQ281oDD71bNgzRYd8FQQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=OVJpa92xuGTYKKGlhBSEr9gPCtZqfuuthiXV3MnT6MZiWcdvzivYjW1UjQ5lDAVCS XX3BNSafNcGxt/FGUDLmZSa4DSB74Oul6Xygh3AeXLU8G5+wxEnW+AfwDCKkzUcIoF O73Di7oF2zNX2iLQ8JX5fqRVVksqZtmYYK62cEweCem3qvUSy88P8uTkZeoRWj/euv m082s6oeM+RQtH08K3rNpbwVchyNgFzdLm/fslJ1LoYXhcpQfYmGMkHYY8dvJWhFyw ZXljrmSNOovicLR2j03wNi/t2P/Z/oa4+zTaxJdAqtCOR62dvyKeU6Lf5ikICS7681 CgG+b6ayMcXcg== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id E2A4B674AF; Wed, 20 Aug 2025 05:24:18 -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 SOV48xNgvotw; Wed, 20 Aug 2025 05:24:18 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1755689056; bh=EKMSwhworiVlSKo2g+/4BwtHUVH7UZ8+ck6RL1r++LQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RennkZg9f6ZQmk5/ByhLtG/13mPKZnxGvpyIatqkXI7CAjvnO+7omygvPbGEpla+Y UDkVRHrsRcVeoapr6ES/weQ1H5MhLzttMWn2a4BaU3ixalkZ7Tl8+LtapFBdkMMTSl p5X+C36VQm9/t35+ibiWIKHOCuRTfpCXTkKUkpcA/DtWvQP4iImhk9TexszkcZUjFb or/mUeadrvFSDe43CqobmzSuZNvgOZX5+b5KCRnqb4KteJNmpNJWG5mr/QoGpDUG8H HJ5AKmss5Qe81sz68cQJA41npODZSTxO6f0Mg9n3pCl5S/wFcjpeL0tCenTFlKYjQf 8HHcU2B3ubTuw== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id 9743467680; Wed, 20 Aug 2025 05:24:16 -0600 (MDT) From: Simon Glass <sjg@u-boot.org> To: U-Boot Concept <concept@u-boot.org> Date: Wed, 20 Aug 2025 05:23:26 -0600 Message-ID: <20250820112340.147082-15-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250820112340.147082-1-sjg@u-boot.org> References: <20250820112340.147082-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: FTCLJMP6QC6GN7AFHKNB3PAZBQBMNDVU X-Message-ID-Hash: FTCLJMP6QC6GN7AFHKNB3PAZBQBMNDVU 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 v2 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/FTCLJMP6QC6GN7AFHKNB3PAZBQBMNDVU/> 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, 11:23 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> --- (no changes since v1) 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