{"id":810841,"url":"http://patchwork.ozlabs.org/api/patches/810841/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/patch/1504754451-30534-1-git-send-email-kever.yang@rock-chips.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":"<1504754451-30534-1-git-send-email-kever.yang@rock-chips.com>","list_archive_url":null,"date":"2017-09-07T03:20:50","name":"[U-Boot,1/2] rockchip: sdhci: update reg map for of-platdata","commit_ref":null,"pull_url":null,"state":"accepted","archived":false,"hash":"a308ffc16d3638946bd92d0102d32a397de42eab","submitter":{"id":64532,"url":"http://patchwork.ozlabs.org/api/people/64532/?format=json","name":"Kever Yang","email":"kever.yang@rock-chips.com"},"delegate":{"id":69486,"url":"http://patchwork.ozlabs.org/api/users/69486/?format=json","username":"ptomsich","first_name":"Philipp","last_name":"Tomsich","email":"philipp.tomsich@theobroma-systems.com"},"mbox":"http://patchwork.ozlabs.org/project/uboot/patch/1504754451-30534-1-git-send-email-kever.yang@rock-chips.com/mbox/","series":[{"id":1906,"url":"http://patchwork.ozlabs.org/api/series/1906/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/list/?series=1906","date":"2017-09-07T03:20:50","name":"[U-Boot,1/2] rockchip: sdhci: update reg map for of-platdata","version":1,"mbox":"http://patchwork.ozlabs.org/series/1906/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/810841/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/810841/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=\"GLFVYXwu\"; dkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xnm1v3cMpz9s7c\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu,  7 Sep 2017 13:21:07 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid 2D2FDC21E14; Thu,  7 Sep 2017 03:21:02 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 12BAAC21C6D;\n\tThu,  7 Sep 2017 03:21:00 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid 0EA97C21C6D; Thu,  7 Sep 2017 03:20:59 +0000 (UTC)","from mail-pg0-f65.google.com (mail-pg0-f65.google.com\n\t[74.125.83.65])\n\tby lists.denx.de (Postfix) with ESMTPS id 61697C21C57\n\tfor <u-boot@lists.denx.de>; Thu,  7 Sep 2017 03:20:58 +0000 (UTC)","by mail-pg0-f65.google.com with SMTP id v82so3754436pgb.1\n\tfor <u-boot@lists.denx.de>; Wed, 06 Sep 2017 20:20:58 -0700 (PDT)","from localhost.localdomain ([103.29.142.67])\n\tby smtp.gmail.com with ESMTPSA id\n\ta18sm1282103pgd.57.2017.09.06.20.20.54\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tWed, 06 Sep 2017 20:20:56 -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_H3, RCVD_IN_MSPIKE_WL,\n\tT_DKIM_INVALID autolearn=unavailable\n\tautolearn_force=no version=3.4.0","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=sender:from:to:cc:subject:date:message-id;\n\tbh=LO8TOPZ2qf+Yzh41d3Y0hFpdBT+7Y7Q/u3qeDcCr5Bc=;\n\tb=GLFVYXwulXF7A31aWOOhPYgBF0SycCKKgLZy1Y910hU0zqZ9mj0pp8cBXB5ji9SV1R\n\tPh1aff9KC48bzpR+06esiJT5Ey1HmuerkpBpBwClKTziZCGSmxbnT/gPrHwS3ZwtHiXy\n\tpggDcx9dFca+vxXIW+vMOcL9HnWFxmMaUbM+8odd7qxtRtwpgU8VxaKhrmB01kVTdhik\n\tzY0SB9qAJkwraHqpvls1zkPP0e5Y3BvWB9Pj5+/AktpaGZh+Kgf5Q2DiQpiLGD2QWc5W\n\t/b1VLQTZ/4NVinnJapKWXOgl/DTonF/a5YgmPzcLXgjunlHg/IUOkd506LpxFEvn6BsW\n\tkSmQ==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:sender:from:to:cc:subject:date:message-id;\n\tbh=LO8TOPZ2qf+Yzh41d3Y0hFpdBT+7Y7Q/u3qeDcCr5Bc=;\n\tb=IM+twnptiMquPjJRbZia0o96H1rZgC7AkrKZoylY1EkIqYuaGv+g1Ae2oDldf8aeJi\n\t/3Fvg6qbk+QeVR87j6f7yWa0/+uFiuGXHVGGn8lER7tjphJPCAXQz9mPf6HxITESJKWa\n\tcC2s/VC15Pq4Nf4HAyfAdDiaqPOmYvCgIes4XF5116G15OOA40II1v3wSRKmc57bmiUL\n\th0L/a/LVBGYCoG4Qu3FYqJnLAY65wI9IAJ3c1GvT72wcUUnzd/N+wc+/qAI05PH9Odea\n\t2jtyLgc8PREM3VCmM0HX1RgJgEfj97N7w/W77IeQZwuocbMU6JL0CUfxsx82KjVdb012\n\tEG/w==","X-Gm-Message-State":"AHPjjUjDLq9dSza1GrK56wj9E2oi46VyIbujBVuYAjZKCgAFbG7r8kRk\n\tJ7L53hr2m3A4oWuc","X-Google-Smtp-Source":"ADKCNb6yWBnLnn+U0Y3fG79WAm1xqN9ojGOZKvilZS3kZCjhnDn6G8Tq6lootx7K8Oirke+dy8mMtA==","X-Received":"by 10.98.13.81 with SMTP id v78mr1301002pfi.61.1504754456815;\n\tWed, 06 Sep 2017 20:20:56 -0700 (PDT)","From":"Kever Yang <kever.yang@rock-chips.com>","To":"u-boot@lists.denx.de","Date":"Thu,  7 Sep 2017 11:20:50 +0800","Message-Id":"<1504754451-30534-1-git-send-email-kever.yang@rock-chips.com>","X-Mailer":"git-send-email 1.9.1","Subject":"[U-Boot] [PATCH 1/2] rockchip: sdhci: update reg map for of-platdata","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":"After Simon's patch, the dtoc can work with 64bit address,\nso we need to fix reg number for it.\nDepend on Simon's patch set:\nhttps://patchwork.ozlabs.org/cover/807266/\n\nSigned-off-by: Kever Yang <kever.yang@rock-chips.com>\n---\n\n drivers/mmc/rockchip_sdhci.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)","diff":"diff --git a/drivers/mmc/rockchip_sdhci.c b/drivers/mmc/rockchip_sdhci.c\nindex fd3bb10..a05a422 100644\n--- a/drivers/mmc/rockchip_sdhci.c\n+++ b/drivers/mmc/rockchip_sdhci.c\n@@ -187,7 +187,7 @@ static int arasan_sdhci_probe(struct udevice *dev)\n \tstruct dtd_rockchip_rk3399_sdhci_5_1 *dtplat = &plat->dtplat;\n \n \thost->name = dev->name;\n-\thost->ioaddr = map_sysmem(dtplat->reg[1], dtplat->reg[3]);\n+\thost->ioaddr = map_sysmem(dtplat->reg[0], dtplat->reg[1]);\n \thost->host_caps |= MMC_MODE_8BIT;\n \tmax_frequency = dtplat->max_frequency;\n \tret = clk_get_by_index_platdata(dev, 0, dtplat->clocks, &clk);\n","prefixes":["U-Boot","1/2"]}