Message ID | 20250828020732.981415-10-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=1756346883; bh=RlVxRo5VFxVyj2YMIkPLOVtYVyLqAIzOjPIdnJWBqY8=; 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=j/sZR+T7hXoAt6qdSghMGhkMsQajlFYwcm2P5t2aUEQcdmSW6YjZUZFr8T4uMomFi 3jeU1xYpatZwIsUjmAHgkKHOf6n8lYpJRN8/jv+UcAwI2pyadkSS0oUNtLR5zpcKr3 OF13d6kaaOz8MgiJlVLZcZNG2XQeJP6btC+T6ymE2myl3MAjiKouTNQNOcR7NoDT7e ISF15lGwOtcsBfZPHcEIBBiubf2qL5tykDojznCFR2D9BA/xNnPwD7PulpwHIgdzIi QpFyVLPF9U3hCtz1G6sVqW6+g61XqxAHbJptNb7UOHWBhI2aZNNtKpSDIqf0OpoY2e kAPKMWhT2om1g== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 56C9A6777F for <u-boot-concept@u-boot.org>; Wed, 27 Aug 2025 20:08:03 -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 MWaERCycPoZH for <u-boot-concept@u-boot.org>; Wed, 27 Aug 2025 20:08:03 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1756346883; bh=RlVxRo5VFxVyj2YMIkPLOVtYVyLqAIzOjPIdnJWBqY8=; 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=j/sZR+T7hXoAt6qdSghMGhkMsQajlFYwcm2P5t2aUEQcdmSW6YjZUZFr8T4uMomFi 3jeU1xYpatZwIsUjmAHgkKHOf6n8lYpJRN8/jv+UcAwI2pyadkSS0oUNtLR5zpcKr3 OF13d6kaaOz8MgiJlVLZcZNG2XQeJP6btC+T6ymE2myl3MAjiKouTNQNOcR7NoDT7e ISF15lGwOtcsBfZPHcEIBBiubf2qL5tykDojznCFR2D9BA/xNnPwD7PulpwHIgdzIi QpFyVLPF9U3hCtz1G6sVqW6+g61XqxAHbJptNb7UOHWBhI2aZNNtKpSDIqf0OpoY2e kAPKMWhT2om1g== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 105A1677CB for <u-boot-concept@u-boot.org>; Wed, 27 Aug 2025 20:08:03 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1756346879; bh=jyt+eky56MoqReQoheAZtzb4elpeFnyrU8z7PKui6L4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZJoPId+cPqjBxDg50k0mFECR3WiJL2csQbWEUkk1sr+1k0zjXnXIF9pd4wE6gaTaa 8GOCWSRv2nxi79xEZz3s/bIi9ytm0z5fWnEKrd5LIvKQa4XepoAQk39LLg7W2O0zSk Z9KcEirqSkAMtfY4iciJB5VvqtnlHmP6RVk07+IoUUzscF7I5832JQbVGB36ndxWBD 3y4apqtFcmaEmXG+p+wQrO4FEoX08FthEDxY88qfI2S5ZSu9/Heme3Ur5HoUYEvsAY j6sLlX4fPnCgnn7yYAfNz2nt+ENuy2fV6sHFhjBo9Go/mu8/c9Pgn0HD8XhdDE8QMm iiwPbaKVxRFtw== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id E3F2B6777E; Wed, 27 Aug 2025 20:07:59 -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 IYqCVgu_MwXZ; Wed, 27 Aug 2025 20:07:59 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1756346877; bh=XIJnMo569q/5KH6EnMqtJyXl6QGB8vM8no3a5tciPwM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PwCpD3GkEW/pplgUmP8QSI39N7lZXUSd++/oL4FA6LJ5xY9giF9gRMPr10dllEFXO oyLYAATz48Llm2u1C0Dcxlqi8xJIRTooGFq+4ZzqYl2LBl043oXAjtp89OlFnWsiCJ 9k5Pwk1ZlC7hP2isA8cijYqLksJzigTsmn8PMQRk8LFRL3uuFiPFfEt1zj8YJ7gwyP 2nim/+gUmcU4nFg6doany2YGFQgtonol7ta54QOjGnKYxdlQ3jMqwZOIcgU756wLxq OnZ/Qr0VwlagSnGOMOX4rJ/v/USGFoR//phJzbqQDyK85d4mF7EMhGjmCBDOSVY6Ta +KqVES4/+p6WQ== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id 9D56467823; Wed, 27 Aug 2025 20:07:57 -0600 (MDT) From: Simon Glass <sjg@u-boot.org> To: U-Boot Concept <concept@u-boot.org> Date: Wed, 27 Aug 2025 20:07:12 -0600 Message-ID: <20250828020732.981415-10-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250828020732.981415-1-sjg@u-boot.org> References: <20250828020732.981415-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: 7BZRNZDPDRKE4DMD6GBJKENQNXQZPLTO X-Message-ID-Hash: 7BZRNZDPDRKE4DMD6GBJKENQNXQZPLTO 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 09/20] boot: Correct filename in bootmeth_common_read_file() 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/7BZRNZDPDRKE4DMD6GBJKENQNXQZPLTO/> 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: App and devicetree improvements
|
|
Commit Message
Simon Glass
Aug. 28, 2025, 2:07 a.m. UTC
From: Simon Glass <sjg@chromium.org> This should add the filename provided to the image, not the original bootflow filename. Fix it. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 114dd14e38d ("bootmeth: Update the read_file() method to...") --- boot/bootmeth-uclass.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/boot/bootmeth-uclass.c b/boot/bootmeth-uclass.c index 6c0eff7579d..8c191082cf3 100644 --- a/boot/bootmeth-uclass.c +++ b/boot/bootmeth-uclass.c @@ -437,7 +437,7 @@ int bootmeth_common_read_file(struct udevice *dev, struct bootflow *bflow, return ret; *sizep = len_read; - if (!bootflow_img_add(bflow, bflow->fname, type, *addrp, size)) + if (!bootflow_img_add(bflow, file_path, type, *addrp, size)) return log_msg_ret("bci", -ENOMEM); return 0;