Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.0/patches/2175233/?format=api
{ "id": 2175233, "url": "http://patchwork.ozlabs.org/api/1.0/patches/2175233/?format=api", "project": { "id": 18, "url": "http://patchwork.ozlabs.org/api/1.0/projects/18/?format=api", "name": "U-Boot", "link_name": "uboot", "list_id": "u-boot.lists.denx.de", "list_email": "u-boot@lists.denx.de", "web_url": null, "scm_url": null, "webscm_url": null }, "msgid": "<20251217-b4-bdinfo-doc-v1-1-83bf7fdb1691@cherry.de>", "date": "2025-12-17T16:23:56", "name": "[1/3] cmd: bdinfo: provide long help with all options", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": false, "hash": "452c33b4e5b3554ca7a8677997efb31245b7cefb", "submitter": { "id": 84425, "url": "http://patchwork.ozlabs.org/api/1.0/people/84425/?format=api", "name": "Quentin Schulz", "email": "foss+uboot@0leil.net" }, "delegate": { "id": 3651, "url": "http://patchwork.ozlabs.org/api/1.0/users/3651/?format=api", "username": "trini", "first_name": "Tom", "last_name": "Rini", "email": "trini@ti.com" }, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20251217-b4-bdinfo-doc-v1-1-83bf7fdb1691@cherry.de/mbox/", "series": [ { "id": 485719, "url": "http://patchwork.ozlabs.org/api/1.0/series/485719/?format=api", "date": "2025-12-17T16:23:56", "name": "cmd: bdinfo: further document", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/485719/mbox/" } ], "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2175233/checks/", "tags": {}, "headers": { "Return-Path": "<u-boot-bounces@lists.denx.de>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming@legolas.ozlabs.org", "Authentication-Results": [ "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de;\n envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org)", "phobos.denx.de;\n dmarc=none (p=none dis=none) header.from=0leil.net", "phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de", "phobos.denx.de;\n dmarc=none (p=none dis=none) header.from=0leil.net", "phobos.denx.de;\n spf=pass smtp.mailfrom=foss+uboot@0leil.net" ], "Received": [ "from phobos.denx.de (phobos.denx.de\n [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4dWfJC0bbbz1xpw\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 18 Dec 2025 03:24:10 +1100 (AEDT)", "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 20DC883B99;\n\tWed, 17 Dec 2025 17:24:08 +0100 (CET)", "by phobos.denx.de (Postfix, from userid 109)\n id 571F283BBE; Wed, 17 Dec 2025 17:24:07 +0100 (CET)", "from smtp-1909.mail.infomaniak.ch (smtp-1909.mail.infomaniak.ch\n [185.125.25.9])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id 6B3BC83B99\n for <u-boot@lists.denx.de>; Wed, 17 Dec 2025 17:24:05 +0100 (CET)", "from smtp-4-0001.mail.infomaniak.ch (unknown\n [IPv6:2001:1600:7:10::a6c])\n by smtp-4-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4dWfJ511c4zVh2;\n Wed, 17 Dec 2025 17:24:05 +0100 (CET)", "from unknown by smtp-4-0001.mail.infomaniak.ch (Postfix) with ESMTPA\n id 4dWfJ44KghzLM7; Wed, 17 Dec 2025 17:24:04 +0100 (CET)" ], "X-Spam-Checker-Version": "SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de", "X-Spam-Level": "", "X-Spam-Status": "No, score=-1.9 required=5.0 tests=BAYES_00,\n RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,\n RCVD_IN_VALIDITY_RPBL_BLOCKED,RCVD_IN_VALIDITY_SAFE_BLOCKED,\n SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2", "From": "Quentin Schulz <foss+uboot@0leil.net>", "Date": "Wed, 17 Dec 2025 17:23:56 +0100", "Subject": "[PATCH 1/3] cmd: bdinfo: provide long help with all options", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"utf-8\"", "Content-Transfer-Encoding": "7bit", "Message-Id": "<20251217-b4-bdinfo-doc-v1-1-83bf7fdb1691@cherry.de>", "References": "<20251217-b4-bdinfo-doc-v1-0-83bf7fdb1691@cherry.de>", "In-Reply-To": "<20251217-b4-bdinfo-doc-v1-0-83bf7fdb1691@cherry.de>", "To": "u-boot@lists.denx.de", "Cc": "Michal Simek <michal.simek@amd.com>, Tom Rini <trini@konsulko.com>,\n Heinrich Schuchardt <xypron.glpk@gmx.de>,\n Quentin Schulz <quentin.schulz@cherry.de>", "X-Mailer": "b4 0.14.3", "X-Infomaniak-Routing": "alpha", "X-BeenThere": "u-boot@lists.denx.de", "X-Mailman-Version": "2.1.39", "Precedence": "list", "List-Id": "U-Boot discussion <u-boot.lists.denx.de>", "List-Unsubscribe": "<https://lists.denx.de/options/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=unsubscribe>", "List-Archive": "<https://lists.denx.de/pipermail/u-boot/>", "List-Post": "<mailto:u-boot@lists.denx.de>", "List-Help": "<mailto:u-boot-request@lists.denx.de?subject=help>", "List-Subscribe": "<https://lists.denx.de/listinfo/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=subscribe>", "Errors-To": "u-boot-bounces@lists.denx.de", "Sender": "\"U-Boot\" <u-boot-bounces@lists.denx.de>", "X-Virus-Scanned": "clamav-milter 0.103.8 at phobos.denx.de", "X-Virus-Status": "Clean" }, "content": "From: Quentin Schulz <quentin.schulz@cherry.de>\n\nDocument the bdinfo -a, -e and -m options in the long help, but only\nwhen they can be used. The string concatenation is a bit odd with two\nnewlines, but it does render properly once in U-Boot CLI.\n\nSigned-off-by: Quentin Schulz <quentin.schulz@cherry.de>\n---\n cmd/bdinfo.c | 16 +++++++++++++++-\n 1 file changed, 15 insertions(+), 1 deletion(-)", "diff": "diff --git a/cmd/bdinfo.c b/cmd/bdinfo.c\nindex 09fe8067642..f36c6123ca7 100644\n--- a/cmd/bdinfo.c\n+++ b/cmd/bdinfo.c\n@@ -212,5 +212,19 @@ int do_bdinfo(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])\n U_BOOT_CMD(\n \tbdinfo,\t2,\t1,\tdo_bdinfo,\n \t\"print Board Info structure\",\n-\t\"\"\n+// Long help prepended with command's name, and `bdinfo` is a valid command\n+\t\"\\n\"\n+#if CONFIG_IS_ENABLED(GETOPT)\n+\t\"bdinfo -a\\n\"\n+#endif\n+\t\" - print all Board Info structure\"\n+#if CONFIG_IS_ENABLED(GETOPT)\n+\t\"\\n\"\n+#if IS_ENABLED(CONFIG_NET) || IS_ENABLED(CONFIG_NET_LWIP)\n+\t\"bdinfo -e\\n\"\n+\t\" - print Board Info related to network\\n\"\n+#endif\n+\t\"bdinfo -m\\n\"\n+\t\" - print Board Info related to DRAM\"\n+#endif\n );\n", "prefixes": [ "1/3" ] }