Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/1132175/?format=api
{ "id": 1132175, "url": "http://patchwork.ozlabs.org/api/patches/1132175/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20190715182110.21336-14-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": "<20190715182110.21336-14-jagan@amarulasolutions.com>", "list_archive_url": null, "date": "2019-07-15T18:21:08", "name": "[U-Boot,v3,13/15] arm: include: rockchip: Move dramtypes to common header", "commit_ref": "fafd2ad4df4d1362c2eb26716b4d625c5ca32694", "pull_url": null, "state": "accepted", "archived": false, "hash": "4d1d028899b5cc57e7fadf2b961165d60c6850c4", "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/20190715182110.21336-14-jagan@amarulasolutions.com/mbox/", "series": [ { "id": 119571, "url": "http://patchwork.ozlabs.org/api/series/119571/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=119571", "date": "2019-07-15T18:20:55", "name": "ram: rk3399: Code cleanup", "version": 3, "mbox": "http://patchwork.ozlabs.org/series/119571/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/1132175/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/1132175/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=\"VMMh2Wun\"; \n\tdkim-atps=neutral" ], "Received": [ "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 45nX8k3Vzzz9s3l\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 16 Jul 2019 04:28:22 +1000 (AEST)", "by lists.denx.de (Postfix, from userid 105)\n\tid 33E9DC21FA5; Mon, 15 Jul 2019 18:24:16 +0000 (UTC)", "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id EC646C21F41;\n\tMon, 15 Jul 2019 18:23:10 +0000 (UTC)", "by lists.denx.de (Postfix, from userid 105)\n\tid E0915C21FA6; Mon, 15 Jul 2019 18:22:14 +0000 (UTC)", "from mail-pf1-f195.google.com (mail-pf1-f195.google.com\n\t[209.85.210.195])\n\tby lists.denx.de (Postfix) with ESMTPS id 10247C21E60\n\tfor <u-boot@lists.denx.de>; Mon, 15 Jul 2019 18:22:07 +0000 (UTC)", "by mail-pf1-f195.google.com with SMTP id t16so7789640pfe.11\n\tfor <u-boot@lists.denx.de>; Mon, 15 Jul 2019 11:22:06 -0700 (PDT)", "from localhost.localdomain ([49.206.201.107])\n\tby smtp.gmail.com with ESMTPSA id\n\tl15sm18152405pgf.5.2019.07.15.11.22.02\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tMon, 15 Jul 2019 11:22:05 -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=+faoSNUq7ISOuktRNgl+n22wUdzlRqNIPSMIAahM4n4=;\n\tb=VMMh2Wunj+aX3VCTm4SMsgskPv/cNnjL/TbxBJdEjgi0zV6gpPNO5rw6v1u+GEFn28\n\tJ4bU1GYN1MfcEDoraCqlaun9nl0EvlTY6CCzViuBWZYwcbGLSxhAm50T/FhLDez9rVFc\n\tezmj26zQlWovAJ0ekoUUlZRgr9gfX73fTjliE=", "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=+faoSNUq7ISOuktRNgl+n22wUdzlRqNIPSMIAahM4n4=;\n\tb=XXrr5stt6YiAoyY9l/3hVgA85nIoIlOB2Qepu130/aaE9WrFw3zdYispRmfPbUFVgF\n\tVvix9XpmzDKtpUtGQNnNFyGJGmtujk22JXFDpta7z912BFuG5jgBFi2gDYE85AueEC/l\n\t2VLG3k2FxFfDGTU1DF4wE/GfdXKR5DEYI5d2t4odZkoWDnlQslz2o9ajeE/PYmfAVE+o\n\tyg0p+WYfXlxJrkduBw12jW3Mycz5yv2NPKST4WSOVXXO61ZTOCeyF6LvwJ3Ux+05x07E\n\tpuxA9P4TEjnSHyiE0WZpNnA1EIwojuBF4k6dMt7gvHLvVHpkQORtzc5wWkgnKFi6NCbG\n\tqRnQ==", "X-Gm-Message-State": "APjAAAVpss+iEDsViciWOmIDm97AQqnoS1OAa3TyDK5330Z2ZqRKNUmL\n\tbjRoECv0hwyXhYxM8M6073hWDA==", "X-Google-Smtp-Source": "APXvYqxJSMat5G4zXZTkvsAqqGfsDF5eiIS72fqTxMSpTU4Fn7LN9fs4iaFm4P7YapnD6JJzi2gxJg==", "X-Received": "by 2002:a17:90a:b394:: with SMTP id\n\te20mr30483168pjr.76.1563214925619; \n\tMon, 15 Jul 2019 11:22:05 -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": "Mon, 15 Jul 2019 23:51:08 +0530", "Message-Id": "<20190715182110.21336-14-jagan@amarulasolutions.com>", "X-Mailer": "git-send-email 2.18.0.321.gffc6fa0e3", "In-Reply-To": "<20190715182110.21336-1-jagan@amarulasolutions.com>", "References": "<20190715182110.21336-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 13/15] arm: include: rockchip: Move dramtypes to\n\tcommon header", "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": "dramtype enum numbers as common across all dram controllers\nin rockchip, so move the eneum values in common header.\n\nSigned-off-by: Jagan Teki <jagan@amarulasolutions.com>\n---\n arch/arm/include/asm/arch-rockchip/sdram.h | 6 ------\n arch/arm/include/asm/arch-rockchip/sdram_common.h | 8 ++++++++\n arch/arm/include/asm/arch-rockchip/sdram_rk322x.h | 7 -------\n arch/arm/include/asm/arch-rockchip/sdram_rk3399.h | 8 --------\n 4 files changed, 8 insertions(+), 21 deletions(-)", "diff": "diff --git a/arch/arm/include/asm/arch-rockchip/sdram.h b/arch/arm/include/asm/arch-rockchip/sdram.h\nindex bbe425deb9..9220763fa7 100644\n--- a/arch/arm/include/asm/arch-rockchip/sdram.h\n+++ b/arch/arm/include/asm/arch-rockchip/sdram.h\n@@ -8,12 +8,6 @@\n #ifndef _ASM_ARCH_RK3288_SDRAM_H__\n #define _ASM_ARCH_RK3288_SDRAM_H__\n \n-enum {\n-\tDDR3 = 3,\n-\tLPDDR3 = 6,\n-\tUNUSED = 0xFF,\n-};\n-\n struct rk3288_sdram_channel {\n \t/*\n \t * bit width in address, eg:\ndiff --git a/arch/arm/include/asm/arch-rockchip/sdram_common.h b/arch/arm/include/asm/arch-rockchip/sdram_common.h\nindex 82ce3d3fc9..55abcdae77 100644\n--- a/arch/arm/include/asm/arch-rockchip/sdram_common.h\n+++ b/arch/arm/include/asm/arch-rockchip/sdram_common.h\n@@ -6,6 +6,14 @@\n #ifndef _ASM_ARCH_SDRAM_COMMON_H\n #define _ASM_ARCH_SDRAM_COMMON_H\n \n+enum {\n+\tDDR3 = 0x3,\n+\tLPDDR2 = 0x5,\n+\tLPDDR3 = 0x6,\n+\tLPDDR4 = 0x7,\n+\tUNUSED = 0xFF\n+};\n+\n struct sdram_cap_info {\n \tunsigned int rank;\n \t/* dram column number, 0 means this channel is invalid */\ndiff --git a/arch/arm/include/asm/arch-rockchip/sdram_rk322x.h b/arch/arm/include/asm/arch-rockchip/sdram_rk322x.h\nindex d0091a7aaf..336c5d7e8c 100644\n--- a/arch/arm/include/asm/arch-rockchip/sdram_rk322x.h\n+++ b/arch/arm/include/asm/arch-rockchip/sdram_rk322x.h\n@@ -7,13 +7,6 @@\n \n #include <common.h>\n \n-enum {\n-\tDDR3\t\t= 3,\n-\tLPDDR2\t\t= 5,\n-\tLPDDR3\t\t= 6,\n-\tUNUSED\t\t= 0xFF,\n-};\n-\n struct rk322x_sdram_channel {\n \t/*\n \t * bit width in address, eg:\ndiff --git a/arch/arm/include/asm/arch-rockchip/sdram_rk3399.h b/arch/arm/include/asm/arch-rockchip/sdram_rk3399.h\nindex 65c92cf744..471702f935 100644\n--- a/arch/arm/include/asm/arch-rockchip/sdram_rk3399.h\n+++ b/arch/arm/include/asm/arch-rockchip/sdram_rk3399.h\n@@ -6,14 +6,6 @@\n #ifndef _ASM_ARCH_SDRAM_RK3399_H\n #define _ASM_ARCH_SDRAM_RK3399_H\n \n-enum {\n-\tDDR3 = 0x3,\n-\tLPDDR2 = 0x5,\n-\tLPDDR3 = 0x6,\n-\tLPDDR4 = 0x7,\n-\tUNUSED = 0xFF\n-};\n-\n struct rk3399_ddr_pctl_regs {\n \tu32 denali_ctl[332];\n };\n", "prefixes": [ "U-Boot", "v3", "13/15" ] }