get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2219868,
    "url": "http://patchwork.ozlabs.org/api/1.2/patches/2219868/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20260405035235.348357-1-marek.vasut+renesas@mailbox.org/",
    "project": {
        "id": 18,
        "url": "http://patchwork.ozlabs.org/api/1.2/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": "<20260405035235.348357-1-marek.vasut+renesas@mailbox.org>",
    "list_archive_url": null,
    "date": "2026-04-05T03:51:40",
    "name": "arm: renesas: Enable preboot environment variable on all R-Car systems",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "568941fb357c9384c3628d3db88004440b242d6f",
    "submitter": {
        "id": 85650,
        "url": "http://patchwork.ozlabs.org/api/1.2/people/85650/?format=api",
        "name": "Marek Vasut",
        "email": "marek.vasut+renesas@mailbox.org"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20260405035235.348357-1-marek.vasut+renesas@mailbox.org/mbox/",
    "series": [
        {
            "id": 498761,
            "url": "http://patchwork.ozlabs.org/api/1.2/series/498761/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=498761",
            "date": "2026-04-05T03:51:40",
            "name": "arm: renesas: Enable preboot environment variable on all R-Car systems",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/498761/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2219868/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2219868/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 secure) header.d=mailbox.org header.i=@mailbox.org header.a=rsa-sha256\n header.s=mail20150812 header.b=SDtDLEUA;\n\tdkim=pass (2048-bit key) header.d=mailbox.org header.i=@mailbox.org\n header.a=rsa-sha256 header.s=mail20150812 header.b=bSE8UgAM;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=85.214.62.61; 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=mailbox.org",
            "phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de",
            "phobos.denx.de;\n\tdkim=pass (2048-bit key;\n secure) header.d=mailbox.org header.i=@mailbox.org header.b=\"SDtDLEUA\";\n\tdkim=pass (2048-bit key) header.d=mailbox.org header.i=@mailbox.org\n header.b=\"bSE8UgAM\";\n\tdkim-atps=neutral",
            "phobos.denx.de;\n dmarc=pass (p=reject dis=none) header.from=mailbox.org",
            "phobos.denx.de;\n spf=pass smtp.mailfrom=marek.vasut+renesas@mailbox.org",
            "outgoing_mbo_mout;\n dkim=pass header.d=mailbox.org header.s=mail20150812 header.b=bSE8UgAM;\n spf=pass (outgoing_mbo_mout: domain of marek.vasut+renesas@mailbox.org\n designates 2001:67c:2050:b231:465::1 as permitted sender)\n smtp.mailfrom=marek.vasut+renesas@mailbox.org"
        ],
        "Received": [
            "from phobos.denx.de (phobos.denx.de [85.214.62.61])\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 4fpJSy04b3z1xtJ\n\tfor <incoming@patchwork.ozlabs.org>; Sun, 05 Apr 2026 13:52:49 +1000 (AEST)",
            "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 0EB51807C0;\n\tSun,  5 Apr 2026 05:52:44 +0200 (CEST)",
            "by phobos.denx.de (Postfix, from userid 109)\n id 1426E83C14; Sun,  5 Apr 2026 05:52:43 +0200 (CEST)",
            "from mout-p-202.mailbox.org (mout-p-202.mailbox.org [80.241.56.172])\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 BB0D580433\n for <u-boot@lists.denx.de>; Sun,  5 Apr 2026 05:52:40 +0200 (CEST)",
            "from smtp1.mailbox.org (smtp1.mailbox.org\n [IPv6:2001:67c:2050:b231:465::1])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest\n SHA256)\n (No client certificate requested)\n by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4fpJSm2Hy1z9tlV;\n Sun,  5 Apr 2026 05:52:40 +0200 (CEST)"
        ],
        "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=mailbox.org;\n s=mail20150812; t=1775361160;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:cc:mime-version:mime-version:\n content-transfer-encoding:content-transfer-encoding;\n bh=cLxLaA3BKEnnSt0icABI6NHKZ64LB8OOsP/QNWGW8O0=;\n b=SDtDLEUABhtin/hlXN13sNY6VzAlgatLDOgyWeB6DhpPCzJT/RJQkk+QYah4vteiCjkISl\n UiNI0Ic1ptyGGQeer0Vu15jVL0wimHcajFZYC82EX/lhHSPnGIdtgOLWhE0B+9JNjcD5m6\n SA5ONLn3tpKrKVzdr4F1QlcB8CjACdDSHf37l16d/uKdk3zyIkg0c+MGrpx5Zk/1GwgEXV\n 3VpH+U0hDoeNxHjpqko8Fw4vr78qSMT/DFPdzgXQG5TPkERFMCI+dIGrluqacSlSD94a4U\n JDrUzf5eDhtn1/vubk+5FT3EoS00q37RnT0Sq0Gt+AXUr7Kz4cjMVcXAa8FuBw==",
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org;\n s=mail20150812; t=1775361158;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:cc:mime-version:mime-version:\n content-transfer-encoding:content-transfer-encoding;\n bh=cLxLaA3BKEnnSt0icABI6NHKZ64LB8OOsP/QNWGW8O0=;\n b=bSE8UgAMSVUL7ckqqGj9Vt6AMUbrurQxfAnV/zp3cUEHk3N8/hehYl2Ef+rrhCDQgw1vzI\n Kc93FHrfOYSNrbW0eqIODHO14lMtZt3nhgt6GARbjAWOedrEba1n9mFGMxEsTIapKWb3ag\n EjtKLEEMr+O4XN5hKueuSti8fFJyoflVYsbEAufNU5gU90KAOEFEwKxAgF8hZS3dBlCV3g\n htYf9un4OUy2Me9p26DnfHiP6/u6MlPXSneYj1r0mYNYpQiiLuutwJZdf4moVRIQSyd1ly\n +MCCnlVRnk4yRMsPS1VObNsP2CzCquG30XlX+1DaYVbbVvmsr02eTMPQh0ZsdA=="
        ],
        "From": "Marek Vasut <marek.vasut+renesas@mailbox.org>",
        "To": "u-boot@lists.denx.de",
        "Cc": "Marek Vasut <marek.vasut+renesas@mailbox.org>,\n Nobuhiro Iwamatsu <iwamatsu@nigauri.org>, Tom Rini <trini@konsulko.com>",
        "Subject": "[PATCH] arm: renesas: Enable preboot environment variable on all\n R-Car systems",
        "Date": "Sun,  5 Apr 2026 05:51:40 +0200",
        "Message-ID": "<20260405035235.348357-1-marek.vasut+renesas@mailbox.org>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-MBO-RS-ID": "74f3b77588d2d1231b4",
        "X-MBO-RS-META": "gouu5yxgxnseifxfr1qhpcprym7m4xdp",
        "X-Rspamd-Queue-Id": "4fpJSm2Hy1z9tlV",
        "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": "Enable the 'preboot' variable on all R-Car systems. This variable can\noptionally be set and contain a script which is executed before the\nautoboot timeout starts. This can be used to run critical scripts or\nsimilar tasks. By default, the \"preboot\" variable is empty.\n\nSigned-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>\n---\nCc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>\nCc: Tom Rini <trini@konsulko.com>\nCc: u-boot@lists.denx.de\n---\n configs/renesas_rcar.config | 1 +\n 1 file changed, 1 insertion(+)",
    "diff": "diff --git a/configs/renesas_rcar.config b/configs/renesas_rcar.config\nindex b3107d79b0e..548c7827e77 100644\n--- a/configs/renesas_rcar.config\n+++ b/configs/renesas_rcar.config\n@@ -28,5 +28,6 @@ CONFIG_RCAR_GPIO=y\n CONFIG_SCIF_CONSOLE=y\n CONFIG_SERIAL_RX_BUFFER=y\n CONFIG_SPI=y\n+CONFIG_USE_PREBOOT=y\n CONFIG_VERSION_VARIABLE=y\n CONFIG_WGET=y\n",
    "prefixes": []
}