get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 401449,
    "url": "http://patchwork.ozlabs.org/api/patches/401449/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/1413891405-24214-1-git-send-email-ramneek.mehresh@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": "<1413891405-24214-1-git-send-email-ramneek.mehresh@freescale.com>",
    "list_archive_url": null,
    "date": "2014-10-21T11:36:44",
    "name": "[U-Boot] ls1:config: Add USB support for ls1021atwr",
    "commit_ref": null,
    "pull_url": null,
    "state": "not-applicable",
    "archived": false,
    "hash": "f316cc74ef0dd62255474e08e71a0008bb3ca391",
    "submitter": {
        "id": 7400,
        "url": "http://patchwork.ozlabs.org/api/people/7400/?format=api",
        "name": "ramneek mehresh",
        "email": "ramneek.mehresh@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/1413891405-24214-1-git-send-email-ramneek.mehresh@freescale.com/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/401449/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/401449/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 6EED514007B\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 21 Oct 2014 22:49:19 +1100 (AEDT)",
            "from localhost (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id 60AB4A73FF;\n\tTue, 21 Oct 2014 13:49:15 +0200 (CEST)",
            "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 3-5odEQOkhYv; Tue, 21 Oct 2014 13:49:15 +0200 (CEST)",
            "from theia.denx.de (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id CB7CCA7400;\n\tTue, 21 Oct 2014 13:49:11 +0200 (CEST)",
            "from localhost (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id BA51AA73E7\n\tfor <u-boot@lists.denx.de>; Tue, 21 Oct 2014 13:49:08 +0200 (CEST)",
            "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 5FObxUrBuJsO for <u-boot@lists.denx.de>;\n\tTue, 21 Oct 2014 13:49:08 +0200 (CEST)",
            "from na01-bn1-obe.outbound.protection.outlook.com\n\t(mail-bn1on0119.outbound.protection.outlook.com [157.56.110.119])\n\tby theia.denx.de (Postfix) with ESMTPS id 30821A73E5\n\tfor <u-boot@lists.denx.de>; Tue, 21 Oct 2014 13:49:05 +0200 (CEST)",
            "from BY2PR03CA007.namprd03.prod.outlook.com (10.255.93.24) by\n\tBY2PR03MB174.namprd03.prod.outlook.com (10.242.36.142) with Microsoft\n\tSMTP Server (TLS) id 15.0.1054.13; Tue, 21 Oct 2014 11:33:18 +0000",
            "from BY2FFO11FD004.protection.gbl (10.255.93.4) by\n\tBY2PR03CA007.outlook.office365.com (10.255.93.24) with Microsoft SMTP\n\tServer (TLS) id 15.0.1054.13 via Frontend Transport;\n\tTue, 21 Oct 2014 11:33:18 +0000",
            "from tx30smr01.am.freescale.net (192.88.168.50) by\n\tBY2FFO11FD004.mail.protection.outlook.com (10.1.14.158) with\n\tMicrosoft SMTP\n\tServer (TLS) id 15.0.1049.20 via Frontend Transport; Tue, 21 Oct 2014\n\t11:33:18 +0000",
            "from localhost.ap.freescale.net (udp166528uds.ap.freescale.net\n\t[10.232.132.230])\n\tby tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id\n\ts9LBXE7e007186; Tue, 21 Oct 2014 04:33:16 -0700"
        ],
        "X-Greylist": "delayed 943 seconds by postgrey-1.32 at theia;\n\tTue, 21 Oct 2014 13:49:05 CEST",
        "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": "Ramneek Mehresh <ramneek.mehresh@freescale.com>",
        "To": "<u-boot@lists.denx.de>",
        "Date": "Tue, 21 Oct 2014 17:06:44 +0530",
        "Message-ID": "<1413891405-24214-1-git-send-email-ramneek.mehresh@freescale.com>",
        "X-Mailer": "git-send-email 1.8.3.1",
        "X-EOPAttributedMessage": "0",
        "X-Forefront-Antispam-Report": "CIP:192.88.168.50; CTRY:US; IPV:CAL; IPV:NLI;\n\tEFV:NLI; SFV:NSPM;\n\tSFS:(10019020)(6009001)(199003)(189002)(107046002)(99396003)(88136002)(104016003)(89996001)(68736004)(44976005)(19580395003)(92726001)(86362001)(93916002)(19580405001)(85852003)(50466002)(31966008)(50986999)(95666004)(85306004)(46102003)(36756003)(80022003)(2351001)(21056001)(120916001)(106466001)(87286001)(105606002)(50226001)(229853001)(87936001)(77156001)(4396001)(64706001)(92566001)(48376002)(33646002)(47776003)(62966002)(20776003)(97736003)(76506005)(84676001)(6806004)(102836001)(110136001)(104166001)(76482002)(26826002);\n\tDIR:OUT; SFP:1102; SCL:1; SRVR:BY2PR03MB174;\n\tH:tx30smr01.am.freescale.net; FPR:; MLV:ovrnspm;\n\tPTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; ",
        "MIME-Version": "1.0",
        "X-Microsoft-Antispam": [
            "UriScan:;",
            "BCL:0;PCL:0;RULEID:;SRVR:BY2PR03MB174;"
        ],
        "X-Forefront-PRVS": "0371762FE7",
        "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=ramneek.mehresh@freescale.com; ",
        "X-OriginatorOrg": "freescale.com",
        "Cc": "Ramneek Mehresh <ramneek.mehresh@freescale.com>",
        "Subject": "[U-Boot] [PATCH] ls1:config: Add USB support for ls1021atwr",
        "X-BeenThere": "u-boot@lists.denx.de",
        "X-Mailman-Version": "2.1.13",
        "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",
        "Sender": "u-boot-bounces@lists.denx.de",
        "Errors-To": "u-boot-bounces@lists.denx.de"
    },
    "content": "Add USB EHCI/XHCI support for ls1021atwr platform and\nmaking xHCI as default mode\n\nSigned-off-by: Ramneek Mehresh <ramneek.mehresh@freescale.com>\n---\n include/configs/ls1021atwr.h | 28 ++++++++++++++++++++++++++++\n 1 file changed, 28 insertions(+)",
    "diff": "diff --git a/include/configs/ls1021atwr.h b/include/configs/ls1021atwr.h\nindex 45b2272..109e58c 100644\n--- a/include/configs/ls1021atwr.h\n+++ b/include/configs/ls1021atwr.h\n@@ -28,6 +28,34 @@\n #define CONFIG_SYS_INIT_RAM_SIZE\tOCRAM_SIZE\n \n /*\n+ * USB\n+ */\n+/*EHCI Support*/\n+/*#define CONFIG_HAS_FSL_DR_USB*/\n+\n+#ifdef CONFIG_HAS_FSL_DR_USB\n+#define CONFIG_USB_EHCI\n+#define CONFIG_USB_EHCI_FSL\n+#define CONFIG_EHCI_HCD_INIT_AFTER_RESET\n+#endif\n+\n+/*XHCI Support*/\n+#define CONFIG_HAS_FSL_XHCI_USB\n+\n+#ifdef CONFIG_HAS_FSL_XHCI_USB\n+#define CONFIG_USB_XHCI\n+#define CONFIG_USB_XHCI_FSL\n+#define CONFIG_USB_MAX_CONTROLLER_COUNT        1\n+#define CONFIG_SYS_USB_XHCI_MAX_ROOT_PORTS     1\n+#endif\n+\n+#if defined(CONFIG_HAS_FSL_DR_USB) || defined(CONFIG_HAS_FSL_XHCI_USB)\n+#define CONFIG_CMD_USB\n+#define CONFIG_USB_STORAGE\n+#define CONFIG_CMD_EXT2\n+#endif\n+\n+/*\n  * Generic Timer Definitions\n  */\n #define GENERIC_TIMER_CLK\t\t12500000\n",
    "prefixes": [
        "U-Boot"
    ]
}