get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 806644,
    "url": "http://patchwork.ozlabs.org/api/patches/806644/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/1503935493-28656-1-git-send-email-agust@denx.de/",
    "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": "<1503935493-28656-1-git-send-email-agust@denx.de>",
    "list_archive_url": null,
    "date": "2017-08-28T15:51:33",
    "name": "[U-Boot] imx6: don't include unneeded boot_mode array in SPL",
    "commit_ref": "ffc36f57bc769bc111b157e2f27791756f8d4057",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "d21be9af295940dab037eef5c3fe2d51be40d241",
    "submitter": {
        "id": 872,
        "url": "http://patchwork.ozlabs.org/api/people/872/?format=api",
        "name": "Anatolij Gustschin",
        "email": "agust@denx.de"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/1503935493-28656-1-git-send-email-agust@denx.de/mbox/",
    "series": [
        {
            "id": 204,
            "url": "http://patchwork.ozlabs.org/api/series/204/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=204",
            "date": "2017-08-28T15:51:33",
            "name": "[U-Boot] imx6: don't include unneeded boot_mode array in SPL",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/204/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/806644/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/806644/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>)",
        "Received": [
            "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xgx8P3Sm2z9sNn\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 29 Aug 2017 01:51:33 +1000 (AEST)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 22AB7C2251B; Mon, 28 Aug 2017 15:51:26 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 0D53EC2244C;\n\tMon, 28 Aug 2017 15:51:24 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid E7D4EC224BD; Mon, 28 Aug 2017 15:51:21 +0000 (UTC)",
            "from mail-out.m-online.net (mail-out.m-online.net [212.18.0.10])\n\tby lists.denx.de (Postfix) with ESMTPS id 98AD6C2244C\n\tfor <u-boot@lists.denx.de>; Mon, 28 Aug 2017 15:51:21 +0000 (UTC)",
            "from frontend01.mail.m-online.net (unknown [192.168.8.182])\n\tby mail-out.m-online.net (Postfix) with ESMTP id 3xgx8934rMz1rHy0;\n\tMon, 28 Aug 2017 17:51:21 +0200 (CEST)",
            "from localhost (dynscan1.mnet-online.de [192.168.6.70])\n\tby mail.m-online.net (Postfix) with ESMTP id 3xgx892Y2fz3jgY4;\n\tMon, 28 Aug 2017 17:51:21 +0200 (CEST)",
            "from mail.mnet-online.de ([192.168.8.182])\n\tby localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new,\n\tport 10024)\n\twith ESMTP id w988xMZoZhzS; Mon, 28 Aug 2017 17:51:20 +0200 (CEST)",
            "from crub.agik.hopto.org (p4FCB44C5.dip0.t-ipconnect.de\n\t[79.203.68.197]) (using TLSv1 with cipher AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby mail.mnet-online.de (Postfix) with ESMTPSA;\n\tMon, 28 Aug 2017 17:51:20 +0200 (CEST)"
        ],
        "X-Spam-Checker-Version": "SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de",
        "X-Spam-Level": "",
        "X-Spam-Status": "No, score=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,\n\tRCVD_IN_MSPIKE_H3,\n\tRCVD_IN_MSPIKE_WL autolearn=unavailable autolearn_force=no\n\tversion=3.4.0",
        "X-Virus-Scanned": "amavisd-new at mnet-online.de",
        "X-Auth-Info": "3ZIEDVCvOGIrqWQ/7zogN9ZQ8e4zHbYsHePGeikN3DE=",
        "From": "Anatolij Gustschin <agust@denx.de>",
        "To": "u-boot@lists.denx.de",
        "Date": "Mon, 28 Aug 2017 17:51:33 +0200",
        "Message-Id": "<1503935493-28656-1-git-send-email-agust@denx.de>",
        "X-Mailer": "git-send-email 2.7.4",
        "Subject": "[U-Boot] [PATCH] imx6: don't include unneeded boot_mode array in SPL",
        "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": "The soc_boot_modes array is only used by bmode command\nand not needed in SPL. Don't include it into SPL.\n\nSigned-off-by: Anatolij Gustschin <agust@denx.de>\n---\n arch/arm/mach-imx/mx6/soc.c | 2 ++\n 1 file changed, 2 insertions(+)",
    "diff": "diff --git a/arch/arm/mach-imx/mx6/soc.c b/arch/arm/mach-imx/mx6/soc.c\nindex 9ede1f5..13ca286 100644\n--- a/arch/arm/mach-imx/mx6/soc.c\n+++ b/arch/arm/mach-imx/mx6/soc.c\n@@ -551,6 +551,7 @@ void imx_get_mac_from_fuse(int dev_id, unsigned char *mac)\n }\n #endif\n \n+#ifndef CONFIG_SPL_BUILD\n /*\n  * cfg_val will be used for\n  * Boot_cfg4[7:0]:Boot_cfg3[7:0]:Boot_cfg2[7:0]:Boot_cfg1[7:0]\n@@ -577,6 +578,7 @@ const struct boot_mode soc_boot_modes[] = {\n \t{\"esdhc4\",\tMAKE_CFGVAL(0x40, 0x38, 0x00, 0x00)},\n \t{NULL,\t\t0},\n };\n+#endif\n \n void reset_misc(void)\n {\n",
    "prefixes": [
        "U-Boot"
    ]
}