get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 1149969,
    "url": "http://patchwork.ozlabs.org/api/patches/1149969/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20190820093536.39407-2-Zhiqiang.Hou@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": "<20190820093536.39407-2-Zhiqiang.Hou@nxp.com>",
    "list_archive_url": null,
    "date": "2019-08-20T09:35:23",
    "name": "[U-Boot,PATCHv2,01/14] powerpc: mpc85xx: Add device tree support option for PBL boot image",
    "commit_ref": "bcda5b0df329568ca35dfbdb536605729df4cc67",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "aa2e19d3feffc9d2d007c9e97be215a00e4f7661",
    "submitter": {
        "id": 67929,
        "url": "http://patchwork.ozlabs.org/api/people/67929/?format=api",
        "name": "Z.Q. Hou",
        "email": "zhiqiang.hou@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/20190820093536.39407-2-Zhiqiang.Hou@nxp.com/mbox/",
    "series": [
        {
            "id": 126154,
            "url": "http://patchwork.ozlabs.org/api/series/126154/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=126154",
            "date": "2019-08-20T09:35:22",
            "name": "powerpc: Enable device tree support",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/126154/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/1149969/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/1149969/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 46CQsl2ZhFz9s4Y\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 20 Aug 2019 19:46:19 +1000 (AEST)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid E4F49C21F48; Tue, 20 Aug 2019 09:46:02 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 3E706C21D83;\n\tTue, 20 Aug 2019 09:45:46 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 03DBBC21E6A; Tue, 20 Aug 2019 09:45:44 +0000 (UTC)",
            "from inva020.nxp.com (inva020.nxp.com [92.121.34.13])\n\tby lists.denx.de (Postfix) with ESMTPS id AB57BC21D83\n\tfor <u-boot@lists.denx.de>; Tue, 20 Aug 2019 09:45:44 +0000 (UTC)",
            "from inva020.nxp.com (localhost [127.0.0.1])\n\tby inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 793D31A005B;\n\tTue, 20 Aug 2019 11:45:44 +0200 (CEST)",
            "from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com\n\t[165.114.16.14])\n\tby inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 34BE51A00F8;\n\tTue, 20 Aug 2019 11:45:38 +0200 (CEST)",
            "from titan.ap.freescale.net (TITAN.ap.freescale.net\n\t[10.192.208.233])\n\tby invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 3B317402B7;\n\tTue, 20 Aug 2019 17:45:30 +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=KHOP_BIG_TO_CC\n\tautolearn=unavailable autolearn_force=no version=3.4.0",
        "From": "Hou Zhiqiang <Zhiqiang.Hou@nxp.com>",
        "To": "u-boot@lists.denx.de, prabhakar.kushwaha@nxp.com, wd@denx.de,\n\tShengzhou.Liu@nxp.com, priyanka.jain@nxp.com, sjg@chromium.org,\n\tmarek.vasut+renesas@gmail.com, sr@denx.de, jagdish.gediya@nxp.com,\n\tbmeng.cn@gmail.com, york.sun@nxp.com, Jiafei.Pan@nxp.com,\n\tXiaowei.Bao@nxp.com",
        "Date": "Tue, 20 Aug 2019 09:35:23 +0000",
        "Message-Id": "<20190820093536.39407-2-Zhiqiang.Hou@nxp.com>",
        "X-Mailer": "git-send-email 2.9.5",
        "In-Reply-To": "<20190820093536.39407-1-Zhiqiang.Hou@nxp.com>",
        "References": "<20190820093536.39407-1-Zhiqiang.Hou@nxp.com>",
        "X-Virus-Scanned": "ClamAV using ClamSMTP",
        "Cc": "Hou Zhiqiang <Zhiqiang.Hou@nxp.com>",
        "Subject": "[U-Boot] [PATCHv2 01/14] powerpc: mpc85xx: Add device tree support\n\toption for PBL boot image",
        "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 current Makefile always use u-boot.bin to generate\nPBL boot image (u-boot.pbl), this patch changes it to\nuse u-boot-with-dtb.bin to support device tree when\nCONFIG_OF_SEPARATE is enabled.\n\nSigned-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>\n---\nV2:\n - New patch.\n\n Makefile | 8 +++++++-\n 1 file changed, 7 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/Makefile b/Makefile\nindex 059978b..a70a0d0 100644\n--- a/Makefile\n+++ b/Makefile\n@@ -1247,8 +1247,14 @@ MKIMAGEFLAGS_u-boot-spl.kwb = -n $(srctree)/$(CONFIG_SYS_KWD_CONFIG:\"%\"=%) \\\n MKIMAGEFLAGS_u-boot.pbl = -n $(srctree)/$(CONFIG_SYS_FSL_PBL_RCW:\"%\"=%) \\\n \t\t-R $(srctree)/$(CONFIG_SYS_FSL_PBL_PBI:\"%\"=%) -T pblimage\n \n+ifeq ($(CONFIG_MPC85xx)$(CONFIG_OF_SEPARATE),yy)\n+UBOOT_BIN := u-boot-with-dtb.bin\n+else\n+UBOOT_BIN := u-boot.bin\n+endif\n+\n u-boot-dtb.img u-boot.img u-boot.kwb u-boot.pbl u-boot-ivt.img: \\\n-\t\t$(if $(CONFIG_SPL_LOAD_FIT),u-boot-nodtb.bin dts/dt.dtb,u-boot.bin) FORCE\n+\t\t$(if $(CONFIG_SPL_LOAD_FIT),u-boot-nodtb.bin dts/dt.dtb,$(UBOOT_BIN)) FORCE\n \t$(call if_changed,mkimage)\n \t$(BOARD_SIZE_CHECK)\n \n",
    "prefixes": [
        "U-Boot",
        "PATCHv2",
        "01/14"
    ]
}