get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2147595,
    "url": "http://patchwork.ozlabs.org/api/patches/2147595/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20251009115846.897186-4-anshuld@ti.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": "<20251009115846.897186-4-anshuld@ti.com>",
    "list_archive_url": null,
    "date": "2025-10-09T11:58:45",
    "name": "[v2,3/3] spl: set fdt address as spl_image arg in falcon mode",
    "commit_ref": "f851171e14ac1b1910c549879a9b82060cc4cdba",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "e0655d89b94733c14193f431572382f160efd8bf",
    "submitter": {
        "id": 90324,
        "url": "http://patchwork.ozlabs.org/api/people/90324/?format=api",
        "name": "Anshul Dalal",
        "email": "anshuld@ti.com"
    },
    "delegate": {
        "id": 3651,
        "url": "http://patchwork.ozlabs.org/api/users/3651/?format=api",
        "username": "trini",
        "first_name": "Tom",
        "last_name": "Rini",
        "email": "trini@ti.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20251009115846.897186-4-anshuld@ti.com/mbox/",
    "series": [
        {
            "id": 476899,
            "url": "http://patchwork.ozlabs.org/api/series/476899/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=476899",
            "date": "2025-10-09T11:58:42",
            "name": "Add support for secure falcon mode: disable args file",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/476899/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2147595/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2147595/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 (1024-bit key;\n unprotected) header.d=ti.com header.i=@ti.com header.a=rsa-sha256\n header.s=ti-com-17Q1 header.b=K8QwrZhP;\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=quarantine dis=none) header.from=ti.com",
            "phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de",
            "phobos.denx.de;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=ti.com header.i=@ti.com header.b=\"K8QwrZhP\";\n\tdkim-atps=neutral",
            "phobos.denx.de;\n dmarc=pass (p=quarantine dis=none) header.from=ti.com",
            "phobos.denx.de; spf=pass smtp.mailfrom=anshuld@ti.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 server-signature ECDSA (secp384r1))\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4cj7hZ192sz1yGS\n\tfor <incoming@patchwork.ozlabs.org>; Thu,  9 Oct 2025 22:59:26 +1100 (AEDT)",
            "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 0566B8447F;\n\tThu,  9 Oct 2025 13:59:04 +0200 (CEST)",
            "by phobos.denx.de (Postfix, from userid 109)\n id C92EE84505; Thu,  9 Oct 2025 13:59:01 +0200 (CEST)",
            "from lelvem-ot01.ext.ti.com (lelvem-ot01.ext.ti.com [198.47.23.234])\n (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n bits)) (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id 97769844FD\n for <u-boot@lists.denx.de>; Thu,  9 Oct 2025 13:58:59 +0200 (CEST)",
            "from fllvem-sh03.itg.ti.com ([10.64.41.86])\n by lelvem-ot01.ext.ti.com (8.15.2/8.15.2) with ESMTP id 599BwuKv076967;\n Thu, 9 Oct 2025 06:58:56 -0500",
            "from DLEE115.ent.ti.com (dlee115.ent.ti.com [157.170.170.26])\n by fllvem-sh03.itg.ti.com (8.18.1/8.18.1) with ESMTPS id 599Bwu0l1409782\n (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA256 bits=128 verify=FAIL);\n Thu, 9 Oct 2025 06:58:56 -0500",
            "from DLEE203.ent.ti.com (157.170.170.78) by DLEE115.ent.ti.com\n (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.55; Thu, 9\n Oct 2025 06:58:55 -0500",
            "from lelvem-mr06.itg.ti.com (10.180.75.8) by DLEE203.ent.ti.com\n (157.170.170.78) with Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.20 via Frontend\n Transport; Thu, 9 Oct 2025 06:58:55 -0500",
            "from localhost (dhcp-172-24-233-105.dhcp.ti.com [172.24.233.105])\n by lelvem-mr06.itg.ti.com (8.18.1/8.18.1) with ESMTP id 599Bwsuk4171986;\n Thu, 9 Oct 2025 06:58:55 -0500"
        ],
        "X-Spam-Checker-Version": "SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de",
        "X-Spam-Level": "",
        "X-Spam-Status": "No, score=-2.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,\n DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,\n RCVD_IN_DNSWL_BLOCKED,RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,\n RCVD_IN_VALIDITY_RPBL_BLOCKED,SPF_HELO_PASS,SPF_PASS autolearn=ham\n autolearn_force=no version=3.4.2",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com;\n s=ti-com-17Q1; t=1760011136;\n bh=DaCeYbBJmn1X9Aa3uh1jlXfgOYptqm3jAkuJNIOzSEc=;\n h=From:To:CC:Subject:Date:In-Reply-To:References;\n b=K8QwrZhPR3N80Cob/nPOVMLr2wvVfuxDUvoJF7cQuUVHvdiWoAiHzueAZcA9CVf98\n UlyvUT2afq/WPlYHYPjKj3Pvca7PyQFvSit2nV9y3gWKDKeEK1wLsVxgmwjr+M5/Lz\n AVivPwDTq4bzJx6JZipG4+zuKE0e3yD+w9DboY4I=",
        "From": "Anshul Dalal <anshuld@ti.com>",
        "To": "<u-boot@lists.denx.de>",
        "CC": "Anshul Dalal <anshuld@ti.com>, <vigneshr@ti.com>, <trini@konsulko.com>,\n <afd@ti.com>, <m-chawdhry@ti.com>, <n-francis@ti.com>, <b-liu@ti.com>,\n <nm@ti.com>, <bb@ti.com>, <kever.yang@rock-chips.com>,\n <hl@rock-chips.com>, <tim@feathertop.org>,\n <marek.vasut+renesas@mailbox.org>",
        "Subject": "[PATCH v2 3/3] spl: set fdt address as spl_image arg in falcon mode",
        "Date": "Thu, 9 Oct 2025 17:28:45 +0530",
        "Message-ID": "<20251009115846.897186-4-anshuld@ti.com>",
        "X-Mailer": "git-send-email 2.51.0",
        "In-Reply-To": "<20251009115846.897186-1-anshuld@ti.com>",
        "References": "<20251009115846.897186-1-anshuld@ti.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain",
        "X-C2ProcessedOrg": "333ef613-75bf-4e12-a4b1-8e3623f5dcea",
        "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": "The arg field of `struct spl_image_info` is used by jump_to_image_linux\nas the argument for the kernel in falcon mode.\n\nSince commit 601cebc29d2a (\"cmd: spl: Remove ATAG support from this\ncommand\"), fdt is the only valid argument for kernel in falcon mode.\n\nHowever fdt was only being set as the argument in nor and xip boot\nmodes, this patch fixes it for all boot modes and removes the now\nredundant code from spl_nor and spl_xip.\n\nSigned-off-by: Anshul Dalal <anshuld@ti.com>\n---\n common/spl/spl.c     | 1 +\n common/spl/spl_nor.c | 4 ----\n common/spl/spl_xip.c | 1 -\n 3 files changed, 1 insertion(+), 5 deletions(-)",
    "diff": "diff --git a/common/spl/spl.c b/common/spl/spl.c\nindex f1a1785beef..8c20b75b178 100644\n--- a/common/spl/spl.c\n+++ b/common/spl/spl.c\n@@ -800,6 +800,7 @@ void board_init_r(gd_t *dummy1, ulong dummy2)\n \t\t\tfdt = spl_image_fdt_addr(&spl_image);\n \t\tspl_fixup_fdt(fdt);\n \t\tspl_board_prepare_for_linux();\n+\t\tspl_image.arg = fdt;\n \t\tjumper = &jump_to_image_linux;\n \t} else {\n \t\tdebug(\"Unsupported OS image.. Jumping nevertheless..\\n\");\ndiff --git a/common/spl/spl_nor.c b/common/spl/spl_nor.c\nindex 6f9ff91bef7..d18cdc07569 100644\n--- a/common/spl/spl_nor.c\n+++ b/common/spl/spl_nor.c\n@@ -69,10 +69,6 @@ static int spl_nor_load_image_os(struct spl_image_info *spl_image,\n \t       (void *)(CONFIG_SYS_OS_BASE + sizeof(struct legacy_img_hdr)),\n \t       spl_image->size);\n \n-#ifdef CONFIG_SPL_PAYLOAD_ARGS_ADDR\n-\tspl_image->arg = (void *)CONFIG_SPL_PAYLOAD_ARGS_ADDR;\n-#endif\n-\n \treturn 0;\n }\n #endif\ndiff --git a/common/spl/spl_xip.c b/common/spl/spl_xip.c\nindex 1465c3e46b9..90b4102a749 100644\n--- a/common/spl/spl_xip.c\n+++ b/common/spl/spl_xip.c\n@@ -14,7 +14,6 @@ static int spl_xip(struct spl_image_info *spl_image,\n {\n #if CONFIG_IS_ENABLED(OS_BOOT)\n \tif (!spl_start_uboot()) {\n-\t\tspl_image->arg = (void *)CONFIG_SPL_PAYLOAD_ARGS_ADDR;\n \t\tspl_image->name = \"Linux\";\n \t\tspl_image->os = IH_OS_LINUX;\n \t\tspl_image->load_addr = CONFIG_SYS_LOAD_ADDR;\n",
    "prefixes": [
        "v2",
        "3/3"
    ]
}