Re: [U-Boot] [PATCH v2 12/14] net: gem: Move driver to DM

2015-12-03 Thread Simon Glass
Hi Michal, On 2 December 2015 at 22:00, Bin Meng wrote: > Hi Michal, > > On Wed, Dec 2, 2015 at 9:51 PM, Michal Simek wrote: >> On 2.12.2015 14:16, Bin Meng wrote: >>> Hi Michal, >>> >>> On Wed, Dec 2, 2015 at 7:36 PM, Michal Simek >>> wrote: >> >> ... >> + + offset = fdtdec_lo

Re: [U-Boot] [PATCH v2 12/14] net: gem: Move driver to DM

2015-12-02 Thread Bin Meng
Hi Michal, On Wed, Dec 2, 2015 at 9:51 PM, Michal Simek wrote: > On 2.12.2015 14:16, Bin Meng wrote: >> Hi Michal, >> >> On Wed, Dec 2, 2015 at 7:36 PM, Michal Simek wrote: > > ... > >>> + >>> + offset = fdtdec_lookup_phandle(gd->fdt_blob, dev->of_offset, >>> +

Re: [U-Boot] [PATCH v2 12/14] net: gem: Move driver to DM

2015-12-02 Thread Michal Simek
On 2.12.2015 14:16, Bin Meng wrote: > Hi Michal, > > On Wed, Dec 2, 2015 at 7:36 PM, Michal Simek wrote: ... >> + >> + offset = fdtdec_lookup_phandle(gd->fdt_blob, dev->of_offset, >> + "phy-handle"); >> + if (offset > 0) >> + priv->

Re: [U-Boot] [PATCH v2 12/14] net: gem: Move driver to DM

2015-12-02 Thread Bin Meng
Hi Michal, On Wed, Dec 2, 2015 at 7:36 PM, Michal Simek wrote: > - Enable DM_ETH by default for Zynq and ZynqMP > - Remove board_eth_init code > - Change miiphy_read function to return value instead of error code > based on DM requirement > - Do not enable EMIO DT support by default > > Signed-

[U-Boot] [PATCH v2 12/14] net: gem: Move driver to DM

2015-12-02 Thread Michal Simek
- Enable DM_ETH by default for Zynq and ZynqMP - Remove board_eth_init code - Change miiphy_read function to return value instead of error code based on DM requirement - Do not enable EMIO DT support by default Signed-off-by: Michal Simek --- Changes in v2: - Remove accidentially added mmc cod