get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 400421,
    "url": "http://patchwork.ozlabs.org/api/patches/400421/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/1413526045-14540-1-git-send-email-nikhil.badola@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": "<1413526045-14540-1-git-send-email-nikhil.badola@freescale.com>",
    "list_archive_url": null,
    "date": "2014-10-17T06:07:25",
    "name": "[U-Boot,2/2] ls1: config: Enable USB EHCI Host on LS1021AQDS",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "7833de18da8bbbb02ee3f94152f75501766e60f2",
    "submitter": {
        "id": 47786,
        "url": "http://patchwork.ozlabs.org/api/people/47786/?format=api",
        "name": "Nikhil Badola",
        "email": "nikhil.badola@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/1413526045-14540-1-git-send-email-nikhil.badola@freescale.com/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/400421/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/400421/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 C5F251400A8\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 17 Oct 2014 17:07:46 +1100 (AEDT)",
            "from localhost (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id 299E04B61A;\n\tFri, 17 Oct 2014 08:07:45 +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 Om6vhSDjECG1; Fri, 17 Oct 2014 08:07:44 +0200 (CEST)",
            "from theia.denx.de (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id 768644B60C;\n\tFri, 17 Oct 2014 08:07:44 +0200 (CEST)",
            "from localhost (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id 14BAB4B60C\n\tfor <u-boot@lists.denx.de>; Fri, 17 Oct 2014 08:07:40 +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 srx3Pp972qiG for <u-boot@lists.denx.de>;\n\tFri, 17 Oct 2014 08:07:40 +0200 (CEST)",
            "from na01-by2-obe.outbound.protection.outlook.com\n\t(mail-by2on0137.outbound.protection.outlook.com [207.46.100.137])\n\tby theia.denx.de (Postfix) with ESMTPS id 7C92B4B608\n\tfor <u-boot@lists.denx.de>; Fri, 17 Oct 2014 08:07:35 +0200 (CEST)",
            "from CH1PR03CA004.namprd03.prod.outlook.com (10.255.156.149) by\n\tBN1PR0301MB0593.namprd03.prod.outlook.com (25.160.170.20) with\n\tMicrosoft SMTP\n\tServer (TLS) id 15.0.1049.19; Fri, 17 Oct 2014 06:07:32 +0000",
            "from BL2FFO11FD041.protection.gbl (10.255.156.132) by\n\tCH1PR03CA004.outlook.office365.com (10.255.156.149) with Microsoft\n\tSMTP\n\tServer (TLS) id 15.0.1054.13 via Frontend Transport; Fri, 17 Oct 2014\n\t06:07:32 +0000",
            "from tx30smr01.am.freescale.net (192.88.168.50) by\n\tBL2FFO11FD041.mail.protection.outlook.com (10.173.161.137) with\n\tMicrosoft SMTP Server (TLS) id 15.0.1039.16 via Frontend Transport;\n\tFri, 17 Oct 2014 06:07:31 +0000",
            "from localhost.ap.freescale.net (B46172-11.ap.freescale.net\n\t[10.232.40.247])\n\tby tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id\n\ts9H67RRS003526; Thu, 16 Oct 2014 23:07:30 -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": "Nikhil Badola <nikhil.badola@freescale.com>",
        "To": "<u-boot@lists.denx.de>",
        "Date": "Fri, 17 Oct 2014 11:37:25 +0530",
        "Message-ID": "<1413526045-14540-1-git-send-email-nikhil.badola@freescale.com>",
        "X-Mailer": "git-send-email 1.7.11.7",
        "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)(21056001)(62966002)(89996001)(20776003)(64706001)(85306004)(87936001)(85852003)(88136002)(87286001)(48376002)(229853001)(36756003)(50986999)(97736003)(99396003)(95666004)(76482002)(86362001)(2351001)(31966008)(93916002)(4396001)(120916001)(105606002)(84676001)(107046002)(77156001)(33646002)(92726001)(47776003)(68736004)(19580395003)(19580405001)(44976005)(104016003)(76506005)(110136001)(6806004)(80022003)(102836001)(26826002)(46102003)(106466001)(50226001)(50466002)(92566001)(104166001)(217873001);\n\tDIR:OUT; SFP:1102; SCL:1; SRVR:BN1PR0301MB0593;\n\tH:tx30smr01.am.freescale.net; FPR:; MLV:ovrnspm;\n\tPTR:InfoDomainNonexistent; A:1; MX:1; LANG:; ",
        "MIME-Version": "1.0",
        "X-Microsoft-Antispam": [
            "UriScan:;",
            "BCL:0;PCL:0;RULEID:;SRVR:BN1PR0301MB0593;"
        ],
        "X-Forefront-PRVS": "0367A50BB1",
        "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=nikhil.badola@freescale.com; ",
        "X-OriginatorOrg": "freescale.com",
        "Subject": "[U-Boot] [PATCH 2/2] ls1: config: Enable USB EHCI Host on LS1021AQDS",
        "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": "Enable USB EHCI Host on LS1021AQDS\n\nSigned-off-by: Nikhil Badola <nikhil.badola@freescale.com>\n---\n include/configs/ls1021aqds.h | 17 +++++++++++++++++\n 1 file changed, 17 insertions(+)",
    "diff": "diff --git a/include/configs/ls1021aqds.h b/include/configs/ls1021aqds.h\nindex bb47813..fd43a3e 100644\n--- a/include/configs/ls1021aqds.h\n+++ b/include/configs/ls1021aqds.h\n@@ -273,6 +273,23 @@ unsigned long get_board_ddr_clk(void);\n #define CONFIG_GENERIC_MMC\n \n /*\n+ * USB\n+ */\n+#define CONFIG_HAS_FSL_DR_USB\n+\n+#ifdef CONFIG_HAS_FSL_DR_USB\n+#define CONFIG_USB_EHCI\n+\n+#ifdef CONFIG_USB_EHCI\n+#define CONFIG_CMD_USB\n+#define CONFIG_USB_STORAGE\n+#define CONFIG_USB_EHCI_FSL\n+#define CONFIG_EHCI_HCD_INIT_AFTER_RESET\n+#define CONFIG_CMD_EXT2\n+#endif\n+#endif\n+\n+/*\n  * eTSEC\n  */\n #define CONFIG_TSEC_ENET\n",
    "prefixes": [
        "U-Boot",
        "2/2"
    ]
}