get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 455301,
    "url": "http://patchwork.ozlabs.org/api/patches/455301/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/1427432768-17076-1-git-send-email-haikun.wang@freescale.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": "<1427432768-17076-1-git-send-email-haikun.wang@freescale.com>",
    "list_archive_url": null,
    "date": "2015-03-27T05:06:08",
    "name": "[U-Boot,3/3,v1] arm: ls102xa: Enable Driver Model SPI for ls1021atwr",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "8cac832d73004b26112d8308e240aaeed2423d5f",
    "submitter": {
        "id": 65869,
        "url": "http://patchwork.ozlabs.org/api/people/65869/?format=api",
        "name": "Haikun.Wang@freescale.com",
        "email": "Haikun.Wang@freescale.com"
    },
    "delegate": {
        "id": 2666,
        "url": "http://patchwork.ozlabs.org/api/users/2666/?format=api",
        "username": "yorksun",
        "first_name": "York",
        "last_name": "Sun",
        "email": "yorksun@freescale.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/1427432768-17076-1-git-send-email-haikun.wang@freescale.com/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/455301/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/455301/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",
        "Received": [
            "from theia.denx.de (theia.denx.de [85.214.87.163])\n\tby ozlabs.org (Postfix) with ESMTP id 3830E1400B7\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 27 Mar 2015 16:09:34 +1100 (AEDT)",
            "from localhost (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id A3CB74B6A7;\n\tFri, 27 Mar 2015 06:09:32 +0100 (CET)",
            "from theia.denx.de ([127.0.0.1])\n\tby localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id 99au5ymyNLC4; Fri, 27 Mar 2015 06:09:32 +0100 (CET)",
            "from theia.denx.de (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id 13F55A7420;\n\tFri, 27 Mar 2015 06:09:32 +0100 (CET)",
            "from localhost (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id 42F754B6A2\n\tfor <u-boot@lists.denx.de>; Fri, 27 Mar 2015 06:09:29 +0100 (CET)",
            "from theia.denx.de ([127.0.0.1])\n\tby localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id 9VbT5VNbV9Z1 for <u-boot@lists.denx.de>;\n\tFri, 27 Mar 2015 06:09:29 +0100 (CET)",
            "from na01-by2-obe.outbound.protection.outlook.com\n\t(mail-by2on0132.outbound.protection.outlook.com [207.46.100.132])\n\tby theia.denx.de (Postfix) with ESMTPS id 89425A7420\n\tfor <u-boot@lists.denx.de>; Fri, 27 Mar 2015 06:09:24 +0100 (CET)",
            "from DM2PR03CA0028.namprd03.prod.outlook.com (10.141.96.27) by\n\tCY1PR0301MB0617.namprd03.prod.outlook.com (25.160.142.24) with\n\tMicrosoft SMTP\n\tServer (TLS) id 15.1.125.19; Fri, 27 Mar 2015 05:09:21 +0000",
            "from BN1AFFO11FD005.protection.gbl (2a01:111:f400:7c10::122) by\n\tDM2PR03CA0028.outlook.office365.com (2a01:111:e400:2428::27) with\n\tMicrosoft SMTP Server (TLS) id 15.1.125.19 via Frontend Transport;\n\tFri, 27 Mar 2015 05:09:21 +0000",
            "from tx30smr01.am.freescale.net ([192.88.168.50]) by\n\tBN1AFFO11FD005.mail.protection.outlook.com ([10.58.52.65]) with\n\tMicrosoft SMTP Server (TLS) id 15.1.130.10 via Frontend Transport;\n\tFri, 27 Mar 2015 05:09:21 +0000",
            "from titan.ap.freescale.net ([10.192.208.233])\n\tby tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id\n\tt2R59I9B003246; Thu, 26 Mar 2015 22:09:19 -0700"
        ],
        "X-policyd-weight": "NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5\n\tNOT_IN_BL_NJABL=-1.5 (only DNSBL check requested)",
        "From": "Haikun Wang <haikun.wang@freescale.com>",
        "To": "<u-boot@lists.denx.de>",
        "Date": "Fri, 27 Mar 2015 13:06:08 +0800",
        "Message-ID": "<1427432768-17076-1-git-send-email-haikun.wang@freescale.com>",
        "X-Mailer": "git-send-email 2.1.0.27.g96db324",
        "X-EOPAttributedMessage": "0",
        "Received-SPF": "Fail (protection.outlook.com: domain of freescale.com does not\n\tdesignate 192.88.168.50 as permitted sender)\n\treceiver=protection.outlook.com; \n\tclient-ip=192.88.168.50; helo=tx30smr01.am.freescale.net;",
        "Authentication-Results": "spf=fail (sender IP is 192.88.168.50)\n\tsmtp.mailfrom=haikun.wang@freescale.com;\n\tfreescale.mail.onmicrosoft.com; \n\tdkim=none (message not signed) header.d=none;",
        "X-Forefront-Antispam-Report": "CIP:192.88.168.50; CTRY:US; IPV:NLI; EFV:NLI;\n\tBMV:1; SFV:NSPM;\n\tSFS:(10019020)(6009001)(339900001)(199003)(189002)(229853001)(110136001)(106466001)(2351001)(19580395003)(19580405001)(105606002)(85426001)(33646002)(48376002)(50226001)(36756003)(46102003)(87936001)(450100001)(86362001)(50466002)(50986999)(575784001)(77096005)(92566002)(62966003)(77156002)(47776003);\n\tDIR:OUT; SFP:1102; SCL:1; SRVR:CY1PR0301MB0617;\n\tH:tx30smr01.am.freescale.net; \n\tFPR:; SPF:Fail; MLV:sfv; A:1; MX:1; LANG:en; ",
        "MIME-Version": "1.0",
        "X-Microsoft-Antispam": "UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CY1PR0301MB0617;",
        "X-Microsoft-Antispam-PRVS": "<CY1PR0301MB0617B12E951BF6D71852A320F8090@CY1PR0301MB0617.namprd03.prod.outlook.com>",
        "X-Exchange-Antispam-Report-Test": "UriScan:;",
        "X-Exchange-Antispam-Report-CFA-Test": "BCL:0; PCL:0;\n\tRULEID:(601004)(5002010)(5005006); SRVR:CY1PR0301MB0617; BCL:0; PCL:0;\n\tRULEID:; SRVR:CY1PR0301MB0617; ",
        "X-Forefront-PRVS": "0528942FD8",
        "X-OriginatorOrg": "freescale.com",
        "X-MS-Exchange-CrossTenant-OriginalArrivalTime": "27 Mar 2015 05:09:21.1872\n\t(UTC)",
        "X-MS-Exchange-CrossTenant-Id": "710a03f5-10f6-4d38-9ff4-a80b81da590d",
        "X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp": "TenantId=710a03f5-10f6-4d38-9ff4-a80b81da590d;\n\tIp=[192.88.168.50]; \n\tHelo=[tx30smr01.am.freescale.net]",
        "X-MS-Exchange-CrossTenant-FromEntityHeader": "HybridOnPrem",
        "X-MS-Exchange-Transport-CrossTenantHeadersStamped": "CY1PR0301MB0617",
        "Cc": "yorksun@freescale.com",
        "Subject": "[U-Boot] [PATCH 3/3 v1] arm: ls102xa: Enable Driver Model SPI for\n\tls1021atwr",
        "X-BeenThere": "u-boot@lists.denx.de",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "U-Boot discussion <u-boot.lists.denx.de>",
        "List-Unsubscribe": "<http://lists.denx.de/mailman/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": "<http://lists.denx.de/mailman/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "u-boot-bounces@lists.denx.de",
        "Sender": "\"U-Boot\" <u-boot-bounces@lists.denx.de>"
    },
    "content": "From: Haikun Wang <Haikun.Wang@freescale.com>\n\nEnable Driver Model SPI for ls1021atwr board.\nDSPI and QSPI are compatible under Driver Model SPI.\n\nSigned-off-by: Haikun Wang <Haikun.Wang@freescale.com>\n---\n include/configs/ls1021atwr.h | 11 ++++++++++-\n 1 file changed, 10 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/include/configs/ls1021atwr.h b/include/configs/ls1021atwr.h\nindex 0a0bb5f..6aeecda 100644\n--- a/include/configs/ls1021atwr.h\n+++ b/include/configs/ls1021atwr.h\n@@ -235,9 +235,18 @@\n #define FSL_QSPI_FLASH_SIZE\t\t(1 << 24)\n #define FSL_QSPI_FLASH_NUM\t\t2\n \n+#define CONFIG_SPI_FLASH_STMICRO\n+#endif\n+\n+/* DM SPI */\n+#if defined(CONFIG_FSL_DSPI) || defined(CONFIG_FSL_QSPI)\n+#define CONFIG_OF_CONTROL\n+#define CONFIG_OF_SEPARATE\n+#define CONFIG_DM\n+#define CONFIG_DM_SPI\n #define CONFIG_CMD_SF\n+#define CONFIG_DM_SPI_FLASH\n #define CONFIG_SPI_FLASH\n-#define CONFIG_SPI_FLASH_STMICRO\n #endif\n \n /*\n",
    "prefixes": [
        "U-Boot",
        "3/3",
        "v1"
    ]
}