Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.2/patches/808284/?format=api
{ "id": 808284, "url": "http://patchwork.ozlabs.org/api/1.2/patches/808284/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/1504193663-3903-1-git-send-email-eric@nelint.com/", "project": { "id": 18, "url": "http://patchwork.ozlabs.org/api/1.2/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": "<1504193663-3903-1-git-send-email-eric@nelint.com>", "list_archive_url": null, "date": "2017-08-31T15:34:23", "name": "[U-Boot,v2] imx: imx7d: remove CamelCase from ENET_xMHz macros", "commit_ref": "8590786acfc3d2afb46f739c2e72b98ef3d9e172", "pull_url": null, "state": "accepted", "archived": false, "hash": "41a82b0343407a11464191f0bdc10aadfa5d08f1", "submitter": { "id": 67231, "url": "http://patchwork.ozlabs.org/api/1.2/people/67231/?format=api", "name": "Eric Nelson", "email": "eric@nelint.com" }, "delegate": { "id": 1693, "url": "http://patchwork.ozlabs.org/api/1.2/users/1693/?format=api", "username": "sbabic", "first_name": "Stefano", "last_name": "Babic", "email": "sbabic@denx.de" }, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/1504193663-3903-1-git-send-email-eric@nelint.com/mbox/", "series": [ { "id": 857, "url": "http://patchwork.ozlabs.org/api/1.2/series/857/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=857", "date": "2017-08-31T15:34:23", "name": "[U-Boot,v2] imx: imx7d: remove CamelCase from ENET_xMHz macros", "version": 2, "mbox": "http://patchwork.ozlabs.org/series/857/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/808284/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/808284/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;\n\tdkim=fail reason=\"key not found in DNS\" (0-bit key;\n\tsecure) header.d=nelint.com header.i=@nelint.com header.b=\"WG2kZH1y\";\n\tdkim-atps=neutral" ], "Received": [ "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xjmgv1M6cz9s83\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 1 Sep 2017 01:36:41 +1000 (AEST)", "by lists.denx.de (Postfix, from userid 105)\n\tid A353CC21E43; Thu, 31 Aug 2017 15:36:33 +0000 (UTC)", "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 7E70EC21D09;\n\tThu, 31 Aug 2017 15:36:31 +0000 (UTC)", "by lists.denx.de (Postfix, from userid 105)\n\tid E8973C21D09; Thu, 31 Aug 2017 15:36:29 +0000 (UTC)", "from mail-pf0-f171.google.com (mail-pf0-f171.google.com\n\t[209.85.192.171])\n\tby lists.denx.de (Postfix) with ESMTPS id 3FF0BC21C40\n\tfor <u-boot@lists.denx.de>; Thu, 31 Aug 2017 15:36:29 +0000 (UTC)", "by mail-pf0-f171.google.com with SMTP id g13so2937722pfm.2\n\tfor <u-boot@lists.denx.de>; Thu, 31 Aug 2017 08:36:29 -0700 (PDT)", "from localhost.localdomain\n\t([2600:8800:1300:1c00:8132:5a3d:66a8:178e])\n\tby smtp.gmail.com with ESMTPSA id p1sm3826pfe.129.2017.08.31.08.36.25\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tThu, 31 Aug 2017 08:36:26 -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_DNSWL_NONE,\n\tRCVD_IN_MSPIKE_H2,\n\tT_DKIM_INVALID autolearn=unavailable autolearn_force=no\n\tversion=3.4.0", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=nelint.com; s=google;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=yd9DyAuPpnfQVV3DmjGsrRcT4RRN6+0vz+eZ2p/Jswo=;\n\tb=WG2kZH1y7zTYDh6ziqbxmM9HvrVwmeci8TxkaZHKm7MoXZSfU+FZI0bzdnj02nfX+B\n\tXK6THTkzAo8pLLRWJX8YWaN5fJjZPi5x+kivBIVeZs1wMLAVlSE8coj9ByZV1hqUKmzh\n\tAm9FOK4AJ4kYS85O4qCu+BI9PrLKJCP7t8BCU=", "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;\n\tbh=yd9DyAuPpnfQVV3DmjGsrRcT4RRN6+0vz+eZ2p/Jswo=;\n\tb=H36kPFt4//YvddGq9w3LOXJkg9vzDXdxzSUiYhC4VBpfgdSQ7kVoliKJlfQOqZdOdw\n\thdz5+9WF2Ju7JqduwdjUYb/EfZlloqaUDhg5fPZdOonsqsW49EKmiISLFURI09i1OiIL\n\t6hicUpfVxEvn/ldO7vURQse+tCun3/qY55sZg1RpIo08/4GYjdHiRyd9z6nQrl3ZSyQo\n\tC39ROMiaWMS6z1mk0ChJm3+jlNE6EIfx73TkuGAt4u0V5017st6QTfuuvtGMaPd98aaY\n\taPBn08M9plm/kEVHuwfNIa0GLPjT/6O4bCfwhOIt1tauyy+wUeDnYBReTuy12OqvcyZu\n\tTtUw==", "X-Gm-Message-State": "AHYfb5jmrL7f25k8o6YCCT51q3YFffXw2cU5uxdLeyQZwUPazQfB51ST\n\tVjP1RRi8GyyDPBuMcyg=", "X-Google-Smtp-Source": "ADKCNb48mUKZhlEwBuisMy/JjtOJ7DMqgPxbKBglXHRrLshUzcNOzTooagWSSZ67MngsYdzHkWkReA==", "X-Received": "by 10.84.229.6 with SMTP id b6mr3118818plk.222.1504193787087;\n\tThu, 31 Aug 2017 08:36:27 -0700 (PDT)", "From": "Eric Nelson <eric@nelint.com>", "To": "u-boot@lists.denx.de", "Date": "Thu, 31 Aug 2017 08:34:23 -0700", "Message-Id": "<1504193663-3903-1-git-send-email-eric@nelint.com>", "X-Mailer": "git-send-email 2.7.4", "In-Reply-To": "<1504132162-25617-1-git-send-email-eric@nelint.com>", "References": "<1504132162-25617-1-git-send-email-eric@nelint.com>", "Cc": "stefan.agner@toradex.com, adrian.alonso@nxp.com, vanessa.maegima@nxp.com,\n\tfabio.estevam@nxp.com", "Subject": "[U-Boot] [PATCH v2] imx: imx7d: remove CamelCase from ENET_xMHz\n\tmacros", "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>", "MIME-Version": "1.0", "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": "Update these macros to use all upper-case to avoid checkpatch\nwarnings:\n\n\tENET_25MHz,\n\tENET_50MHz,\n\tENET_125MHz,\n\nSigned-off-by: Eric Nelson <eric@nelint.com>\n---\nV2 fixes a couple of references in mx7/clock.c\n arch/arm/include/asm/arch-mx7/clock.h | 6 +++---\n arch/arm/mach-imx/mx7/clock.c | 6 +++---\n board/freescale/mx7dsabresd/mx7dsabresd.c | 2 +-\n board/technexion/pico-imx7d/pico-imx7d.c | 2 +-\n board/toradex/colibri_imx7/colibri_imx7.c | 2 +-\n 5 files changed, 9 insertions(+), 9 deletions(-)", "diff": "diff --git a/arch/arm/include/asm/arch-mx7/clock.h b/arch/arm/include/asm/arch-mx7/clock.h\nindex 688d236..3b115ad 100644\n--- a/arch/arm/include/asm/arch-mx7/clock.h\n+++ b/arch/arm/include/asm/arch-mx7/clock.h\n@@ -318,9 +318,9 @@ struct clk_root_map {\n };\n \n enum enet_freq {\n-\tENET_25MHz,\n-\tENET_50MHz,\n-\tENET_125MHz,\n+\tENET_25MHZ,\n+\tENET_50MHZ,\n+\tENET_125MHZ,\n };\n \n u32 get_root_clk(enum clk_root_index clock_id);\ndiff --git a/arch/arm/mach-imx/mx7/clock.c b/arch/arm/mach-imx/mx7/clock.c\nindex 2cfde46..8150faa 100644\n--- a/arch/arm/mach-imx/mx7/clock.c\n+++ b/arch/arm/mach-imx/mx7/clock.c\n@@ -966,15 +966,15 @@ int set_clk_enet(enum enet_freq type)\n \tclock_enable(CCGR_ENET2, 0);\n \n \tswitch (type) {\n-\tcase ENET_125MHz:\n+\tcase ENET_125MHZ:\n \t\tenet1_ref = ENET1_REF_CLK_ROOT_FROM_PLL_ENET_MAIN_125M_CLK;\n \t\tenet2_ref = ENET2_REF_CLK_ROOT_FROM_PLL_ENET_MAIN_125M_CLK;\n \t\tbreak;\n-\tcase ENET_50MHz:\n+\tcase ENET_50MHZ:\n \t\tenet1_ref = ENET1_REF_CLK_ROOT_FROM_PLL_ENET_MAIN_50M_CLK;\n \t\tenet2_ref = ENET2_REF_CLK_ROOT_FROM_PLL_ENET_MAIN_50M_CLK;\n \t\tbreak;\n-\tcase ENET_25MHz:\n+\tcase ENET_25MHZ:\n \t\tenet1_ref = ENET1_REF_CLK_ROOT_FROM_PLL_ENET_MAIN_25M_CLK;\n \t\tenet2_ref = ENET2_REF_CLK_ROOT_FROM_PLL_ENET_MAIN_25M_CLK;\n \t\tbreak;\ndiff --git a/board/freescale/mx7dsabresd/mx7dsabresd.c b/board/freescale/mx7dsabresd/mx7dsabresd.c\nindex a681ece..5819b18 100644\n--- a/board/freescale/mx7dsabresd/mx7dsabresd.c\n+++ b/board/freescale/mx7dsabresd/mx7dsabresd.c\n@@ -260,7 +260,7 @@ static int setup_fec(void)\n \t\t(IOMUXC_GPR_GPR1_GPR_ENET1_TX_CLK_SEL_MASK |\n \t\t IOMUXC_GPR_GPR1_GPR_ENET1_CLK_DIR_MASK), 0);\n \n-\treturn set_clk_enet(ENET_125MHz);\n+\treturn set_clk_enet(ENET_125MHZ);\n }\n \n \ndiff --git a/board/technexion/pico-imx7d/pico-imx7d.c b/board/technexion/pico-imx7d/pico-imx7d.c\nindex b4c9be7..67bab51 100644\n--- a/board/technexion/pico-imx7d/pico-imx7d.c\n+++ b/board/technexion/pico-imx7d/pico-imx7d.c\n@@ -182,7 +182,7 @@ static int setup_fec(void)\n \t\t\t(IOMUXC_GPR_GPR1_GPR_ENET1_TX_CLK_SEL_MASK |\n \t\t\tIOMUXC_GPR_GPR1_GPR_ENET1_CLK_DIR_MASK), 0);\n \n-\treturn set_clk_enet(ENET_125MHz);\n+\treturn set_clk_enet(ENET_125MHZ);\n }\n \n int board_phy_config(struct phy_device *phydev)\ndiff --git a/board/toradex/colibri_imx7/colibri_imx7.c b/board/toradex/colibri_imx7/colibri_imx7.c\nindex 5cb14b4..13b2b57 100644\n--- a/board/toradex/colibri_imx7/colibri_imx7.c\n+++ b/board/toradex/colibri_imx7/colibri_imx7.c\n@@ -280,7 +280,7 @@ static int setup_fec(void)\n \t\t\tIOMUXC_GPR_GPR1_GPR_ENET1_TX_CLK_SEL_MASK);\n #endif\n \n-\treturn set_clk_enet(ENET_50MHz);\n+\treturn set_clk_enet(ENET_50MHZ);\n }\n \n int board_phy_config(struct phy_device *phydev)\n", "prefixes": [ "U-Boot", "v2" ] }