get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2218557,
    "url": "http://patchwork.ozlabs.org/api/patches/2218557/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20260401085947.1670191-3-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-3-chunguang.li_2@nxp.com>",
    "list_archive_url": null,
    "date": "2026-04-01T08:59:46",
    "name": "[3/4] ls1046ardb: refactor EXTRA_ENV_SETTINGS and add board-specific overrides",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "7f4eccab61494a876497efb5580171a281f4398a",
    "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-3-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/2218557/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2218557/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 4fm4k32L67z1yFv\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 01 Apr 2026 23:56:27 +1100 (AEDT)",
            "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 616138408D;\n\tWed,  1 Apr 2026 14:56:05 +0200 (CEST)",
            "by phobos.denx.de (Postfix, from userid 109)\n id 8E74C8407E; Wed,  1 Apr 2026 11:00:12 +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 B6CD780212\n for <u-boot@lists.denx.de>; Wed,  1 Apr 2026 11:00:08 +0200 (CEST)",
            "from inva020.nxp.com (localhost [127.0.0.1])\n by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 642A71A3D10;\n Wed,  1 Apr 2026 11:00:08 +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 330651A3CF7;\n Wed,  1 Apr 2026 11:00:08 +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 757BB1800090;\n Wed,  1 Apr 2026 17:00:06 +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 3/4] ls1046ardb: refactor EXTRA_ENV_SETTINGS and add\n board-specific overrides",
        "Date": "Wed,  1 Apr 2026 16:59:46 +0800",
        "Message-ID": "<20260401085947.1670191-3-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\n- Rename CFG_EXTRA_ENV_SETTINGS → EXTRA_ENV_SETTINGS in ls1046a_common.h\n- Adjust console parameter in the common environment\n- Add CFG_EXTRA_ENV_SETTINGS in ls1046ardb.h with additional board/image/fdtfile variables\n- Set CFG_EXTRA_ENV_SETTINGS in ls1046aqds.h to EXTRA_ENV_SETTINGS\n\nEnables board‑specific env customization while keeping LS1046A common env shared.\n---\n include/configs/ls1046a_common.h |  2 +-\n include/configs/ls1046afrwy.h    |  6 ++++++\n include/configs/ls1046aqds.h     |  5 +++++\n include/configs/ls1046ardb.h     | 10 ++++++++++\n 4 files changed, 22 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/include/configs/ls1046a_common.h b/include/configs/ls1046a_common.h\nindex 8666aff0f33..e99c677f2d1 100644\n--- a/include/configs/ls1046a_common.h\n+++ b/include/configs/ls1046a_common.h\n@@ -83,7 +83,7 @@\n #endif\n #ifndef SPL_NO_MISC\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\"ramdisk_addr=0x800000\\0\"\t\t\\\n \t\"ramdisk_size=0x2000000\\0\"\t\t\\\ndiff --git a/include/configs/ls1046afrwy.h b/include/configs/ls1046afrwy.h\nindex 21804fc6654..07846c3bd25 100644\n--- a/include/configs/ls1046afrwy.h\n+++ b/include/configs/ls1046afrwy.h\n@@ -70,6 +70,12 @@\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 #define CFG_SYS_FSL_QSPI_BASE\t0x40000000\n \n #undef BOOT_TARGET_DEVICES\ndiff --git a/include/configs/ls1046aqds.h b/include/configs/ls1046aqds.h\nindex 4b4bd7cbe48..001118b8504 100644\n--- a/include/configs/ls1046aqds.h\n+++ b/include/configs/ls1046aqds.h\n@@ -312,6 +312,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 #ifdef CONFIG_TFABOOT\n #define IFC_NAND_BOOTCOMMAND \"run distro_bootcmd; run nand_bootcmd; \"\t\\\ndiff --git a/include/configs/ls1046ardb.h b/include/configs/ls1046ardb.h\nindex b2a8bd5cf8a..dfe5270142d 100644\n--- a/include/configs/ls1046ardb.h\n+++ b/include/configs/ls1046ardb.h\n@@ -132,4 +132,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\t\t\t\t\\\n+\t\"board=ls1046ardb\\0\"            \\\n+\t\"fdtfile=fsl-ls1046a-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 /* __LS1046ARDB_H__ */\n",
    "prefixes": [
        "3/4"
    ]
}