get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/2196898/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 2196898,
    "url": "http://patchwork.ozlabs.org/api/patches/2196898/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20260216-feature_fwumdata-v3-2-9ecc5b10456d@bootlin.com/",
    "project": {
        "id": 18,
        "url": "http://patchwork.ozlabs.org/api/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,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20260216-feature_fwumdata-v3-2-9ecc5b10456d@bootlin.com>",
    "list_archive_url": null,
    "date": "2026-02-16T13:35:32",
    "name": "[v3,2/6] tools: Reorganize mkfwumdata tool into fwumdata_src directory",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "7a33b4e415fe53015403f87febc0ca0873079491",
    "submitter": {
        "id": 80520,
        "url": "http://patchwork.ozlabs.org/api/people/80520/?format=api",
        "name": "Kory Maincent",
        "email": "kory.maincent@bootlin.com"
    },
    "delegate": {
        "id": 96103,
        "url": "http://patchwork.ozlabs.org/api/users/96103/?format=api",
        "username": "apalos",
        "first_name": "Ilias",
        "last_name": "Apalodimas",
        "email": "apalos@gmail.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20260216-feature_fwumdata-v3-2-9ecc5b10456d@bootlin.com/mbox/",
    "series": [
        {
            "id": 492310,
            "url": "http://patchwork.ozlabs.org/api/series/492310/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=492310",
            "date": "2026-02-16T13:35:30",
            "name": "Add support for fwumdata",
            "version": 3,
            "mbox": "http://patchwork.ozlabs.org/series/492310/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2196898/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2196898/checks/",
    "tags": {},
    "related": [],
    "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\tdkim=pass (2048-bit key;\n unprotected) header.d=bootlin.com header.i=@bootlin.com header.a=rsa-sha256\n header.s=dkim header.b=mzNfwXcV;\n\tdkim-atps=neutral",
            "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=pass (p=reject dis=none) header.from=bootlin.com",
            "phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de",
            "phobos.denx.de;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=bootlin.com header.i=@bootlin.com header.b=\"mzNfwXcV\";\n\tdkim-atps=neutral",
            "phobos.denx.de;\n dmarc=pass (p=reject dis=none) header.from=bootlin.com",
            "phobos.denx.de;\n spf=pass smtp.mailfrom=kory.maincent@bootlin.com"
        ],
        "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)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fF3hK5Nw1z1xpY\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 17 Feb 2026 00:36:17 +1100 (AEDT)",
            "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 2467A83C72;\n\tMon, 16 Feb 2026 14:36:05 +0100 (CET)",
            "by phobos.denx.de (Postfix, from userid 109)\n id 1FC0283D0F; Mon, 16 Feb 2026 14:36:01 +0100 (CET)",
            "from smtpout-04.galae.net (smtpout-04.galae.net [185.171.202.116])\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 3D47483B8A\n for <u-boot@lists.denx.de>; Mon, 16 Feb 2026 14:35:58 +0100 (CET)",
            "from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233])\n by smtpout-04.galae.net (Postfix) with ESMTPS id EBAF0C1786B;\n Mon, 16 Feb 2026 13:36:08 +0000 (UTC)",
            "from mail.galae.net (mail.galae.net [212.83.136.155])\n by smtpout-01.galae.net (Postfix) with ESMTPS id E5AB5606CF;\n Mon, 16 Feb 2026 13:35:57 +0000 (UTC)",
            "from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon)\n with ESMTPSA id 59FDB10369146; Mon, 16 Feb 2026 14:35:54 +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=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,\n DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED,\n RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,RCVD_IN_VALIDITY_RPBL_BLOCKED,\n SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim;\n t=1771248956; h=from:subject:date:message-id:to:cc:mime-version:content-type:\n content-transfer-encoding:in-reply-to:references;\n bh=Km4G8+eiAfsJ0iOEnZ+syrPAUJFrBqM5ZJJEqlthTIc=;\n b=mzNfwXcVWvHiXGMXrWTZ7LdOWvhEkF3XXszij6DoBQQxDoT6F32iLfjkD6Ty8G3UJpw+IL\n 3DmITEKu7JbWMMHb8RcPn3lpV4F/FZtZkSJuY0bgTbezQcMJFuikIaSvRO/iEMyfSoaDY+\n cWQLu3Iam8eMY+YhlmdzBbo4OrBQyta1Ffp2kry4rNNyJ6NhUMkpguttNou+4keLxA1dHr\n D6mQycSt05U7ThSUwsFAgCiTIgKIQMqGT/I/080dB1pXtO9so7297OrItltGu7i7JK9Sur\n g5ttxvRD+tzAi8Akg4eV9F7klojO7225pt9dnppXyIKYNok4N1Pg2AWrF5d0vw==",
        "From": "Kory Maincent <kory.maincent@bootlin.com>",
        "Date": "Mon, 16 Feb 2026 14:35:32 +0100",
        "Subject": "[PATCH v3 2/6] tools: Reorganize mkfwumdata tool into fwumdata_src\n directory",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"utf-8\"",
        "Content-Transfer-Encoding": "7bit",
        "Message-Id": "<20260216-feature_fwumdata-v3-2-9ecc5b10456d@bootlin.com>",
        "References": "<20260216-feature_fwumdata-v3-0-9ecc5b10456d@bootlin.com>",
        "In-Reply-To": "<20260216-feature_fwumdata-v3-0-9ecc5b10456d@bootlin.com>",
        "To": "u-boot@lists.denx.de",
        "Cc": "Thomas Petazzoni <thomas.petazzoni@bootlin.com>,\n  Tom Rini <trini@konsulko.com>,\n  Patrice Chotard <patrice.chotard@foss.st.com>,\n  Paul HENRYS <paul.henrys_ext@softathome.com>,\n  Sughosh Ganu <sughosh.ganu@arm.com>, Greg Malysa <malysagreg@gmail.com>,\n  Arturs Artamonovs <arturs.artamonovs@analog.com>,\n  Vasileios Bimpikas <vasileios.bimpikas@analog.com>,\n  Utsav Agarwal <utsav.agarwal@analog.com>,\n  Nathan Barrett-Morrison <nathan.morrison@timesys.com>,\n  Peng Fan <peng.fan@nxp.com>, Simon Glass <sjg@chromium.org>, =?utf-8?q?Duj?=\n\t=?utf-8?q?e_Mihanovi=C4=87?= <duje@dujemihanovic.xyz>,\n  Stefan Roese <stefan.roese@mailbox.org>,\n  Mattijs Korpershoek <mkorpershoek@kernel.org>,\n  Sumit Garg <sumit.garg@kernel.org>, Heiko Schocher <hs@nabladev.com>,\n  Alif Zakuan Yuslaimi <alif.zakuan.yuslaimi@altera.com>,\n  E Shattow <e@freeshell.de>, Raymond Mao <raymondmaoca@gmail.com>,\n  Jan Kiszka <jan.kiszka@siemens.com>, Shiji Yang <yangshiji66@outlook.com>,\n  Daniel Golle <daniel@makrotopia.org>,\n  Heinrich Schuchardt <xypron.glpk@gmx.de>,\n  Ilias Apalodimas <ilias.apalodimas@linaro.org>,\n  Leonard Anderweit <l.anderweit@phytec.de>,\n  Kory Maincent <kory.maincent@bootlin.com>, Yao Zi <me@ziyao.cc>",
        "X-Mailer": "b4 0.14-dev-d4707",
        "X-Last-TLS-Session-Version": "TLSv1.3",
        "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": "Update FWU metadata-related tools by moving mkfwumdata.c into a new\ntools/fwumdata_src/ directory structure. This refactoring prepares for the\naddition of the fwumdata runtime tool, which will allow editing FWU\nmetadata directly from the target.\n\nThe Kconfig and Makefile entries are also moved into separate files within\nthe new directory (Kconfig and fwumdata.mk respectively) to keep all FWU\nmetadata tool configurations together and improve maintainability.\n\nSigned-off-by: Kory Maincent <kory.maincent@bootlin.com>\n---\n MAINTAINERS                           | 3 ++-\n tools/Kconfig                         | 9 +--------\n tools/Makefile                        | 4 +---\n tools/fwumdata_src/Kconfig            | 8 ++++++++\n tools/fwumdata_src/fwumdata.mk        | 7 +++++++\n tools/{ => fwumdata_src}/mkfwumdata.c | 0\n 6 files changed, 19 insertions(+), 12 deletions(-)",
    "diff": "diff --git a/MAINTAINERS b/MAINTAINERS\nindex 288b892f19b..9d954be4a9d 100644\n--- a/MAINTAINERS\n+++ b/MAINTAINERS\n@@ -1244,9 +1244,10 @@ FWU Multi Bank Update\n M:\tSughosh Ganu <sughosh.ganu@arm.com>\n S:\tMaintained\n T:\tgit https://source.denx.de/u-boot/custodians/u-boot-efi.git\n+F:\tdoc/mkfwumdata.1\n F:\tlib/fwu_updates/*\n F:\tdrivers/fwu-mdata/*\n-F:\ttools/mkfwumdata.c\n+F:\ttools/fwumdata_src/mkfwumdata.c\n \n GATEWORKS_SC\n M:\tTim Harvey <tharvey@gateworks.com>\ndiff --git a/tools/Kconfig b/tools/Kconfig\nindex a1b4d701ac7..ef33295b8ec 100644\n--- a/tools/Kconfig\n+++ b/tools/Kconfig\n@@ -194,13 +194,6 @@ config LUT_SEQUENCE\n \thelp\n \t  Look Up Table Sequence\n \n-config TOOLS_MKFWUMDATA\n-\tbool \"Build mkfwumdata command\"\n-\tdefault y if FWU_MULTI_BANK_UPDATE\n-\thelp\n-\t  This command allows users to create a raw image of the FWU\n-\t  metadata for initial installation of the FWU multi bank\n-\t  update on the board. The installation method depends on\n-\t  the platform.\n+source tools/fwumdata_src/Kconfig\n \n endmenu\ndiff --git a/tools/Makefile b/tools/Makefile\nindex 0ac683ac3ec..1908a63b42c 100644\n--- a/tools/Makefile\n+++ b/tools/Makefile\n@@ -272,9 +272,7 @@ mkeficapsule-objs := generated/lib/uuid.o \\\n \tmkeficapsule.o\n hostprogs-always-$(CONFIG_TOOLS_MKEFICAPSULE) += mkeficapsule\n \n-mkfwumdata-objs := mkfwumdata.o generated/lib/crc32.o\n-HOSTLDLIBS_mkfwumdata += -luuid\n-hostprogs-always-$(CONFIG_TOOLS_MKFWUMDATA) += mkfwumdata\n+include tools/fwumdata_src/fwumdata.mk\n \n # We build some files with extra pedantic flags to try to minimize things\n # that won't build on some weird host compiler -- though there are lots of\ndiff --git a/tools/fwumdata_src/Kconfig b/tools/fwumdata_src/Kconfig\nnew file mode 100644\nindex 00000000000..c033c560e8d\n--- /dev/null\n+++ b/tools/fwumdata_src/Kconfig\n@@ -0,0 +1,8 @@\n+config TOOLS_MKFWUMDATA\n+\tbool \"Build mkfwumdata command\"\n+\tdefault y if FWU_MULTI_BANK_UPDATE\n+\thelp\n+\t  This command allows users to create a raw image of the FWU\n+\t  metadata for initial installation of the FWU multi bank\n+\t  update on the board. The installation method depends on\n+\t  the platform.\ndiff --git a/tools/fwumdata_src/fwumdata.mk b/tools/fwumdata_src/fwumdata.mk\nnew file mode 100644\nindex 00000000000..00f4ae50dbb\n--- /dev/null\n+++ b/tools/fwumdata_src/fwumdata.mk\n@@ -0,0 +1,7 @@\n+# SPDX-License-Identifier: GPL-2.0+\n+#\n+# (C) Copyright 2025, Kory Maincent <kory.maincent@bootlin.com>\n+\n+mkfwumdata-objs := fwumdata_src/mkfwumdata.o generated/lib/crc32.o\n+HOSTLDLIBS_mkfwumdata += -luuid\n+hostprogs-always-$(CONFIG_TOOLS_MKFWUMDATA) += mkfwumdata\ndiff --git a/tools/mkfwumdata.c b/tools/fwumdata_src/mkfwumdata.c\nsimilarity index 100%\nrename from tools/mkfwumdata.c\nrename to tools/fwumdata_src/mkfwumdata.c\n",
    "prefixes": [
        "v3",
        "2/6"
    ]
}