{"id":814371,"url":"http://patchwork.ozlabs.org/api/patches/814371/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/patch/20170915191220.28534-1-marek.vasut+renesas@gmail.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":"<20170915191220.28534-1-marek.vasut+renesas@gmail.com>","list_archive_url":null,"date":"2017-09-15T19:12:18","name":"[U-Boot,1/3] ARM: rmobile: Remove SD clock configuration from board files","commit_ref":"667d13fbfa0cc75eafcb3fb6d764b91bf07be9f8","pull_url":null,"state":"accepted","archived":false,"hash":"e777b5454b8ba9cc1b5f152fd2d5b2df583b8d25","submitter":{"id":1124,"url":"http://patchwork.ozlabs.org/api/people/1124/?format=json","name":"Marek Vasut","email":"marek.vasut@gmail.com"},"delegate":{"id":1750,"url":"http://patchwork.ozlabs.org/api/users/1750/?format=json","username":"iwamatsu","first_name":"Nobuhiro","last_name":"Iwamatsu","email":"iwamatsu@nigauri.org"},"mbox":"http://patchwork.ozlabs.org/project/uboot/patch/20170915191220.28534-1-marek.vasut+renesas@gmail.com/mbox/","series":[{"id":3363,"url":"http://patchwork.ozlabs.org/api/series/3363/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/list/?series=3363","date":"2017-09-15T19:12:19","name":"[U-Boot,1/3] ARM: rmobile: Remove SD clock configuration from board files","version":1,"mbox":"http://patchwork.ozlabs.org/series/3363/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/814371/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/814371/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=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"QzIsc2em\"; dkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xv4qX5qTlz9s7g\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 16 Sep 2017 05:15:36 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid 98AFCC21EC9; Fri, 15 Sep 2017 19:12:56 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id D06B9C21EEB;\n\tFri, 15 Sep 2017 19:12:54 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid ACBD7C21EC1; Fri, 15 Sep 2017 19:12:31 +0000 (UTC)","from mail-wm0-f66.google.com (mail-wm0-f66.google.com\n\t[74.125.82.66])\n\tby lists.denx.de (Postfix) with ESMTPS id 2A694C21E8A\n\tfor <u-boot@lists.denx.de>; Fri, 15 Sep 2017 19:12:28 +0000 (UTC)","by mail-wm0-f66.google.com with SMTP id e64so3559992wmi.2\n\tfor <u-boot@lists.denx.de>; Fri, 15 Sep 2017 12:12:28 -0700 (PDT)","from kurokawa.lan (ip-86-49-107-50.net.upcbroadband.cz.\n\t[86.49.107.50]) by smtp.gmail.com with ESMTPSA id\n\tf17sm907735wmf.47.2017.09.15.12.12.24\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tFri, 15 Sep 2017 12:12:24 -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=FREEMAIL_FROM,\n\tRCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,\n\tT_DKIM_INVALID\n\tautolearn=unavailable autolearn_force=no version=3.4.0","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=from:to:cc:subject:date:message-id;\n\tbh=UaQjgkZ70KASmA1NTbViExNHfJgBJaP/bS0aTlUhMR8=;\n\tb=QzIsc2emJWp6akNlMq9rmmQEJBf9FJHfUErJLZTLW+nQLDSmnDRd/2ti0ol/2BAL4O\n\thJo4mlbrS6wE1Fo825y3Va/n4S5lrE614rxnz4BL+SK8rWvMW+JTm06dAF3VukY8JF7Z\n\t2WUA5n6wCjI/lTep3kIxrdVhNV9B1yh1hVvQ60iob46gkzCuhWgZqeh0odoSMDplRObn\n\tgy4WUIv4SxOMIYy0ZBEmdXQHrnaGbub5D/PtfHah4IQnkTyKrLN4Jyx8H5dB/EI/DLp/\n\tRGupV0V84echaBNzWRTAXAqSa0z6s7yVTLlY8VsevRVdx7TkNKdNlQNFf/T0yvMOTzz+\n\tZaYA==","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;\n\tbh=UaQjgkZ70KASmA1NTbViExNHfJgBJaP/bS0aTlUhMR8=;\n\tb=pFHr3IYKoEHFWJofQFhpk4ig2E/xDjrhflrTkrpdzAWLqFOICUcqYaZ6sYguAlhZpr\n\tRl4i3SEZwZhIdhYCx1VtOD0bLury0AN10kumUW3hnLv0FphOXjEEUd8tKKqTNk7v8SSt\n\toN8kwSE5HRH+ntsjmWAFQfGbYTP3AstytMV06gSIYdxDIGlZAGtD23Q+XPZRRmmEfwIE\n\t/3FszcRZtXxoaMpoozekjckvpO3HHyE4xXtAgqsJjc/JdGgnOCEEsKFs0IufCd4M8z2j\n\tpUaLb3Wjdbzp9vqJkJb6zC1nnG4mKRcCHtzX9MpFnYMPZ50SQ6dr6cpmX03cxnLH7neF\n\teVJw==","X-Gm-Message-State":"AHPjjUiJnVRfdWjuP1PoN9+JYMUk1pZp8InhQ1WYxG2SRGK1IiYj0wEm\n\t2j/R8KuOXxhB3zAklrZGQoFnw3Uf","X-Google-Smtp-Source":"AOwi7QBwyXCk7RGnoToxFROR3dmIjvfxRo7mB6Kc+w7aeBz9VGDumWFQdE4MD6/DA8/k5i3UXQKSlA==","X-Received":"by 10.28.178.132 with SMTP id b126mr3838664wmf.25.1505502745143; \n\tFri, 15 Sep 2017 12:12:25 -0700 (PDT)","From":"Marek Vasut <marek.vasut@gmail.com>","X-Google-Original-From":"Marek Vasut <marek.vasut+renesas@gmail.com>","To":"u-boot@lists.denx.de","Date":"Fri, 15 Sep 2017 21:12:18 +0200","Message-Id":"<20170915191220.28534-1-marek.vasut+renesas@gmail.com>","X-Mailer":"git-send-email 2.11.0","Cc":"Marek Vasut <marek.vasut+renesas@gmail.com>","Subject":"[U-Boot] [PATCH 1/3] ARM: rmobile: Remove SD clock configuration\n\tfrom board files","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":"The configuration is now fully performed by the SD and clk drivers,\nso remove it from the board file.\n\nSigned-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>\nCc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>\n---\n board/renesas/salvator-x/salvator-x.c | 18 ------------------\n board/renesas/ulcb/ulcb.c             | 17 -----------------\n 2 files changed, 35 deletions(-)","diff":"diff --git a/board/renesas/salvator-x/salvator-x.c b/board/renesas/salvator-x/salvator-x.c\nindex 37fcbbd448..9718a49d59 100644\n--- a/board/renesas/salvator-x/salvator-x.c\n+++ b/board/renesas/salvator-x/salvator-x.c\n@@ -51,17 +51,8 @@ void s_init(void)\n #define SCIF2_MSTP310\t\tBIT(10)\t/* SCIF2 */\n #define ETHERAVB_MSTP812\tBIT(12)\n #define DVFS_MSTP926\t\tBIT(26)\n-#define SD0_MSTP314\t\tBIT(14)\n-#define SD1_MSTP313\t\tBIT(13)\n-#define SD2_MSTP312\t\tBIT(12)\t/* either MMC0 */\n-#define SD3_MSTP311\t\tBIT(11)\t/* either MMC1 */\n #define HSUSB_MSTP704\t\tBIT(4)\t/* HSUSB */\n \n-#define SD0CKCR\t\t\t0xE6150074\n-#define SD1CKCR\t\t\t0xE6150078\n-#define SD2CKCR\t\t\t0xE6150268\n-#define SD3CKCR\t\t\t0xE615026C\n-\n int board_early_init_f(void)\n {\n \t/* TMU0,1 */\t\t/* which use ? */\n@@ -70,15 +61,6 @@ int board_early_init_f(void)\n \tmstp_clrbits_le32(MSTPSR3, SMSTPCR3, SCIF2_MSTP310);\n \t/* EHTERAVB */\n \tmstp_clrbits_le32(MSTPSR8, SMSTPCR8, ETHERAVB_MSTP812);\n-\t/* eMMC */\n-\tmstp_clrbits_le32(MSTPSR3, SMSTPCR3, SD1_MSTP313 | SD2_MSTP312);\n-\t/* SDHI0, 3 */\n-\tmstp_clrbits_le32(MSTPSR3, SMSTPCR3, SD0_MSTP314 | SD3_MSTP311);\n-\n-\twritel(1, SD0CKCR);\n-\twritel(1, SD1CKCR);\n-\twritel(1, SD2CKCR);\n-\twritel(1, SD3CKCR);\n \n #if defined(CONFIG_SYS_I2C) && defined(CONFIG_SYS_I2C_SH)\n \t/* DVFS for reset */\ndiff --git a/board/renesas/ulcb/ulcb.c b/board/renesas/ulcb/ulcb.c\nindex 578b14be7b..522fecee53 100644\n--- a/board/renesas/ulcb/ulcb.c\n+++ b/board/renesas/ulcb/ulcb.c\n@@ -50,16 +50,8 @@ void s_init(void)\n #define SCIF2_MSTP310\t\tBIT(10)\t/* SCIF2 */\n #define ETHERAVB_MSTP812\tBIT(12)\n #define DVFS_MSTP926\t\tBIT(26)\n-#define SD0_MSTP314\t\tBIT(14)\n-#define SD1_MSTP313\t\tBIT(13)\n-#define SD2_MSTP312\t\tBIT(12)\t/* either MMC0 */\n #define HSUSB_MSTP704\t\tBIT(4)\t/* HSUSB */\n \n-#define SD0CKCR\t\t\t0xE6150074\n-#define SD1CKCR\t\t\t0xE6150078\n-#define SD2CKCR\t\t\t0xE6150268\n-#define SD3CKCR\t\t\t0xE615026C\n-\n int board_early_init_f(void)\n {\n \t/* TMU0,1 */\t\t/* which use ? */\n@@ -68,15 +60,6 @@ int board_early_init_f(void)\n \tmstp_clrbits_le32(MSTPSR3, SMSTPCR3, SCIF2_MSTP310);\n \t/* EHTERAVB */\n \tmstp_clrbits_le32(MSTPSR8, SMSTPCR8, ETHERAVB_MSTP812);\n-\t/* eMMC */\n-\tmstp_clrbits_le32(MSTPSR3, SMSTPCR3, SD1_MSTP313 | SD2_MSTP312);\n-\t/* SDHI0 */\n-\tmstp_clrbits_le32(MSTPSR3, SMSTPCR3, SD0_MSTP314);\n-\n-\twritel(1, SD0CKCR);\n-\twritel(1, SD1CKCR);\n-\twritel(1, SD2CKCR);\n-\twritel(1, SD3CKCR);\n \n #if defined(CONFIG_SYS_I2C) && defined(CONFIG_SYS_I2C_SH)\n \t/* DVFS for reset */\n","prefixes":["U-Boot","1/3"]}