get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 810365,
    "url": "http://patchwork.ozlabs.org/api/patches/810365/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/1504664087-26473-2-git-send-email-kever.yang@rock-chips.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": "<1504664087-26473-2-git-send-email-kever.yang@rock-chips.com>",
    "list_archive_url": null,
    "date": "2017-09-06T02:14:28",
    "name": "[U-Boot,01/10] lib: add TPL_OF_LIBFDT option for TPL",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "68e9fb867b324004aaa664b4ad0c64cb50a85b9d",
    "submitter": {
        "id": 64532,
        "url": "http://patchwork.ozlabs.org/api/people/64532/?format=api",
        "name": "Kever Yang",
        "email": "kever.yang@rock-chips.com"
    },
    "delegate": {
        "id": 69486,
        "url": "http://patchwork.ozlabs.org/api/users/69486/?format=api",
        "username": "ptomsich",
        "first_name": "Philipp",
        "last_name": "Tomsich",
        "email": "philipp.tomsich@theobroma-systems.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/1504664087-26473-2-git-send-email-kever.yang@rock-chips.com/mbox/",
    "series": [
        {
            "id": 1682,
            "url": "http://patchwork.ozlabs.org/api/series/1682/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=1682",
            "date": "2017-09-06T02:14:28",
            "name": "rockchip: add tpl and OPTEE support for rk3229",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/1682/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/810365/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/810365/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\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"hOHWRvnX\"; dkim-atps=neutral"
        ],
        "Received": [
            "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xn6cV2zWMz9t2R\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed,  6 Sep 2017 12:15:22 +1000 (AEST)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid D72F9C21DF7; Wed,  6 Sep 2017 02:15:17 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id C8F62C21D75;\n\tWed,  6 Sep 2017 02:15:15 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 6CEEDC21D75; Wed,  6 Sep 2017 02:15:14 +0000 (UTC)",
            "from mail-pg0-f68.google.com (mail-pg0-f68.google.com\n\t[74.125.83.68])\n\tby lists.denx.de (Postfix) with ESMTPS id D2572C21C40\n\tfor <u-boot@lists.denx.de>; Wed,  6 Sep 2017 02:15:13 +0000 (UTC)",
            "by mail-pg0-f68.google.com with SMTP id v82so2189749pgb.1\n\tfor <u-boot@lists.denx.de>; Tue, 05 Sep 2017 19:15:13 -0700 (PDT)",
            "from localhost.localdomain ([58.22.7.114])\n\tby smtp.gmail.com with ESMTPSA id\n\tz30sm362126pfg.54.2017.09.05.19.15.09\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tTue, 05 Sep 2017 19:15:11 -0700 (PDT)"
        ],
        "X-Spam-Checker-Version": "SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de",
        "X-Spam-Level": "*",
        "X-Spam-Status": "No, score=1.9 required=5.0 tests=RCVD_IN_BL_SPAMCOP_NET,\n\tRCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,\n\tRCVD_IN_SORBS_WEB, \n\tT_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=sender:from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=gGQB5yfqJ9Rzktl6LSzNuzUIpqG8TztwevdpQ297F+c=;\n\tb=hOHWRvnXgYFdxL3kGIECZF7yTT0D6dQWm0U0zOtQ2I4Hb3ugUOLM3O4pGJ/8+UNZPy\n\tWxuGQRXQaMNvsvVGvmHgzACw1/fxQgCgirZjxqvaEjxaf49tc83BTFxArCTjStZAsXYz\n\tVedHd2y/Zo6u1dq/WP6uQZzWhqUEDNijJE/9mSQxa7txSqN8SXQWdafddXTnjPQb/xFn\n\tWOSUJfaGSGzhiq69FL03quX2fFyEjuAgEx6sr7WDC/qQYW2oY+fZ1C1233l7VCHbCr9I\n\txu0YZI+d3QIUVAr5PgU+a0Q2aawzvEue0ba+diqxuRYEs2zt5ZPbBEY1A0yxa+RH4x76\n\tTRcw==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:sender:from:to:cc:subject:date:message-id\n\t:in-reply-to:references;\n\tbh=gGQB5yfqJ9Rzktl6LSzNuzUIpqG8TztwevdpQ297F+c=;\n\tb=ijImE3E/J3QkbYt8U32ew21fGij0BwcnTaIxRsTxIO06Cf/6IbNZHXtmZahp9Z8Btw\n\tT+fApoiTJH06LvCbEACVddPifUuoLQ+zF2y+p/sJ/uAe508KGJT0YTo2u9U5IRo53/GA\n\t4kavQPqFv9td5dwIQnZEcxQHqYhb0i/KCay0yyQJsVvttBUsys4b1VgMPFio4Yskjm8Y\n\t2ASvXRC714FNVJcXiy6iqTz5w8sA52xJSzHlksYcJuM9BAq2Z7kjtlpfbFx9PBqQPLwU\n\t7L+IQm/esV5dj1H/Lvr0OhQ+rnY+bfAEj/syFOun6u79fVyed0cHKThLbxQEI4RSzMoe\n\t1+oA==",
        "X-Gm-Message-State": "AHPjjUj50xQce/XuNAYUw71EAC6SrIKW2Rky+t2uD6ipweKarC0eMaNv\n\tE8anCrGhHMkPcUO8",
        "X-Google-Smtp-Source": "ADKCNb5GMprJL3r140R3WdbfqW6xzN+7eKGJLjB5VLR/ns631Hx//+oAUoL1Ote9RHV5gxGsIshIhg==",
        "X-Received": "by 10.98.20.5 with SMTP id 5mr5762188pfu.302.1504664112258;\n\tTue, 05 Sep 2017 19:15:12 -0700 (PDT)",
        "From": "Kever Yang <kever.yang@rock-chips.com>",
        "To": "u-boot@lists.denx.de",
        "Date": "Wed,  6 Sep 2017 10:14:28 +0800",
        "Message-Id": "<1504664087-26473-2-git-send-email-kever.yang@rock-chips.com>",
        "X-Mailer": "git-send-email 1.9.1",
        "In-Reply-To": "<1504664087-26473-1-git-send-email-kever.yang@rock-chips.com>",
        "References": "<1504664087-26473-1-git-send-email-kever.yang@rock-chips.com>",
        "Cc": "vagrant@debian.org, Maxime Ripard <maxime.ripard@free-electrons.com>,\n\tJagan Teki <jagan@openedev.com>",
        "Subject": "[U-Boot] [PATCH 01/10] lib: add TPL_OF_LIBFDT option for TPL",
        "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": "TPL may need use libfdt for dt decode, add option for it.\n\nSigned-off-by: Kever Yang <kever.yang@rock-chips.com>\n---\n\n lib/Kconfig | 10 ++++++++++\n 1 file changed, 10 insertions(+)",
    "diff": "diff --git a/lib/Kconfig b/lib/Kconfig\nindex d73052d..d2a6dae 100644\n--- a/lib/Kconfig\n+++ b/lib/Kconfig\n@@ -204,6 +204,16 @@ config SPL_OF_LIBFDT\n \t  particular compatible nodes. The library operates on a flattened\n \t  version of the device tree.\n \n+config TPL_OF_LIBFDT\n+\tbool \"Enable the FDT library for TPL\"\n+\tdefault y if TPL_OF_CONTROL\n+\thelp\n+\t  This enables the FDT library (libfdt). It provides functions for\n+\t  accessing binary device tree images in memory, such as adding and\n+\t  removing nodes and properties, scanning through the tree and finding\n+\t  particular compatible nodes. The library operates on a flattened\n+\t  version of the device tree.\n+\n config FDT_FIXUP_PARTITIONS\n \tbool \"overwrite MTD partitions in DTS through defined in 'mtdparts'\"\n \tdepends on OF_LIBFDT\n",
    "prefixes": [
        "U-Boot",
        "01/10"
    ]
}