| Message ID | 20260329122222.3533806-2-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=1774786965; bh=jDLbi4vUDqgYmy/Rpy2+W3PcUPtnjl9UQI3pSysmanc=; 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=HDEC3sLyWA8OksOLxlrE9rAvMn4kIR0JCcLkg34LQuglZWwELbHvj/CeOqG9+XqI3 hNYC89BPdPzVA+GR7ZvV7LfT7bcO0hUBQUPRrkRPMpduWIHkBFx5EKaq7a48OWwEa4 SsprVHaB/rPr47oOIXlTR79IH4nFNIV2lLZC9teTND2UDQEQznKg8zBDI113JrIcuK ECyzIGZELBd1WVXz1lNjkJ+gMqte1CbA338KnDZjt0JPF/Mg5OtOkw0cBCoT0XnpdF Ftw5WCHGro6BXStpRo4jUVFZZmF/E1XpuSAkHwRZY0xnqCH9vud6lTv/R0cY5VqKuq YN2dP+WE6/TAg== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id F35926A2CD for <u-boot-concept@u-boot.org>; Sun, 29 Mar 2026 06:22:45 -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 blKsc8cXwDGa for <u-boot-concept@u-boot.org>; Sun, 29 Mar 2026 06:22:45 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1774786965; bh=jDLbi4vUDqgYmy/Rpy2+W3PcUPtnjl9UQI3pSysmanc=; 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=HDEC3sLyWA8OksOLxlrE9rAvMn4kIR0JCcLkg34LQuglZWwELbHvj/CeOqG9+XqI3 hNYC89BPdPzVA+GR7ZvV7LfT7bcO0hUBQUPRrkRPMpduWIHkBFx5EKaq7a48OWwEa4 SsprVHaB/rPr47oOIXlTR79IH4nFNIV2lLZC9teTND2UDQEQznKg8zBDI113JrIcuK ECyzIGZELBd1WVXz1lNjkJ+gMqte1CbA338KnDZjt0JPF/Mg5OtOkw0cBCoT0XnpdF Ftw5WCHGro6BXStpRo4jUVFZZmF/E1XpuSAkHwRZY0xnqCH9vud6lTv/R0cY5VqKuq YN2dP+WE6/TAg== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id E11FB6A2C7 for <u-boot-concept@u-boot.org>; Sun, 29 Mar 2026 06:22:45 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1774786964; bh=GLjF/X/EGRxSVXGzqD/G8usr9eVxiNqu9TgTUAfvqtk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=SNfTovu2c3RAs0Rdkbh83BKOWXAGwyddHQLAYTp9Jgx1ObdQmAdiBpVUohps9uWUV e7PcML4v4Vs/WIo3RRLJhD7rNCc8zDcz1unIIur0L3RBcfGYnKZoybnmBoIrL/PRNt wA4WAAOXUJl0xenSMhG8vKgOwyDzu3zNqHspFHFr5gXuxNW1GFahszzcmzV+uAIyNK G0+/hduSlz/aUFgyvO4OgKvQq1EjwGMExZzah95qZ2hf7e4S4ij8SZVLGsSQ/JN6Kv YeKQsBmoCeoDIU9x8ParD8QBmxd2H75Egh0XGc6kO3Cl2bsAGbL4RJToh9PdJmqB5/ 5OH3Z8vl9xUpw== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 7D7506A2BF; Sun, 29 Mar 2026 06:22:44 -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 AWDcaUMAA4NF; Sun, 29 Mar 2026 06:22:44 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1774786960; bh=stVOhQHgRUEdDMEXz5qwc396QWVd4/ynkqbN5jEuJ/g=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pcghf1HRW1iPAyB1x3JfeLJyZBkDeLW2BkRex82Yhzdgu1BvmMgQxpPyUteIvJump cCuK0o1u2o6DsjuXMv+fqTMIwlQMvRBVzBHw04NGxRTOmKMp7NySLto5K4WxeZhVbF YFd6OGhQtoKcX+YLvQ4JvauwFq7d8eR3quB9rQ9NKeszFIU6zY3jBCXSrcrjsoulYs NBOSInW0P+P4S1JF1xW0oA2UpBPPduy0eZQ9Vn8sKqYtOiQGFjjyALFKFrrR7Vmz6B kItIRAAuYgWBXKkEsaKOWjouQ5h9tKitccHIvCFYSd2UeKCrhsyd4RGMcFkoiVI0ZT HTRudCFRa7eHQ== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id 3CF9C6A269; Sun, 29 Mar 2026 06:22:40 -0600 (MDT) From: Simon Glass <sjg@u-boot.org> To: U-Boot Concept <concept@u-boot.org> Date: Sun, 29 Mar 2026 06:22:16 -0600 Message-ID: <20260329122222.3533806-2-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260329122222.3533806-1-sjg@u-boot.org> References: <20260329122222.3533806-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: ZR66M3TCLBLTSY2GPPAZD2FBB6YIS4IC X-Message-ID-Hash: ZR66M3TCLBLTSY2GPPAZD2FBB6YIS4IC 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: Simon Glass <sjg@chromium.org> X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 1/4] vbe: abrec: Use unique log_msg_ret() tag for blk_get_from_parent() 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/ZR66M3TCLBLTSY2GPPAZD2FBB6YIS4IC/> 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 |
vbe: Fix MMC clock handoff for VPL on rk3399
|
|
Commit Message
Simon Glass
March 29, 2026, 12:22 p.m. UTC
From: Simon Glass <sjg@chromium.org> Both abrec_read_bootflow_fw() and abrec_load_from_image() use the "med" tag for their blk_get_from_parent() call, making it impossible to distinguish which function is returning the error. Change the one in abrec_load_from_image() to "blk" so the two call sites can be told apart. Signed-off-by: Simon Glass <sjg@chromium.org> --- boot/vbe_abrec_fw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/boot/vbe_abrec_fw.c b/boot/vbe_abrec_fw.c index b3786da8477..eb22ee43495 100644 --- a/boot/vbe_abrec_fw.c +++ b/boot/vbe_abrec_fw.c @@ -249,7 +249,7 @@ static int abrec_load_from_image(struct spl_image_info *image, return log_msg_ret("vdv", ret); ret = blk_get_from_parent(media, &blk); if (ret) - return log_msg_ret("med", ret); + return log_msg_ret("blk", ret); if (xpl_phase() == PHASE_TPL) { ulong offset, size;