get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 455300,
    "url": "http://patchwork.ozlabs.org/api/patches/455300/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/1427432722-16741-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": "<1427432722-16741-1-git-send-email-haikun.wang@freescale.com>",
    "list_archive_url": null,
    "date": "2015-03-27T05:05:22",
    "name": "[U-Boot,2/3,v1] arm: ls102xa: Enable Driver Model SPI for ls1021aqds",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "0470cde02d2920d8e1a85ea3275d25b237109ff3",
    "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/1427432722-16741-1-git-send-email-haikun.wang@freescale.com/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/455300/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/455300/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 B35CE1400B6\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 27 Mar 2015 16:08:50 +1100 (AEDT)",
            "from localhost (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id 05896A7425;\n\tFri, 27 Mar 2015 06:08:49 +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 mN0JkhtdxAwQ; Fri, 27 Mar 2015 06:08:48 +0100 (CET)",
            "from theia.denx.de (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id 400414B6A7;\n\tFri, 27 Mar 2015 06:08:48 +0100 (CET)",
            "from localhost (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id D6EE44B6A7\n\tfor <u-boot@lists.denx.de>; Fri, 27 Mar 2015 06:08:45 +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 FQ-wJb9Wr6Ji for <u-boot@lists.denx.de>;\n\tFri, 27 Mar 2015 06:08:45 +0100 (CET)",
            "from na01-by2-obe.outbound.protection.outlook.com\n\t(mail-by2on0117.outbound.protection.outlook.com [207.46.100.117])\n\tby theia.denx.de (Postfix) with ESMTPS id 2A3D04B6A2\n\tfor <u-boot@lists.denx.de>; Fri, 27 Mar 2015 06:08:41 +0100 (CET)",
            "from BY2PR03MB157.namprd03.prod.outlook.com (10.242.36.12) by\n\tBY2PR03MB143.namprd03.prod.outlook.com (10.242.35.149) with Microsoft\n\tSMTP Server (TLS) id 15.1.112.19; Fri, 27 Mar 2015 05:08:38 +0000",
            "from BY2PR03CA057.namprd03.prod.outlook.com (10.141.249.30) by\n\tBY2PR03MB157.namprd03.prod.outlook.com (10.242.36.12) with Microsoft\n\tSMTP Server (TLS) id 15.1.118.21; Fri, 27 Mar 2015 05:08:37 +0000",
            "from BL2FFO11FD028.protection.gbl (2a01:111:f400:7c09::103) by\n\tBY2PR03CA057.outlook.office365.com (2a01:111:e400:2c5d::30) with\n\tMicrosoft SMTP Server (TLS) id 15.1.125.19 via Frontend Transport;\n\tFri, 27 Mar 2015 05:08:36 +0000",
            "from tx30smr01.am.freescale.net ([192.88.168.50]) by\n\tBL2FFO11FD028.mail.protection.outlook.com ([10.173.161.107]) with\n\tMicrosoft SMTP Server (TLS) id 15.1.130.10 via Frontend Transport;\n\tFri, 27 Mar 2015 05:08:36 +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\tt2R58WgM002901; Thu, 26 Mar 2015 22:08:34 -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:05:22 +0800",
        "Message-ID": "<1427432722-16741-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)(92566002)(110136001)(50466002)(48376002)(229853001)(85426001)(2351001)(86362001)(47776003)(46102003)(33646002)(19580405001)(87936001)(106466001)(19580395003)(77096005)(62966003)(77156002)(36756003)(105606002)(50226001)(50986999)(450100001);\n\tDIR:OUT; SFP:1102; SCL:1; SRVR:BY2PR03MB157;\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:BY2PR03MB157;\n\tUriScan:; BCL:0; PCL:0; RULEID:; SRVR:BY2PR03MB143; ",
        "X-Microsoft-Antispam-PRVS": "<BY2PR03MB15765EE2879F0F2FFF632C1F8090@BY2PR03MB157.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:BY2PR03MB157; BCL:0; PCL:0;\n\tRULEID:; SRVR:BY2PR03MB157; ",
        "X-Forefront-PRVS": "0528942FD8",
        "X-MS-Exchange-CrossTenant-OriginalArrivalTime": "27 Mar 2015 05:08:36.2096\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": "BY2PR03MB157",
        "X-OriginatorOrg": "freescale.com",
        "Cc": "yorksun@freescale.com",
        "Subject": "[U-Boot] [PATCH 2/3 v1] arm: ls102xa: Enable Driver Model SPI for\n\tls1021aqds",
        "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 ls1021aqds board.\nDSPI and QSPI are compatible under Driver Model SPI.\n\nSigned-off-by: Haikun Wang <Haikun.Wang@freescale.com>\n---\n include/configs/ls1021aqds.h | 14 +++++++++++++-\n 1 file changed, 13 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/include/configs/ls1021aqds.h b/include/configs/ls1021aqds.h\nindex 3c66f87..8adb709 100644\n--- a/include/configs/ls1021aqds.h\n+++ b/include/configs/ls1021aqds.h\n@@ -415,10 +415,22 @@ unsigned long get_board_ddr_clk(void);\n #define QSPI0_AMBA_BASE\t\t\t0x40000000\n #define FSL_QSPI_FLASH_SIZE\t\t(1 << 24)\n #define FSL_QSPI_FLASH_NUM\t\t2\n+#define CONFIG_SPI_FLASH_SPANSION\n+#endif\n \n+/* DSPI */\n+#define CONFIG_FSL_DSPI\n+#define CONFIG_SPI_FLASH_ATMEL\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_SPANSION\n #endif\n \n /*\n",
    "prefixes": [
        "U-Boot",
        "2/3",
        "v1"
    ]
}