{"id":813185,"url":"http://patchwork.ozlabs.org/api/patches/813185/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/patch/20170913065854.26134-8-wenyou.yang@microchip.com/","project":{"id":18,"url":"http://patchwork.ozlabs.org/api/projects/18/?format=json","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":"<20170913065854.26134-8-wenyou.yang@microchip.com>","list_archive_url":null,"date":"2017-09-13T06:58:52","name":"[U-Boot,v6,7/9] ARM: at91: mach: Add missing defines of MPDDRC","commit_ref":null,"pull_url":null,"state":"accepted","archived":false,"hash":"154d408c7d50fb66ef4af9338b111ef28d6e276b","submitter":{"id":69532,"url":"http://patchwork.ozlabs.org/api/people/69532/?format=json","name":"Wenyou Yang","email":"Wenyou.Yang@microchip.com"},"delegate":{"id":3651,"url":"http://patchwork.ozlabs.org/api/users/3651/?format=json","username":"trini","first_name":"Tom","last_name":"Rini","email":"trini@ti.com"},"mbox":"http://patchwork.ozlabs.org/project/uboot/patch/20170913065854.26134-8-wenyou.yang@microchip.com/mbox/","series":[{"id":2820,"url":"http://patchwork.ozlabs.org/api/series/2820/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/list/?series=2820","date":"2017-09-13T06:58:45","name":"board: atmel: Add new board SAMA5D27-SOM1-EK board.","version":6,"mbox":"http://patchwork.ozlabs.org/series/2820/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/813185/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/813185/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","Authentication-Results":"ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)","Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xsXgV39VXz9sNV\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 13 Sep 2017 17:03:18 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid 26576C2240D; Wed, 13 Sep 2017 07:01:50 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id AC2B5C223DA;\n\tWed, 13 Sep 2017 07:01:48 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid CFA64C22106; Wed, 13 Sep 2017 07:01:16 +0000 (UTC)","from eusmtp01.atmel.com (eusmtp01.atmel.com [212.144.249.243])\n\tby lists.denx.de (Postfix) with ESMTPS id 72A3EC22313\n\tfor <u-boot@lists.denx.de>; Wed, 13 Sep 2017 07:01:13 +0000 (UTC)","from apsmtp01.atmel.com (10.168.254.31) by eusmtp01.atmel.com\n\t(10.145.145.31) with Microsoft SMTP Server id 14.3.235.1;\n\tWed, 13 Sep 2017 09:00:25 +0200","from shaarm01.corp.atmel.com (10.168.254.13) by apsmtp01.atmel.com\n\t(10.168.254.31) with Microsoft SMTP Server id 14.3.235.1;\n\tWed, 13 Sep 2017 15:04:48 +0800"],"X-Spam-Checker-Version":"SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED\n\tautolearn=unavailable autolearn_force=no version=3.4.0","From":"Wenyou Yang <wenyou.yang@microchip.com>","To":"U-Boot Mailing List <u-boot@lists.denx.de>","Date":"Wed, 13 Sep 2017 14:58:52 +0800","Message-ID":"<20170913065854.26134-8-wenyou.yang@microchip.com>","X-Mailer":"git-send-email 2.13.0","In-Reply-To":"<20170913065854.26134-1-wenyou.yang@microchip.com>","References":"<20170913065854.26134-1-wenyou.yang@microchip.com>","MIME-Version":"1.0","Cc":"Marek Vasut <marex@denx.de>, Tom Rini <trini@konsulko.com>","Subject":"[U-Boot] [PATCH v6 7/9] ARM: at91: mach: Add missing defines of\n\tMPDDRC","X-BeenThere":"u-boot@lists.denx.de","X-Mailman-Version":"2.1.18","Precedence":"list","List-Id":"U-Boot discussion <u-boot.lists.denx.de>","List-Unsubscribe":"<https://lists.denx.de/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":"<https://lists.denx.de/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"base64","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>"},"content":"Add missing defines of Multiport DDR-SDRAM Controller (MPDDRC).\n\nSigned-off-by: Wenyou Yang <wenyou.yang@microchip.com>\nReviewed-by: Simon Glass <sjg@chromium.org>\n---\n\nChanges in v6: None\nChanges in v5: None\nChanges in v4: None\nChanges in v3: None\nChanges in v2: None\n\n arch/arm/mach-at91/include/mach/atmel_mpddrc.h | 4 ++++\n 1 file changed, 4 insertions(+)","diff":"diff --git a/arch/arm/mach-at91/include/mach/atmel_mpddrc.h b/arch/arm/mach-at91/include/mach/atmel_mpddrc.h\nindex 803501f5cf..40e1cf0a0a 100644\n--- a/arch/arm/mach-at91/include/mach/atmel_mpddrc.h\n+++ b/arch/arm/mach-at91/include/mach/atmel_mpddrc.h\n@@ -96,6 +96,10 @@ int ddr3_init(const unsigned int base,\n #define ATMEL_MPDDRC_CR_DLL_RESET_ENABLED\t(0x1 << 7)\n #define ATMEL_MPDDRC_CR_DIC_DS\t\t\t(0x1 << 8)\n #define ATMEL_MPDDRC_CR_DIS_DLL\t\t\t(0x1 << 9)\n+#define ATMEL_MPDDRC_CR_ZQ_INIT\t\t\t(0x0 << 10)\n+#define ATMEL_MPDDRC_CR_ZQ_LONG\t\t\t(0x1 << 10)\n+#define ATMEL_MPDDRC_CR_ZQ_SHORT\t\t(0x2 << 10)\n+#define ATMEL_MPDDRC_CR_ZQ_RESET\t\t(0x3 << 10)\n #define ATMEL_MPDDRC_CR_OCD_DEFAULT\t\t(0x7 << 12)\n #define ATMEL_MPDDRC_CR_DQMS_SHARED\t\t(0x1 << 16)\n #define ATMEL_MPDDRC_CR_ENRDM_ON\t\t(0x1 << 17)\n","prefixes":["U-Boot","v6","7/9"]}