Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/1132666/?format=api
{ "id": 1132666, "url": "http://patchwork.ozlabs.org/api/patches/1132666/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20190716115745.12585-5-jagan@amarulasolutions.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": "<20190716115745.12585-5-jagan@amarulasolutions.com>", "list_archive_url": null, "date": "2019-07-16T11:56:52", "name": "[U-Boot,v3,04/57] ram: rk3399: Add chipinfo macro", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "8f91673a1609a24e04db76184fb08d1cca46c47d", "submitter": { "id": 69820, "url": "http://patchwork.ozlabs.org/api/people/69820/?format=api", "name": "Jagan Teki", "email": "jagan@amarulasolutions.com" }, "delegate": { "id": 93623, "url": "http://patchwork.ozlabs.org/api/users/93623/?format=api", "username": "kevery", "first_name": "Kever", "last_name": "Yang", "email": "ykai007@gmail.com" }, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20190716115745.12585-5-jagan@amarulasolutions.com/mbox/", "series": [ { "id": 119754, "url": "http://patchwork.ozlabs.org/api/series/119754/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=119754", "date": "2019-07-16T11:56:48", "name": "ram: rk3399: Add LPDDR4 support", "version": 3, "mbox": "http://patchwork.ozlabs.org/series/119754/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/1132666/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/1132666/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>)", "ozlabs.org; dmarc=none (p=none dis=none)\n\theader.from=amarulasolutions.com", "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=amarulasolutions.com\n\theader.i=@amarulasolutions.com header.b=\"dCY0FXfs\"; \n\tdkim-atps=neutral" ], "Received": [ "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 45nzWM1GF6z9s00\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 16 Jul 2019 22:01:02 +1000 (AEST)", "by lists.denx.de (Postfix, from userid 105)\n\tid 9706CC21E2F; Tue, 16 Jul 2019 11:59:00 +0000 (UTC)", "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 230ABC21E07;\n\tTue, 16 Jul 2019 11:58:35 +0000 (UTC)", "by lists.denx.de (Postfix, from userid 105)\n\tid 2B179C21E13; Tue, 16 Jul 2019 11:58:15 +0000 (UTC)", "from mail-pf1-f194.google.com (mail-pf1-f194.google.com\n\t[209.85.210.194])\n\tby lists.denx.de (Postfix) with ESMTPS id 285B5C21DAF\n\tfor <u-boot@lists.denx.de>; Tue, 16 Jul 2019 11:58:12 +0000 (UTC)", "by mail-pf1-f194.google.com with SMTP id u14so9022215pfn.2\n\tfor <u-boot@lists.denx.de>; Tue, 16 Jul 2019 04:58:12 -0700 (PDT)", "from localhost.localdomain ([49.206.201.107])\n\tby smtp.gmail.com with ESMTPSA id\n\tz24sm36269566pfr.51.2019.07.16.04.58.07\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tTue, 16 Jul 2019 04:58:10 -0700 (PDT)" ], "X-Spam-Checker-Version": "SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de", "X-Spam-Level": "", "X-Spam-Status": "No, score=-0.0 required=5.0 tests=RCVD_IN_MSPIKE_H3,\n\tRCVD_IN_MSPIKE_WL,\n\tT_DKIM_INVALID autolearn=unavailable autolearn_force=no\n\tversion=3.4.0", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=amarulasolutions.com; s=google;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references\n\t:mime-version:content-transfer-encoding;\n\tbh=8BogZbqP3R80fB7AlTvCAG5t45Neo/pGqiO9GVcYGEA=;\n\tb=dCY0FXfsAfL8lBQ5n0g9QoQT08WDilAkmTOiscYTECDt/JWMA25cu8L/TTTGHvopHh\n\tGw+JQ/awjrSvYxR7kpa9DcimdCCLSue5vCKOrfijL+oBjpViJ6G7mYgdUFXdewkHZiP0\n\tDtdYYMViK89ZiAl/F9K4sggoPSufZhufI5iMI=", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references:mime-version:content-transfer-encoding;\n\tbh=8BogZbqP3R80fB7AlTvCAG5t45Neo/pGqiO9GVcYGEA=;\n\tb=dPUN50OVo/V24gLCWwCScl1RsE2vOIIw9ho43WCy02srEHJa1OSPjFgK36wCODzkwt\n\tho8K0g66M6Q/o2+1sWRlHETkVK2jcrG8qIUen/rLLHBYX2CmlDtbje/tbxJCufFQf/tl\n\tri5slWwGO8KjyUR1X5hvnrBIra4yCPu6yLAEgPkpvmZAeS2cn6UlppJM+5lQvJ/95D7W\n\t4VLd06FVxA1CNxO1u0xhAISKgI1x4O9gNoHwb3nQdIqcBNmyvrpA6Qq1MPk3WK1UCoEo\n\tMsnQpVzMgb5MmiS4qmaQm1A4NzVYLO/IrbnRuob40E8ToaVs3kfmIM2a1xuE9MvRFtdD\n\tPfLw==", "X-Gm-Message-State": "APjAAAWR0mwlc5qYqchxD/sJ/VzWqMXFQPK/xFXAR1dHYQZ3eWbyje+6\n\tNfD+GyrDR8bpB3Z2MeJpji0cYg==", "X-Google-Smtp-Source": "APXvYqzi/lMPydWmL+MIuq9QKJi8XE0PaWpwrH1lbDt2EmfrI2Opfur3CY3dc51TAebfY0NAeOeTOA==", "X-Received": "by 2002:a17:90a:8d09:: with SMTP id\n\tc9mr36387626pjo.131.1563278290740; \n\tTue, 16 Jul 2019 04:58:10 -0700 (PDT)", "From": "Jagan Teki <jagan@amarulasolutions.com>", "To": "Simon Glass <sjg@chromium.org>,\n\tPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>,\n\tKever Yang <kever.yang@rock-chips.com>,\n\tYouMin Chen <cym@rock-chips.com>, u-boot@lists.denx.de", "Date": "Tue, 16 Jul 2019 17:26:52 +0530", "Message-Id": "<20190716115745.12585-5-jagan@amarulasolutions.com>", "X-Mailer": "git-send-email 2.18.0.321.gffc6fa0e3", "In-Reply-To": "<20190716115745.12585-1-jagan@amarulasolutions.com>", "References": "<20190716115745.12585-1-jagan@amarulasolutions.com>", "MIME-Version": "1.0", "Cc": "linux-rockchip@lists.infradead.org, gajjar04akash@gmail.com,\n\tlinux-amarula@amarulasolutions.com,\n\tManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>", "Subject": "[U-Boot] [PATCH v3 04/57] ram: rk3399: Add chipinfo macro", "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 simplified and meaningful macro for chip info.\n\nSigned-off-by: Jagan Teki <jagan@amarulasolutions.com>\nSigned-off-by: YouMin Chen <cym@rock-chips.com>\n---\n arch/arm/include/asm/arch-rockchip/sdram_common.h | 1 +\n drivers/ram/rockchip/sdram_rk3399.c | 2 +-\n 2 files changed, 2 insertions(+), 1 deletion(-)", "diff": "diff --git a/arch/arm/include/asm/arch-rockchip/sdram_common.h b/arch/arm/include/asm/arch-rockchip/sdram_common.h\nindex e5af3eab7e..2d0be920d9 100644\n--- a/arch/arm/include/asm/arch-rockchip/sdram_common.h\n+++ b/arch/arm/include/asm/arch-rockchip/sdram_common.h\n@@ -73,6 +73,7 @@ struct sdram_base_params {\n #define SYS_REG_ROW_3_4_MASK\t\t1\n #define SYS_REG_ENC_ROW_3_4(n, ch)\t((n) << (30 + (ch)))\n #define SYS_REG_CHINFO_SHIFT(ch)\t(28 + (ch))\n+#define SYS_REG_ENC_CHINFO(ch)\t\t(1 << SYS_REG_CHINFO_SHIFT(ch))\n #define SYS_REG_ENC_DDRTYPE(n)\t\t((n) << SYS_REG_DDRTYPE_SHIFT)\n #define SYS_REG_ENC_NUM_CH(n)\t\t(((n) - SYS_REG_NUM_CH_MASK) << \\\n \t\t\t\t\tSYS_REG_NUM_CH_SHIFT)\ndiff --git a/drivers/ram/rockchip/sdram_rk3399.c b/drivers/ram/rockchip/sdram_rk3399.c\nindex d97efb6996..874e896369 100644\n--- a/drivers/ram/rockchip/sdram_rk3399.c\n+++ b/drivers/ram/rockchip/sdram_rk3399.c\n@@ -1090,7 +1090,7 @@ static void dram_all_config(struct dram_info *dram,\n \t\t\tcontinue;\n \t\tidx++;\n \t\tsys_reg |= SYS_REG_ENC_ROW_3_4(info->cap_info.row_3_4, channel);\n-\t\tsys_reg |= 1 << SYS_REG_CHINFO_SHIFT(channel);\n+\t\tsys_reg |= SYS_REG_ENC_CHINFO(channel);\n \t\tsys_reg |= (info->cap_info.rank - 1) <<\n \t\t\t SYS_REG_RANK_SHIFT(channel);\n \t\tsys_reg |= (info->cap_info.col - 9) <<\n", "prefixes": [ "U-Boot", "v3", "04/57" ] }