get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 425147,
    "url": "http://patchwork.ozlabs.org/api/patches/425147/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/1420356659-20811-1-git-send-email-b18965@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": "<1420356659-20811-1-git-send-email-b18965@freescale.com>",
    "list_archive_url": null,
    "date": "2015-01-04T07:30:58",
    "name": "[U-Boot,1/2] arm: ls102xa: Add LPUART support for LS1021AQDS board",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "e61382165d1e9bbc8e17f66c2f012f45cbb36a36",
    "submitter": {
        "id": 13010,
        "url": "http://patchwork.ozlabs.org/api/people/13010/?format=api",
        "name": "Alison Wang",
        "email": "b18965@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/1420356659-20811-1-git-send-email-b18965@freescale.com/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/425147/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/425147/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 EC9C7140081\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSun,  4 Jan 2015 18:33:14 +1100 (AEDT)",
            "from localhost (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id AA5714B6E0;\n\tSun,  4 Jan 2015 08:33:11 +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 L72dAdCYW2tg; Sun,  4 Jan 2015 08:33:11 +0100 (CET)",
            "from theia.denx.de (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id 4866B4B6E6;\n\tSun,  4 Jan 2015 08:33:11 +0100 (CET)",
            "from localhost (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id 06D1C4B6E6\n\tfor <u-boot@lists.denx.de>; Sun,  4 Jan 2015 08:33:07 +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 LtbuSWICv3nK for <u-boot@lists.denx.de>;\n\tSun,  4 Jan 2015 08:33:06 +0100 (CET)",
            "from na01-bn1-obe.outbound.protection.outlook.com\n\t(mail-bn1on0134.outbound.protection.outlook.com [157.56.110.134])\n\tby theia.denx.de (Postfix) with ESMTPS id 69B4A4B6E0\n\tfor <u-boot@lists.denx.de>; Sun,  4 Jan 2015 08:33:03 +0100 (CET)",
            "from CH1PR03CA003.namprd03.prod.outlook.com (10.255.156.148) by\n\tBY2PR03MB160.namprd03.prod.outlook.com (10.242.36.22) with Microsoft\n\tSMTP Server (TLS) id 15.1.49.12; Sun, 4 Jan 2015 07:32:59 +0000",
            "from BN1AFFO11FD055.protection.gbl (10.255.156.132) by\n\tCH1PR03CA003.outlook.office365.com (10.255.156.148) with Microsoft\n\tSMTP Server (TLS) id 15.1.49.12 via Frontend Transport;\n\tSun, 4 Jan 2015 07:32:58 +0000",
            "from tx30smr01.am.freescale.net (192.88.168.50) by\n\tBN1AFFO11FD055.mail.protection.outlook.com (10.58.53.70) with\n\tMicrosoft SMTP Server (TLS) id 15.1.49.13 via Frontend Transport;\n\tSun, 4 Jan 2015 07:32:58 +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\tt047WtbP006401; Sun, 4 Jan 2015 00:32:55 -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": "Alison Wang <b18965@freescale.com>",
        "To": "<yorksun@freescale.com>, <u-boot@lists.denx.de>,\n\t<jason.jin@freescale.com>",
        "Date": "Sun, 4 Jan 2015 15:30:58 +0800",
        "Message-ID": "<1420356659-20811-1-git-send-email-b18965@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=alison.wang@freescale.com; ",
        "X-Forefront-Antispam-Report": "CIP:192.88.168.50; CTRY:US; IPV:NLI; EFV:NLI;\n\tSFV:NSPM;\n\tSFS:(10019020)(6009001)(339900001)(199003)(189002)(19580405001)(107886001)(106466001)(36756003)(48376002)(50226001)(4396001)(46102003)(97736003)(33646002)(229853001)(104016003)(120916001)(6806004)(20776003)(47776003)(64706001)(105606002)(92566001)(107046002)(99396003)(77096005)(87936001)(450100001)(68736005)(19580395003)(21056001)(50986999)(2201001)(77156002)(89996001)(50466002)(85426001)(84676001)(31966008)(62966003)(42262002);\n\tDIR:OUT; SFP:1102; SCL:1; SRVR:BY2PR03MB160;\n\tH:tx30smr01.am.freescale.net; FPR:; SPF:Fail; MLV:sfv;\n\tPTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; ",
        "MIME-Version": "1.0",
        "X-DmarcAction": "None",
        "X-Microsoft-Antispam": [
            "UriScan:;",
            "BCL:0;PCL:0;RULEID:(3005003);SRVR:BY2PR03MB160;"
        ],
        "X-Forefront-PRVS": "0446F0FCE1",
        "X-OriginatorOrg": "freescale.com",
        "X-MS-Exchange-CrossTenant-OriginalArrivalTime": "04 Jan 2015 07:32:58.9894\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]",
        "X-MS-Exchange-CrossTenant-FromEntityHeader": "HybridOnPrem",
        "X-MS-Exchange-Transport-CrossTenantHeadersStamped": "BY2PR03MB160",
        "Subject": "[U-Boot] [PATCH 1/2] arm: ls102xa: Add LPUART support for\n\tLS1021AQDS board",
        "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": "This patch adds LPUART support for LS1021AQDS board.\nFor ls1021aqds_nor_lpuart_defconfig, LPUART is used as the console.\n\nSigned-off-by: Alison Wang <alison.wang@freescale.com>\n---\n board/freescale/ls1021aqds/MAINTAINERS  |  1 +\n configs/ls1021aqds_nor_lpuart_defconfig |  3 +++\n include/configs/ls1021aqds.h            | 13 +++++++++++++\n 3 files changed, 17 insertions(+)\n create mode 100644 configs/ls1021aqds_nor_lpuart_defconfig",
    "diff": "diff --git a/board/freescale/ls1021aqds/MAINTAINERS b/board/freescale/ls1021aqds/MAINTAINERS\nindex 638833d..661526b 100644\n--- a/board/freescale/ls1021aqds/MAINTAINERS\n+++ b/board/freescale/ls1021aqds/MAINTAINERS\n@@ -6,6 +6,7 @@ F:\tinclude/configs/ls1021aqds.h\n F:\tconfigs/ls1021aqds_nor_defconfig\n F:\tconfigs/ls1021aqds_ddr4_nor_defconfig\n F:\tconfigs/ls1021aqds_nor_SECURE_BOOT_defconfig\n+F:\tconfigs/ls1021aqds_nor_lpuart_defconfig\n F:\tconfigs/ls1021aqds_sdcard_defconfig\n F:\tconfigs/ls1021aqds_qspi_defconfig\n F:\tconfigs/ls1021aqds_nand_defconfig\ndiff --git a/configs/ls1021aqds_nor_lpuart_defconfig b/configs/ls1021aqds_nor_lpuart_defconfig\nnew file mode 100644\nindex 0000000..29335ee\n--- /dev/null\n+++ b/configs/ls1021aqds_nor_lpuart_defconfig\n@@ -0,0 +1,3 @@\n+CONFIG_SYS_EXTRA_OPTIONS=\"LPUART\"\n++S:CONFIG_ARM=y\n++S:CONFIG_TARGET_LS1021AQDS=y\ndiff --git a/include/configs/ls1021aqds.h b/include/configs/ls1021aqds.h\nindex 8dc04f2..6ad6391 100644\n--- a/include/configs/ls1021aqds.h\n+++ b/include/configs/ls1021aqds.h\n@@ -365,11 +365,16 @@ unsigned long get_board_ddr_clk(void);\n /*\n  * Serial Port\n  */\n+#ifdef CONFIG_LPUART\n+#define CONFIG_FSL_LPUART\n+#define CONFIG_LPUART_32B_REG\n+#else\n #define CONFIG_CONS_INDEX\t\t1\n #define CONFIG_SYS_NS16550\n #define CONFIG_SYS_NS16550_SERIAL\n #define CONFIG_SYS_NS16550_REG_SIZE\t1\n #define CONFIG_SYS_NS16550_CLK\t\tget_serial_clock()\n+#endif\n \n #define CONFIG_BAUDRATE\t\t\t115200\n \n@@ -508,11 +513,19 @@ unsigned long get_board_ddr_clk(void);\n \n #define CONFIG_SYS_QE_FW_ADDR     0x67f40000\n \n+#ifdef CONFIG_LPUART\n+#define CONFIG_EXTRA_ENV_SETTINGS       \\\n+\t\"bootargs=root=/dev/ram0 rw console=ttyLP0,115200\\0\" \\\n+\t\"fdt_high=0xcfffffff\\0\"         \\\n+\t\"initrd_high=0xcfffffff\\0\"      \\\n+\t\"hwconfig=fsl_ddr:ctlr_intlv=null,bank_intlv=null\\0\"\n+#else\n #define CONFIG_EXTRA_ENV_SETTINGS\t\\\n \t\"bootargs=root=/dev/ram0 rw console=ttyS0,115200\\0\" \\\n \t\"fdt_high=0xcfffffff\\0\"\t\t\\\n \t\"initrd_high=0xcfffffff\\0\"      \\\n \t\"hwconfig=fsl_ddr:ctlr_intlv=null,bank_intlv=null\\0\"\n+#endif\n \n /*\n  * Miscellaneous configurable options\n",
    "prefixes": [
        "U-Boot",
        "1/2"
    ]
}