Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/425148/?format=api
{ "id": 425148, "url": "http://patchwork.ozlabs.org/api/patches/425148/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/1420356659-20811-2-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-2-git-send-email-b18965@freescale.com>", "list_archive_url": null, "date": "2015-01-04T07:30:59", "name": "[U-Boot,2/2] arm: ls102xa: Add LPUART support for LS1021ATWR board", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "a86e31d277ec5c0c73d9bba356db1b034cccdff9", "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-2-git-send-email-b18965@freescale.com/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/425148/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/425148/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 9378A140081\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSun, 4 Jan 2015 18:33:24 +1100 (AEDT)", "from localhost (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id BCD834B712;\n\tSun, 4 Jan 2015 08:33:16 +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 TI0Ybs2JnGfw; Sun, 4 Jan 2015 08:33:16 +0100 (CET)", "from theia.denx.de (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id A6C504B713;\n\tSun, 4 Jan 2015 08:33:14 +0100 (CET)", "from localhost (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id A98DF4B6E6\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 y3o77pAv9eRd for <u-boot@lists.denx.de>;\n\tSun, 4 Jan 2015 08:33:07 +0100 (CET)", "from na01-bn1-obe.outbound.protection.outlook.com\n\t(mail-bn1on0136.outbound.protection.outlook.com [157.56.110.136])\n\tby theia.denx.de (Postfix) with ESMTPS id 37CA44B6E0\n\tfor <u-boot@lists.denx.de>; Sun, 4 Jan 2015 08:33:03 +0100 (CET)", "from CH1PR03CA004.namprd03.prod.outlook.com (10.255.156.149) by\n\tBLUPR03MB149.namprd03.prod.outlook.com (10.255.212.17) with Microsoft\n\tSMTP Server (TLS) id 15.1.49.12; Sun, 4 Jan 2015 07:33:01 +0000", "from BN1AFFO11FD058.protection.gbl (10.255.156.132) by\n\tCH1PR03CA004.outlook.office365.com (10.255.156.149) with Microsoft\n\tSMTP Server (TLS) id 15.1.49.12 via Frontend Transport;\n\tSun, 4 Jan 2015 07:33:00 +0000", "from tx30smr01.am.freescale.net (192.88.168.50) by\n\tBN1AFFO11FD058.mail.protection.outlook.com (10.58.53.73) with\n\tMicrosoft SMTP Server (TLS) id 15.1.49.13 via Frontend Transport;\n\tSun, 4 Jan 2015 07:33:00 +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\tt047WtbQ006401; Sun, 4 Jan 2015 00:32:58 -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:59 +0800", "Message-ID": "<1420356659-20811-2-git-send-email-b18965@freescale.com>", "X-Mailer": "git-send-email 2.1.0.27.g96db324", "In-Reply-To": "<1420356659-20811-1-git-send-email-b18965@freescale.com>", "References": "<1420356659-20811-1-git-send-email-b18965@freescale.com>", "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)(120916001)(97736003)(68736005)(77096005)(104016003)(77156002)(62966003)(99396003)(450100001)(84676001)(89996001)(33646002)(36756003)(50466002)(48376002)(575784001)(47776003)(20776003)(2201001)(64706001)(92566001)(46102003)(2950100001)(4396001)(50226001)(85426001)(50986999)(105606002)(6806004)(31966008)(229853001)(87936001)(76176999)(106466001)(19580405001)(19580395003)(107046002)(21056001)(107886001)(42262002);\n\tDIR:OUT; SFP:1102; SCL:1; SRVR:BLUPR03MB149;\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:BLUPR03MB149;" ], "X-Forefront-PRVS": "0446F0FCE1", "X-OriginatorOrg": "freescale.com", "X-MS-Exchange-CrossTenant-OriginalArrivalTime": "04 Jan 2015 07:33:00.7623\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": "BLUPR03MB149", "Subject": "[U-Boot] [PATCH 2/2] arm: ls102xa: Add LPUART support for\n\tLS1021ATWR 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 LS1021ATWR board.\nFor ls1021atwr_nor_lpuart_defconfig, LPUART is used as the console.\n\nSigned-off-by: Alison Wang <alison.wang@freescale.com>\n---\n board/freescale/ls1021atwr/MAINTAINERS | 1 +\n configs/ls1021atwr_nor_lpuart_defconfig | 3 +++\n include/configs/ls1021atwr.h | 12 ++++++++++++\n 3 files changed, 16 insertions(+)\n create mode 100644 configs/ls1021atwr_nor_lpuart_defconfig", "diff": "diff --git a/board/freescale/ls1021atwr/MAINTAINERS b/board/freescale/ls1021atwr/MAINTAINERS\nindex 9176706..e9f6f0a 100644\n--- a/board/freescale/ls1021atwr/MAINTAINERS\n+++ b/board/freescale/ls1021atwr/MAINTAINERS\n@@ -5,5 +5,6 @@ F:\tboard/freescale/ls1021atwr/\n F:\tinclude/configs/ls1021atwr.h\n F:\tconfigs/ls1021atwr_nor_defconfig\n F:\tconfigs/ls1021atwr_nor_SECURE_BOOT_defconfig\n+F:\tconfigs/ls1021atwr_nor_lpuart_defconfig\n F:\tconfigs/ls1021atwr_sdcard_defconfig\n F:\tconfigs/ls1021atwr_qspi_defconfig\ndiff --git a/configs/ls1021atwr_nor_lpuart_defconfig b/configs/ls1021atwr_nor_lpuart_defconfig\nnew file mode 100644\nindex 0000000..bdab6d9\n--- /dev/null\n+++ b/configs/ls1021atwr_nor_lpuart_defconfig\n@@ -0,0 +1,3 @@\n+CONFIG_SYS_EXTRA_OPTIONS=\"LPUART\"\n++S:CONFIG_ARM=y\n++S:CONFIG_TARGET_LS1021ATWR=y\ndiff --git a/include/configs/ls1021atwr.h b/include/configs/ls1021atwr.h\nindex 66954d0..0a0bb5f 100644\n--- a/include/configs/ls1021atwr.h\n+++ b/include/configs/ls1021atwr.h\n@@ -186,11 +186,16 @@\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@@ -325,10 +330,17 @@\n \n #define CONFIG_BOOTDELAY\t\t3\n \n+#ifdef CONFIG_LPUART\n+#define CONFIG_EXTRA_ENV_SETTINGS \\\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", "2/2" ] }