get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 1000442,
    "url": "http://patchwork.ozlabs.org/api/patches/1000442/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20181120085526.35281-1-wen.he_1@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": "<20181120085526.35281-1-wen.he_1@nxp.com>",
    "list_archive_url": null,
    "date": "2018-11-20T08:55:25",
    "name": "[U-Boot,1/2] armv8: ls1043ardb: Add the nand_bootcmd definition",
    "commit_ref": "eb967b96c26e9c725aa499d36237e0fdba142ee4",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "f2965e351bbf169a0b4c77046bf0b851007aa7ff",
    "submitter": {
        "id": 73065,
        "url": "http://patchwork.ozlabs.org/api/people/73065/?format=api",
        "name": "Wen He",
        "email": "wen.he_1@nxp.com"
    },
    "delegate": {
        "id": 2467,
        "url": "http://patchwork.ozlabs.org/api/users/2467/?format=api",
        "username": "prabhu_kush",
        "first_name": "Prabhakar",
        "last_name": "Kushwaha",
        "email": "prabhakar@freescale.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20181120085526.35281-1-wen.he_1@nxp.com/mbox/",
    "series": [
        {
            "id": 76973,
            "url": "http://patchwork.ozlabs.org/api/series/76973/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=76973",
            "date": "2018-11-20T08:55:25",
            "name": "[U-Boot,1/2] armv8: ls1043ardb: Add the nand_bootcmd definition",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/76973/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/1000442/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/1000442/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<u-boot-bounces@lists.denx.de>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org",
        "Authentication-Results": [
            "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org;\n\tdmarc=fail (p=none dis=none) header.from=nxp.com"
        ],
        "Received": [
            "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 42zlRZ12H9z9s3q\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 20 Nov 2018 23:30:49 +1100 (AEDT)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid BDC58C22061; Tue, 20 Nov 2018 12:27:56 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 90D0EC220B0;\n\tTue, 20 Nov 2018 12:19:55 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid EDE61C21FCA; Tue, 20 Nov 2018 08:55:29 +0000 (UTC)",
            "from inva021.nxp.com (inva021.nxp.com [92.121.34.21])\n\tby lists.denx.de (Postfix) with ESMTPS id A2E2CC21EDE\n\tfor <u-boot@lists.denx.de>; Tue, 20 Nov 2018 08:55:29 +0000 (UTC)",
            "from inva021.nxp.com (localhost [127.0.0.1])\n\tby inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 2ACFC2001CE;\n\tTue, 20 Nov 2018 09:55:29 +0100 (CET)",
            "from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com\n\t[165.114.16.14])\n\tby inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 2218E200042;\n\tTue, 20 Nov 2018 09:55:26 +0100 (CET)",
            "from mega.ap.freescale.net (mega.ap.freescale.net [10.192.208.232])\n\tby invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 0ACF3402B0;\n\tTue, 20 Nov 2018 16:55:21 +0800 (SGT)"
        ],
        "X-Spam-Checker-Version": "SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de",
        "X-Spam-Level": "",
        "X-Spam-Status": "No, score=0.0 required=5.0 tests=none autolearn=unavailable\n\tautolearn_force=no version=3.4.0",
        "From": "Wen He <wen.he_1@nxp.com>",
        "To": "u-boot@lists.denx.de,\n\tyork.sun@nxp.com",
        "Date": "Tue, 20 Nov 2018 16:55:25 +0800",
        "Message-Id": "<20181120085526.35281-1-wen.he_1@nxp.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "X-Virus-Scanned": "ClamAV using ClamSMTP",
        "X-Mailman-Approved-At": "Tue, 20 Nov 2018 12:19:39 +0000",
        "Cc": "alison.wang@nxp.com, Wen He <wen.he_1@nxp.com>",
        "Subject": "[U-Boot] [PATCH 1/2] armv8: ls1043ardb: Add the nand_bootcmd\n\tdefinition",
        "X-BeenThere": "u-boot@lists.denx.de",
        "X-Mailman-Version": "2.1.18",
        "Precedence": "list",
        "List-Id": "U-Boot discussion <u-boot.lists.denx.de>",
        "List-Unsubscribe": "<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>",
        "List-Archive": "<http://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\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"utf-8\"",
        "Content-Transfer-Encoding": "base64",
        "Errors-To": "u-boot-bounces@lists.denx.de",
        "Sender": "\"U-Boot\" <u-boot-bounces@lists.denx.de>"
    },
    "content": "nand_bootcmd doest not exist, it should be support\nfor nand auto boot up.\n\nSigned-off-by: Wen He <wen.he_1@nxp.com>\n---\n include/configs/ls1043a_common.h | 8 ++++++++\n 1 file changed, 8 insertions(+)",
    "diff": "diff --git a/include/configs/ls1043a_common.h b/include/configs/ls1043a_common.h\nindex 3d6ce2c..795e904 100644\n--- a/include/configs/ls1043a_common.h\n+++ b/include/configs/ls1043a_common.h\n@@ -258,6 +258,8 @@\n \t\"fdtheader_addr_r=0x80100000\\0\"\t\t\\\n \t\"kernelheader_addr_r=0x80200000\\0\"\t\\\n \t\"kernel_addr_r=0x81000000\\0\"\t\t\\\n+\t\"kernel_start=0x1000000\\0\"\t\t\\\n+\t\"kernelheader_start=0x800000\\0\"\t\t\\\n \t\"fdt_addr_r=0x90000000\\0\"\t\t\\\n \t\"load_addr=0xa0000000\\0\"\t\t\\\n \t\"kernelheader_addr=0x60800000\\0\"\t\\\n@@ -310,6 +312,12 @@\n \t\t\"&& cp.b $kernelheader_addr $kernelheader_addr_r \"\t\\\n \t\t\"$kernelheader_size && esbc_validate ${kernelheader_addr_r}; \" \\\n \t\t\"bootm $load_addr#$board\\0\"\t    \\\n+\t\"nand_bootcmd=echo Trying load from NAND..;\"\t\\\n+\t\t\"nand info; nand read $load_addr \"\t\\\n+\t\t\"$kernel_start $kernel_size; env exists secureboot \"\t\\\n+\t\t\"&& nand read $kernelheader_addr_r $kernelheader_start \"\t\\\n+\t\t\"$kernelheader_size && esbc_validate ${kernelheader_addr_r}; \" \\\n+\t\t\"bootm $load_addr#$board\\0\"\t\\\n \t\"sd_bootcmd=echo Trying load from SD ..;\"       \\\n \t\t\"mmcinfo; mmc read $load_addr \"         \\\n \t\t\"$kernel_addr_sd $kernel_size_sd && \"     \\\n",
    "prefixes": [
        "U-Boot",
        "1/2"
    ]
}