From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joe Hershberger Date: Mon, 11 Sep 2017 14:34:53 -0500 Subject: [U-Boot] [PATCH v2 06/19] net: phy: micrel: Convert to livetree In-Reply-To: <1505121512-23283-7-git-send-email-philipp.tomsich@theobroma-systems.com> References: <1505121512-23283-1-git-send-email-philipp.tomsich@theobroma-systems.com> <1505121512-23283-7-git-send-email-philipp.tomsich@theobroma-systems.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, Sep 11, 2017 at 4:18 AM, Philipp Tomsich wrote: > Update the Micrel KSZ90x1 driver for a live tree. > > Signed-off-by: Philipp Tomsich You seem to not have included my Acked-by tags in the new version. -Joe > --- > > Changes in v2: None > > drivers/net/phy/micrel_ksz90x1.c | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) > > diff --git a/drivers/net/phy/micrel_ksz90x1.c b/drivers/net/phy/micrel_ksz90x1.c > index 0bb99e6..b350a61 100644 > --- a/drivers/net/phy/micrel_ksz90x1.c > +++ b/drivers/net/phy/micrel_ksz90x1.c > @@ -9,11 +9,11 @@ > * (C) Copyright 2017 Adaptrum, Inc. > * Written by Alexandru Gagniuc for Adaptrum, Inc. > */ > + > #include > #include > #include > #include > -#include > #include > #include > > @@ -120,8 +120,7 @@ static int ksz90x1_of_config_group(struct phy_device *phydev, > return -EOPNOTSUPP; > > for (i = 0; i < ofcfg->grpsz; i++) { > - val[i] = fdtdec_get_uint(gd->fdt_blob, dev_of_offset(dev), > - ofcfg->grp[i].name, -1); > + val[i] = dev_read_u32_default(dev, ofcfg->grp[i].name, ~0); > offset = ofcfg->grp[i].off; > if (val[i] == -1) { > /* Default register value for KSZ9021 */ > -- > 2.1.4 > > _______________________________________________ > U-Boot mailing list > U-Boot at lists.denx.de > https://lists.denx.de/listinfo/u-boot