get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2218556,
    "url": "http://patchwork.ozlabs.org/api/patches/2218556/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20260401085947.1670191-2-chunguang.li_2@nxp.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": "<20260401085947.1670191-2-chunguang.li_2@nxp.com>",
    "list_archive_url": null,
    "date": "2026-04-01T08:59:45",
    "name": "[2/4] ls1043ardb: refactor EXTRA_ENV_SETTINGS and add board-specific overrides",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "f1b5543625acb24d8da25d2a2c8a61a6b7fd1d75",
    "submitter": {
        "id": 93031,
        "url": "http://patchwork.ozlabs.org/api/people/93031/?format=api",
        "name": null,
        "email": "chunguang.li_2@nxp.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20260401085947.1670191-2-chunguang.li_2@nxp.com/mbox/",
    "series": [
        {
            "id": 498330,
            "url": "http://patchwork.ozlabs.org/api/series/498330/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=498330",
            "date": "2026-04-01T08:59:44",
            "name": "[1/4] ls1028ardb: adjust env settings for unified boot.scr",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/498330/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2218556/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2218556/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 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=fail (p=none dis=none) header.from=nxp.com",
            "phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de",
            "phobos.denx.de;\n dmarc=fail (p=none dis=none) header.from=nxp.com",
            "phobos.denx.de;\n spf=pass smtp.mailfrom=chunguang.li_2@nxp.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 4fm4jt4zgnz1yFv\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 01 Apr 2026 23:56:18 +1100 (AEDT)",
            "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 81A0B84056;\n\tWed,  1 Apr 2026 14:56:04 +0200 (CEST)",
            "by phobos.denx.de (Postfix, from userid 109)\n id B859E83CE3; Wed,  1 Apr 2026 11:00:08 +0200 (CEST)",
            "from inva020.nxp.com (inva020.nxp.com [92.121.34.13])\n (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id 149B683F5B\n for <u-boot@lists.denx.de>; Wed,  1 Apr 2026 11:00:06 +0200 (CEST)",
            "from inva020.nxp.com (localhost [127.0.0.1])\n by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id D0CEC1A3D11;\n Wed,  1 Apr 2026 11:00:05 +0200 (CEST)",
            "from aprdc01srsp001v.ap-rdc01.nxp.com\n (aprdc01srsp001v.ap-rdc01.nxp.com [165.114.16.16])\n by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id A4D091A3D15;\n Wed,  1 Apr 2026 11:00:05 +0200 (CEST)",
            "from bjse.cn-bjs01.nxp.com (bjse.cn-bjs01.nxp.com [10.193.20.96])\n by aprdc01srsp001v.ap-rdc01.nxp.com (Postfix) with ESMTP id E97881800097;\n Wed,  1 Apr 2026 17:00:03 +0800 (+08)"
        ],
        "X-Spam-Checker-Version": "SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de",
        "X-Spam-Level": "",
        "X-Spam-Status": "No, score=0.1 required=5.0 tests=BAYES_00,\n RCVD_IN_DNSWL_BLOCKED,\n RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,RCVD_IN_VALIDITY_RPBL_BLOCKED,\n SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2",
        "From": "chunguang.li_2@nxp.com",
        "To": "trini@konsulko.com,\n\tmeenakshi.aggarwal@nxp.com,\n\tandy.tang@nxp.com",
        "Cc": "chunguang.li_2@nxp.com, ioana.ciornei@nxp.com,\n florinlaurentiu.chiculita@nxp.com, u-boot@lists.denx.de,\n mingkai.hu@nxp.com, Zhiqiang.Hou@nxp.com, pramod.kumar_1@nxp.com,\n camelia.groza@nxp.com, priyanka.jain@nxp.com, wasim.khan@nxp.com",
        "Subject": "[PATCH 2/4] ls1043ardb: refactor EXTRA_ENV_SETTINGS and add\n board-specific overrides",
        "Date": "Wed,  1 Apr 2026 16:59:45 +0800",
        "Message-ID": "<20260401085947.1670191-2-chunguang.li_2@nxp.com>",
        "X-Mailer": "git-send-email 2.43.0",
        "In-Reply-To": "<20260401085947.1670191-1-chunguang.li_2@nxp.com>",
        "References": "<20260401085947.1670191-1-chunguang.li_2@nxp.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=UTF-8",
        "Content-Transfer-Encoding": "8bit",
        "X-Mailman-Approved-At": "Wed, 01 Apr 2026 14:56:02 +0200",
        "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: Chunguang Li <chunguang.li_2@nxp.com>\n\nUpstream-Status: Inappropriate\nSigned-off-by: Chunguang Li <chunguang.li_2@nxp.com>\n\nu-boot: ls1043a: rename and reorganize EXTRA_ENV_SETTINGS for board overrides\n\n- Rename CFG_EXTRA_ENV_SETTINGS → EXTRA_ENV_SETTINGS in ls1043a_common.h\n- Adjust console parameter in the common environment\n- Add CFG_EXTRA_ENV_SETTINGS in ls1043ardb.h with additional board/image/fdtfile variables\n- Set CFG_EXTRA_ENV_SETTINGS in ls1043aqds.h to EXTRA_ENV_SETTINGS\n\nEnables board‑specific env customization while keeping LS1043A common env shared.\n---\n include/configs/ls1043a_common.h |  2 +-\n include/configs/ls1043aqds.h     |  5 +++++\n include/configs/ls1043ardb.h     | 10 ++++++++++\n 3 files changed, 16 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/include/configs/ls1043a_common.h b/include/configs/ls1043a_common.h\nindex d82502d628e..e2412936b71 100644\n--- a/include/configs/ls1043a_common.h\n+++ b/include/configs/ls1043a_common.h\n@@ -88,7 +88,7 @@\n #include <config_distro_bootcmd.h>\n \n /* Initial environment variables */\n-#define CFG_EXTRA_ENV_SETTINGS\t\t\\\n+#define EXTRA_ENV_SETTINGS              \\\n \t\"hwconfig=fsl_ddr:bank_intlv=auto\\0\"\t\\\n \t\"fdt_high=0xffffffffffffffff\\0\"\t\t\\\n \t\"initrd_high=0xffffffffffffffff\\0\"\t\\\ndiff --git a/include/configs/ls1043aqds.h b/include/configs/ls1043aqds.h\nindex 7ccbb20bf2e..c06e986e93f 100644\n--- a/include/configs/ls1043aqds.h\n+++ b/include/configs/ls1043aqds.h\n@@ -295,6 +295,11 @@\n /*\n  * Environment\n  */\n+#ifndef SPL_NO_MISC\n+/* Initial environment variables */\n+#define CFG_EXTRA_ENV_SETTINGS      \\\n+\tEXTRA_ENV_SETTINGS\n+#endif\n \n #include <asm/fsl_secure_boot.h>\n \ndiff --git a/include/configs/ls1043ardb.h b/include/configs/ls1043ardb.h\nindex ef8fdc1912b..90caf8a1371 100644\n--- a/include/configs/ls1043ardb.h\n+++ b/include/configs/ls1043ardb.h\n@@ -201,4 +201,14 @@\n \n #include <asm/fsl_secure_boot.h>\n \n+#ifndef SPL_NO_MISC\n+/* Initial environment variables */\n+#define CFG_EXTRA_ENV_SETTINGS      \\\n+\tEXTRA_ENV_SETTINGS              \\\n+\t\"board=ls1043ardb\\0\"            \\\n+\t\"fdtfile=fsl-ls1043a-rdb-sdk.dtb\\0\"    \\\n+\t\"image=Image\\0\"\t\t\t\t\t\\\n+\t\"console_dbg=earlycon=uart8250,mmio,0x21c0500\\0\"\n+#endif\n+\n #endif /* __LS1043ARDB_H__ */\n",
    "prefixes": [
        "2/4"
    ]
}