get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 379800,
    "url": "http://patchwork.ozlabs.org/api/patches/379800/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/1407984294-346-16-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": "<1407984294-346-16-git-send-email-b18965@freescale.com>",
    "list_archive_url": null,
    "date": "2014-08-14T02:44:51",
    "name": "[U-Boot,v3,15/18] arm: ls102xa: Add LETECH support for LS1021AQDS/TWR board",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "f39f03097accb3d294c052b20d8fdc6d2882f906",
    "submitter": {
        "id": 13010,
        "url": "http://patchwork.ozlabs.org/api/people/13010/?format=api",
        "name": "Alison Wang",
        "email": "b18965@freescale.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/1407984294-346-16-git-send-email-b18965@freescale.com/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/379800/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/379800/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 C643614008B\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 14 Aug 2014 13:37:16 +1000 (EST)",
            "from localhost (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id 6AE2B4B5FB;\n\tThu, 14 Aug 2014 05:37:06 +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 Pzb+7uqBT5JL; Thu, 14 Aug 2014 05:37:06 +0200 (CEST)",
            "from theia.denx.de (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id 159514B629;\n\tThu, 14 Aug 2014 05:35:57 +0200 (CEST)",
            "from localhost (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id E4F8B4B623\n\tfor <u-boot@lists.denx.de>; Thu, 14 Aug 2014 05:35:53 +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 ePEwTnAJuvTR for <u-boot@lists.denx.de>;\n\tThu, 14 Aug 2014 05:35:53 +0200 (CEST)",
            "from na01-bn1-obe.outbound.protection.outlook.com\n\t(mail-bn1blp0186.outbound.protection.outlook.com [207.46.163.186])\n\tby theia.denx.de (Postfix) with ESMTPS id 0C93D4A058\n\tfor <u-boot@lists.denx.de>; Thu, 14 Aug 2014 05:34:53 +0200 (CEST)",
            "from BY2PR03CA052.namprd03.prod.outlook.com (10.141.249.25) by\n\tBY2PR03MB157.namprd03.prod.outlook.com (10.242.36.12) with Microsoft\n\tSMTP Server (TLS) id 15.0.1005.10; Thu, 14 Aug 2014 03:34:49 +0000",
            "from BN1BFFO11FD033.protection.gbl (2a01:111:f400:7c10::1:180) by\n\tBY2PR03CA052.outlook.office365.com (2a01:111:e400:2c5d::25) with\n\tMicrosoft SMTP Server (TLS) id 15.0.1005.10 via Frontend Transport;\n\tThu, 14 Aug 2014 03:34:49 +0000",
            "from tx30smr01.am.freescale.net (192.88.168.50) by\n\tBN1BFFO11FD033.mail.protection.outlook.com (10.58.144.96) with\n\tMicrosoft SMTP\n\tServer (TLS) id 15.0.1010.11 via Frontend Transport; Thu, 14 Aug 2014\n\t03:34:48 +0000",
            "from rock.ap.freescale.net (rock.ap.freescale.net [10.193.20.106])\n\tby tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id\n\ts7E3Y70o001619; Wed, 13 Aug 2014 20:34:43 -0700"
        ],
        "X-Virus-Scanned": [
            "Debian amavisd-new at theia.denx.de",
            "Debian amavisd-new at theia.denx.de"
        ],
        "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>",
        "Date": "Thu, 14 Aug 2014 10:44:51 +0800",
        "Message-ID": "<1407984294-346-16-git-send-email-b18965@freescale.com>",
        "X-Mailer": "git-send-email 1.8.0",
        "In-Reply-To": "<1407984294-346-1-git-send-email-b18965@freescale.com>",
        "References": "<1407984294-346-1-git-send-email-b18965@freescale.com>",
        "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:(6009001)(199003)(54534003)(189002)(36756003)(76176999)(81542001)(81342001)(92566001)(107046002)(50986999)(80022001)(76482001)(77982001)(104016003)(92726001)(106466001)(229853001)(95666004)(47776003)(93916002)(20776003)(88136002)(102836001)(62966002)(97736001)(46102001)(64706001)(87936001)(85852003)(89996001)(83072002)(44976005)(104166001)(77156001)(85306004)(74662001)(99396002)(31966008)(26826002)(21056001)(68736004)(84676001)(105606002)(83322001)(50226001)(79102001)(19580405001)(50466002)(6806004)(4396001)(87286001)(19580395003)(48376002)(74502001)(33646002)(42262002);\n\tDIR:OUT; SFP:; SCL:1; SRVR:BY2PR03MB157;\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": "BCL:0;PCL:0;RULEID:;UriScan:;",
        "X-Forefront-PRVS": "03030B9493",
        "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-OriginatorOrg": "freescale.com",
        "Subject": "[U-Boot] [PATCH v3 15/18] arm: ls102xa: Add LETECH support for\n\tLS1021AQDS/TWR board",
        "X-BeenThere": "u-boot@lists.denx.de",
        "X-Mailman-Version": "2.1.11",
        "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": "From: Wang Huan <b18965@freescale.com>\n\nThis patch is to add LETECH support for LS1021AQDS/TWR board.\nFor LETECH, LPUART is used for serial port.\n\nSigned-off-by: Jason Jin <jason.jin@freescale.com>\nSigned-off-by: Yuan Yao <yao.yuan@freescale.com>\nSigned-off-by: Alison Wang <alison.wang@freescale.com>\n---\nChange log:\n v3: New file.\n\n board/freescale/ls1021aqds/MAINTAINERS |  1 +\n board/freescale/ls1021atwr/MAINTAINERS |  1 +\n configs/ls1021aqds_letech_defconfig    |  3 +++\n configs/ls1021atwr_letech_defconfig    |  3 +++\n include/configs/ls1021aqds.h           | 13 +++++++++++++\n include/configs/ls1021atwr.h           | 12 ++++++++++++\n 6 files changed, 33 insertions(+)\n create mode 100644 configs/ls1021aqds_letech_defconfig\n create mode 100644 configs/ls1021atwr_letech_defconfig",
    "diff": "diff --git a/board/freescale/ls1021aqds/MAINTAINERS b/board/freescale/ls1021aqds/MAINTAINERS\nindex 021d82b..590b89b 100644\n--- a/board/freescale/ls1021aqds/MAINTAINERS\n+++ b/board/freescale/ls1021aqds/MAINTAINERS\n@@ -4,3 +4,4 @@ S:\tMaintained\n F:\tboard/freescale/ls1021aqds/\n F:\tinclude/configs/ls1021aqds.h\n F:\tconfigs/ls1021aqds_nor_defconfig\n+F:\tconfigs/ls1021aqds_letech_defconfig\ndiff --git a/board/freescale/ls1021atwr/MAINTAINERS b/board/freescale/ls1021atwr/MAINTAINERS\nindex 4e5bc15..14a7441 100644\n--- a/board/freescale/ls1021atwr/MAINTAINERS\n+++ b/board/freescale/ls1021atwr/MAINTAINERS\n@@ -4,3 +4,4 @@ S:\tMaintained\n F:\tboard/freescale/ls1021atwr/\n F:\tinclude/configs/ls1021atwr.h\n F:\tconfigs/ls1021atwr_nor_defconfig\n+F:\tconfigs/ls1021atwr_letech_defconfig\ndiff --git a/configs/ls1021aqds_letech_defconfig b/configs/ls1021aqds_letech_defconfig\nnew file mode 100644\nindex 0000000..b70971e\n--- /dev/null\n+++ b/configs/ls1021aqds_letech_defconfig\n@@ -0,0 +1,3 @@\n+CONFIG_SYS_EXTRA_OPTIONS=\"LETECH\"\n++S:CONFIG_ARM=y\n++S:CONFIG_TARGET_LS1021AQDS=y\ndiff --git a/configs/ls1021atwr_letech_defconfig b/configs/ls1021atwr_letech_defconfig\nnew file mode 100644\nindex 0000000..4b187b3\n--- /dev/null\n+++ b/configs/ls1021atwr_letech_defconfig\n@@ -0,0 +1,3 @@\n+CONFIG_SYS_EXTRA_OPTIONS=\"LETECH\"\n++S:CONFIG_ARM=y\n++S:CONFIG_TARGET_LS1021ATWR=y\ndiff --git a/include/configs/ls1021aqds.h b/include/configs/ls1021aqds.h\nindex 856fdfc..5a8bf21 100644\n--- a/include/configs/ls1021aqds.h\n+++ b/include/configs/ls1021aqds.h\n@@ -279,11 +279,16 @@ unsigned long get_board_ddr_clk(void);\n /*\n  * Serial Port\n  */\n+#ifdef CONFIG_LETECH\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@@ -367,11 +372,19 @@ unsigned long get_board_ddr_clk(void);\n \n #define CONFIG_BOOTDELAY\t\t3\n \n+#ifdef CONFIG_LETECH\n+#define CONFIG_EXTRA_ENV_SETTINGS\t\\\n+\t\"bootargs=root=/dev/ram0 rw console=ttyLP0,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+#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\ndiff --git a/include/configs/ls1021atwr.h b/include/configs/ls1021atwr.h\nindex f8cbe32..b268a70 100644\n--- a/include/configs/ls1021atwr.h\n+++ b/include/configs/ls1021atwr.h\n@@ -147,11 +147,16 @@ unsigned long get_board_ddr_clk(void);\n /*\n  * Serial Port\n  */\n+#ifdef CONFIG_LETECH\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@@ -228,10 +233,17 @@ unsigned long get_board_ddr_clk(void);\n \n #define CONFIG_BOOTDELAY\t\t3\n \n+#ifdef CONFIG_LETECH\n+#define CONFIG_EXTRA_ENV_SETTINGS\t\\\n+\t\"bootargs=root=/dev/ram0 rw console=ttyLP0,115200\\0\" \\\n+\t\"initrd_high=0xcfffffff\\0\"      \\\n+\t\"fdt_high=0xcfffffff\\0\"\n+#else\n #define CONFIG_EXTRA_ENV_SETTINGS\t\\\n \t\"bootargs=root=/dev/ram0 rw console=ttyS0,115200\\0\" \\\n \t\"initrd_high=0xcfffffff\\0\"      \\\n \t\"fdt_high=0xcfffffff\\0\"\n+#endif\n \n /*\n  * Miscellaneous configurable options\n",
    "prefixes": [
        "U-Boot",
        "v3",
        "15/18"
    ]
}