{"id":812272,"url":"http://patchwork.ozlabs.org/api/patches/812272/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/patch/1505121512-23283-7-git-send-email-philipp.tomsich@theobroma-systems.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":"<1505121512-23283-7-git-send-email-philipp.tomsich@theobroma-systems.com>","list_archive_url":null,"date":"2017-09-11T09:18:12","name":"[U-Boot,v2,06/19] net: phy: micrel: Convert to livetree","commit_ref":null,"pull_url":null,"state":"superseded","archived":false,"hash":"34700a7a2814c56c078e2ed4fbead4ccf8e52208","submitter":{"id":53488,"url":"http://patchwork.ozlabs.org/api/people/53488/?format=json","name":"Philipp Tomsich","email":"philipp.tomsich@theobroma-systems.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/1505121512-23283-7-git-send-email-philipp.tomsich@theobroma-systems.com/mbox/","series":[{"id":2462,"url":"http://patchwork.ozlabs.org/api/series/2462/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/list/?series=2462","date":"2017-09-11T09:18:08","name":"rockchip: convert the RK3368 to OF_LIVE and validate on the RK3368-uQ7","version":2,"mbox":"http://patchwork.ozlabs.org/series/2462/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/812272/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/812272/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>)","Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xrMxR3Kmxz9s75\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon, 11 Sep 2017 19:26:19 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid 16ED3C21DC5; Mon, 11 Sep 2017 09:20:50 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 3E5BDC21EF3;\n\tMon, 11 Sep 2017 09:19:04 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid 4A175C21F0B; Mon, 11 Sep 2017 09:18:56 +0000 (UTC)","from mail.theobroma-systems.com (vegas.theobroma-systems.com\n\t[144.76.126.164])\n\tby lists.denx.de (Postfix) with ESMTPS id A4771C21D82\n\tfor <u-boot@lists.denx.de>; Mon, 11 Sep 2017 09:18:51 +0000 (UTC)","from [86.59.122.178] (port=58983 helo=android.lan)\n\tby mail.theobroma-systems.com with esmtpsa\n\t(TLS1.2:RSA_AES_128_CBC_SHA256:128)\n\t(Exim 4.80) (envelope-from <philipp.tomsich@theobroma-systems.com>)\n\tid 1drKrh-00016d-G4; Mon, 11 Sep 2017 11:18:49 +0200"],"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=none autolearn=unavailable\n\tautolearn_force=no version=3.4.0","From":"Philipp Tomsich <philipp.tomsich@theobroma-systems.com>","To":"u-boot@lists.denx.de","Date":"Mon, 11 Sep 2017 11:18:12 +0200","Message-Id":"<1505121512-23283-7-git-send-email-philipp.tomsich@theobroma-systems.com>","X-Mailer":"git-send-email 2.1.4","In-Reply-To":"<1505121512-23283-1-git-send-email-philipp.tomsich@theobroma-systems.com>","References":"<1505121512-23283-1-git-send-email-philipp.tomsich@theobroma-systems.com>","Cc":"Marek Vasut <marex@denx.de>, Alexandru Gagniuc <alex.g@adaptrum.com>,\n\tJoe Hershberger <joe.hershberger@ni.com>,\n\tKlaus Goger <klaus.goger@theobroma-systems.com>,\n\tSebastien Bourdelin <sebastien.bourdelin@savoirfairelinux.com>","Subject":"[U-Boot] [PATCH v2 06/19] net: phy: micrel: Convert to livetree","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 the Micrel KSZ90x1 driver for a live tree.\n\nSigned-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>\n---\n\nChanges in v2: None\n\n drivers/net/phy/micrel_ksz90x1.c | 5 ++---\n 1 file changed, 2 insertions(+), 3 deletions(-)","diff":"diff --git a/drivers/net/phy/micrel_ksz90x1.c b/drivers/net/phy/micrel_ksz90x1.c\nindex 0bb99e6..b350a61 100644\n--- a/drivers/net/phy/micrel_ksz90x1.c\n+++ b/drivers/net/phy/micrel_ksz90x1.c\n@@ -9,11 +9,11 @@\n  * (C) Copyright 2017 Adaptrum, Inc.\n  * Written by Alexandru Gagniuc <alex.g@adaptrum.com> for Adaptrum, Inc.\n  */\n+\n #include <config.h>\n #include <common.h>\n #include <dm.h>\n #include <errno.h>\n-#include <fdtdec.h>\n #include <micrel.h>\n #include <phy.h>\n \n@@ -120,8 +120,7 @@ static int ksz90x1_of_config_group(struct phy_device *phydev,\n \t\treturn -EOPNOTSUPP;\n \n \tfor (i = 0; i < ofcfg->grpsz; i++) {\n-\t\tval[i] = fdtdec_get_uint(gd->fdt_blob, dev_of_offset(dev),\n-\t\t\t\t\t ofcfg->grp[i].name, -1);\n+\t\tval[i] = dev_read_u32_default(dev, ofcfg->grp[i].name, ~0);\n \t\toffset = ofcfg->grp[i].off;\n \t\tif (val[i] == -1) {\n \t\t\t/* Default register value for KSZ9021 */\n","prefixes":["U-Boot","v2","06/19"]}