Re: [U-Boot] net: sandbox: Add a priv ptr for tests to use

2018-10-11 Thread Joe Hershberger
Hi Joe, https://patchwork.ozlabs.org/patch/975419/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: sandbox: Share the priv structure with tests

2018-10-11 Thread Joe Hershberger
Hi Joe, https://patchwork.ozlabs.org/patch/975409/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: phy: ti: Recover from "port mirroring" N/A MODE4

2018-10-11 Thread Joe Hershberger
Hi Janine, https://patchwork.ozlabs.org/patch/962746/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] phy: Add 25G_AUI, XLAUI, CAUI2, CAUI4 related macros

2018-10-11 Thread Joe Hershberger
Hi Priyanka, https://patchwork.ozlabs.org/patch/962408/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net.h: Include linux/if_ether.h to avoid duplication

2018-10-11 Thread Joe Hershberger
Hi Bin, https://patchwork.ozlabs.org/patch/951500/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] linux/mii.h: Sync with Linux kernel v4.17

2018-10-11 Thread Joe Hershberger
Hi Bin, https://patchwork.ozlabs.org/patch/949572/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] linux/compat.h: Add netdev_### log macros

2018-10-11 Thread Joe Hershberger
Hi Bin, https://patchwork.ozlabs.org/patch/949577/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] linux/mdio.h: Sync with Linux kernel v4.17

2018-10-11 Thread Joe Hershberger
Hi Bin, https://patchwork.ozlabs.org/patch/949573/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

[U-Boot] Pull request: u-boot-net.git master

2018-10-11 Thread Joe Hershberger
ti: Add binding for the CLK_OUT pin muxing Joe Hershberger (10): net: sandbox: Move disabled flag into priv struct net: sandbox: Refactor sandbox send function net: sandbox: Make the fake eth driver response configurable net: sandbox: Share the priv structure with tests

Re: [U-Boot] [PATCH] net: e1000: support 'write_hwaddr' in DM

2018-10-10 Thread Joe Hershberger
On Thu, Oct 11, 2018 at 12:43 AM Hannes Schmelzer wrote: > > This commit ports the existing (non-DM) function for writing the MAC- > address into the shadow ram (and flash) for DM. > > Signed-off-by: Hannes Schmelzer Acked-by: Joe Hershberger __

Re: [U-Boot] [PATCH] net/phy: Add phy-id for IN112525_S03

2018-10-10 Thread Joe Hershberger
On Wed, Oct 10, 2018 at 11:47 PM Priyanka Jain wrote: > > Signed-off-by: Priyanka Jain Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH] net/phy: Add phy-id for IN112525_S03

2018-10-10 Thread Joe Hershberger
On Wed, Oct 10, 2018 at 11:47 PM Priyanka Jain wrote: > > Signed-off-by: Priyanka Jain > --- > include/phy.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/include/phy.h b/include/phy.h > index 52bf997..ef5ca7e 100644 > --- a/include/phy.h > +++ b/include/phy.h > @@ -315,5 +315,6 @@ st

Re: [U-Boot] [PATCH v3 2/6] driver: net: fsl-mc: remove unused strcture elements

2018-10-10 Thread Joe Hershberger
On Wed, Oct 10, 2018 at 12:11 AM Pankaj Bansal wrote: > > Hi Joe, > > > -Original Message----- > > From: Joe Hershberger [mailto:joe.hershber...@ni.com] > > Sent: Wednesday, October 10, 2018 9:29 AM > > To: Pankaj Bansal > > Cc: Joseph Hershberger ; u-

Re: [U-Boot] [PATCH v3 2/6] driver: net: fsl-mc: remove unused strcture elements

2018-10-09 Thread Joe Hershberger
ppropriate to keep phydev in wriop_dpmac_info. > > Also phy_regs is not being used, therefore remove it > > Signed-off-by: Pankaj Bansal > Acked-by: Joe Hershberger > --- > > Notes: > V3: > - No change Please be sure you are running scripts/checkpatch.pl on

Re: [U-Boot] [PATCH v2 6/6] driver: net: fsl-mc: Add support of multiple phys for dpmac

2018-10-09 Thread Joe Hershberger
On Mon, Jul 30, 2018 at 2:48 AM Pankaj Bansal wrote: > > Till now we have had cases where we had one phy device per dpmac. > Now, with the upcoming products (LX2160AQDS), we have cases, where there > are sometimes two phy devices for one dpmac. One phy for TX lanes and > one phy for RX lanes. to h

Re: [U-Boot] [PATCH v2 1/7] net: Remove the Faraday ftgmac100 controller driver

2018-10-09 Thread Joe Hershberger
On Tue, Oct 9, 2018 at 4:10 PM Cédric Le Goater wrote: > > Hello Joe, > > On 10/9/18 10:44 PM, Joe Hershberger wrote: > > On Tue, Oct 9, 2018 at 11:20 AM Simon Glass wrote: > >> > >> Hi Cedric, > >> > >> On 2 October 2018 at 09:48, Cédric L

Re: [U-Boot] [PATCH v2 1/7] net: Remove the Faraday ftgmac100 controller driver

2018-10-09 Thread Joe Hershberger
On Tue, Oct 9, 2018 at 11:20 AM Simon Glass wrote: > > Hi Cedric, > > On 2 October 2018 at 09:48, Cédric Le Goater wrote: > > On 10/2/18 1:22 PM, Simon Glass wrote: > >> On 1 October 2018 at 01:53, Cédric Le Goater wrote: > >>> There are too many changes in the following patch fixing support for

Re: [U-Boot] [PATCH] linux/compat.h: Add netdev_### log macros

2018-10-09 Thread Joe Hershberger
On Sun, Oct 7, 2018 at 7:53 AM Bin Meng wrote: > > Hi Joe, > > On Sat, Sep 15, 2018 at 4:37 AM Joe Hershberger > wrote: > > > > Hi Bin, > > On Tue, Sep 11, 2018 at 5:07 AM Bin Meng wrote: > > > > > > Hi Joe, > > > > &g

Re: [U-Boot] [PATCH 00/10] net: fec: Code Improvement/cleanups

2018-10-09 Thread Joe Hershberger
Hi Jagan, On Mon, Jul 30, 2018 at 7:46 AM Jagan Teki wrote: > > dm code in fec_mxc has some quite few issues with mdio handling > and the dm vs non-dm code in fec_mxc looks very uncomfortable > to read and add new support. > > This series is trying to fixe all necessary issues regarding fec_mxc,

Re: [U-Boot] [PATCH v4 3/3] net: phy: ti: Add binding for the CLK_OUT pin muxing

2018-10-08 Thread Joe Hershberger
y: dp83867: Add binding for > the CLK_OUT pin muxing option") of mainline linux kernel. > > Signed-off-by: Janine Hagemann Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] Errors when starting sandbox

2018-10-01 Thread Joe Hershberger
On Mon, Oct 1, 2018 at 4:27 PM, Simon Glass wrote: > Hi Joe, > > On 1 October 2018 at 15:14, Joe Hershberger wrote: >> >> Hi Simon, >> >> On Mon, Oct 1, 2018 at 12:32 PM, Simon Glass wrote: >> > Hi Joe, >> > >> > When I start sandbox n

Re: [U-Boot] Errors when starting sandbox

2018-10-01 Thread Joe Hershberger
Hi Simon, On Mon, Oct 1, 2018 at 12:32 PM, Simon Glass wrote: > Hi Joe, > > When I start sandbox now I see these errors every time. It is possible > to fix this? > > $ u-boot -D > ... > Warning: host_lo MAC addresses don't match: > Address in ROM is ea:06:97:67:f4:b6 > Address in environ

Re: [U-Boot] [PATCH] net: zynq_gem: Add support for fixed-link phy

2018-09-26 Thread Joe Hershberger
On Wed, Sep 26, 2018 at 3:14 AM, Michal Simek wrote: > Based on dt-specs fixed-link doesn't require phy-handle to be used. > Fix driver to only read phy related setting when phy-handle is found. > > Signed-off-by: Michal Simek Acked-by

Re: [U-Boot] [PATCH 17/22] sandbox: Allow puts() output before global_data is set up

2018-09-26 Thread Joe Hershberger
his by adding a special case into > puts() for sandbox, just like putc(). > > Signed-off-by: Simon Glass Reviewed-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH 19/22] sandbox: Use malloc() and free() from os layer

2018-09-26 Thread Joe Hershberger
main U-Boot code. > > Fix this by replacing calls with malloc() to os_malloc(), etc. > > Signed-off-by: Simon Glass > --- Reviewed-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

[U-Boot] [PATCH v2 00/10] net: Fix packet corruption issue when handling asynch replies

2018-09-26 Thread Joe Hershberger
variable - add missing commit message - check the return of the injection handler and pass on overflow error - rename local "uc_priv" variable to "dev_priv" to not be misleading. - return an error instead of 0 / 1 - return bool instead of int Joe Hershberger (10): net: sandbox:

[U-Boot] [PATCH v2 10/10] net: Don't overwrite waiting packets with asynchronous replies

2018-09-26 Thread Joe Hershberger
packet will be > lost. This instead uses the ARP tx buffer to send async replies in the case where we are actively waiting for an ARP reply. Signed-off-by: Joe Hershberger Reported-by: Tran Tien Dat Reviewed-by: Simon Glass Reviewed-by: Bin Meng Tested-by: Bin Meng --- Changes in v2: None

[U-Boot] [PATCH v2 02/10] net: sandbox: Refactor sandbox send function

2018-09-26 Thread Joe Hershberger
Make the behavior of the send function reusable. Signed-off-by: Joe Hershberger --- Changes in v2: - Added parameter comments - Changed return value to use typical error approach - In test, stop calling reply functions when one matches arch/sandbox/include/asm/eth.h | 26 ++ drivers/net

[U-Boot] [PATCH v2 07/10] net: sandbox: Add a priv ptr for tests to use

2018-09-26 Thread Joe Hershberger
Tests need to be able to pass their "unit test state" to the handlers where asserts are evaluated. Add a function that allows the tests to set this private data on the sandbox eth device. Signed-off-by: Joe Hershberger --- Changes in v2: - add missing commit message - rename loca

[U-Boot] [PATCH v2 06/10] net: Add an accessor to know if waiting for ARP

2018-09-26 Thread Joe Hershberger
This single-sources the state of the ARP. Signed-off-by: Joe Hershberger Reviewed-by: Simon Glass --- Changes in v2: - return bool instead of int include/net.h | 1 + net/arp.c | 11 --- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/include/net.h b/include

[U-Boot] [PATCH v2 05/10] net: sandbox: Allow fake eth to handle more than 1 packet response

2018-09-26 Thread Joe Hershberger
Use up to the max allocated receive buffers so as to be able to test more complex situations. Signed-off-by: Joe Hershberger Reviewed-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v2: None arch/sandbox/include/asm/eth.h | 10 +--- drivers/net/sandbox.c | 57

[U-Boot] [PATCH v2 08/10] test: eth: Add a test for ARP requests

2018-09-26 Thread Joe Hershberger
ng to communicate with. In the test, add an expectation that the user operation (ping, in this case) will fail. A later patch will address this problem. Signed-off-by: Joe Hershberger Reviewed-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v2: - add comments as to the use of the uts var

[U-Boot] [PATCH v2 01/10] net: sandbox: Move disabled flag into priv struct

2018-09-26 Thread Joe Hershberger
Store the per-device data with the device. Signed-off-by: Joe Hershberger Reviewed-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v2: None drivers/net/sandbox.c | 18 ++ 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/drivers/net/sandbox.c b/drivers/net

[U-Boot] [PATCH v2 09/10] test: eth: Add a test for the target being pinged

2018-09-26 Thread Joe Hershberger
the test, add an expectation that the user operation (ping, in this case) will fail. A later patch will address this problem. Signed-off-by: Joe Hershberger Reviewed-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v2: - add comments as to the use of the uts variable - check the return of

[U-Boot] [PATCH v2 04/10] net: sandbox: Share the priv structure with tests

2018-09-26 Thread Joe Hershberger
If tests want to implement tx handlers, they will likely need access to the details in the priv structure. Signed-off-by: Joe Hershberger Reviewed-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v2: None arch/sandbox/include/asm/eth.h | 19 +++ drivers/net/sandbox.c

[U-Boot] [PATCH v2 03/10] net: sandbox: Make the fake eth driver response configurable

2018-09-26 Thread Joe Hershberger
Make the send handler registerable so tests can check for different things. Signed-off-by: Joe Hershberger Reviewed-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v2: None arch/sandbox/include/asm/eth.h | 17 + drivers/net/sandbox.c | 55

Re: [U-Boot] [PATCH 1/3] net: designware: socfpga: Add Arria10 extras

2018-09-19 Thread Joe Hershberger
Cc: Dinh Nguyen > Cc: Ley Foon Tan > Cc: Joe Hershberger Looks good, but can you add something in doc/device-tree-bindings? Acked-by: Joe Hershberger > --- > NOTE: This driver is not enabled on Gen5 or Stratix10 as the > implementation for its specifics is missing thus f

Re: [U-Boot] [PATCH v12 1/3] Consolidating UDP header functions.

2018-09-19 Thread Joe Hershberger
On Wed, Sep 19, 2018 at 2:24 PM, Duncan Hare wrote: > >>On Sun, Jun 24, 2018 at 5:40 PM, wrote:. >>From: Duncan Hare >> >>> To make it possible to add TCP versions of the same, while reusing >>> IP portions. This patch should not change any behavior. >>> >>> All references to TCP removed >>> Use

Re: [U-Boot] [PATCH v12 1/3] Consolidating UDP header functions.

2018-09-19 Thread Joe Hershberger
On Sun, Jun 24, 2018 at 5:40 PM, wrote: > From: Duncan Hare > > To make it possible to add TCP versions of the same, while reusing > IP portions. This patch should not change any behavior. > > All references to TCP removed > Used most recent version of u-boot June 22 13, 2918 > Series to fix pat

Re: [U-Boot] [PATCH] net: macb: Clean 64b dma addresses if they are not detected

2018-09-19 Thread Joe Hershberger
bling 64bit dma support > by default. Then macb driver is reading DMACFG register back and only > adding 64bit dma configuration but not cleaning it out. > > This is also align with other features which are also cleared if they are not > present. > > Signed-off-by: Mich

Re: [U-Boot] [PATCH] net: Fix potential tx packet corruption by response to ARP request

2018-09-18 Thread Joe Hershberger
On Tue, Sep 18, 2018 at 8:16 AM Bin Meng wrote: > > At present the response to ARP request is copied to the transmit > packet buffer ('net_tx_packet') and sent out. This won't fail on > most cases, but unfortunately is potentially broken under certain > circumstances. > > For example, considering

Re: [U-Boot] [PATCH] linux/compat.h: Add netdev_### log macros

2018-09-14 Thread Joe Hershberger
Hi Bin, On Tue, Sep 11, 2018 at 5:07 AM Bin Meng wrote: > > Hi Joe, > > On Fri, Jul 27, 2018 at 2:52 AM Joe Hershberger > wrote: > > > > On Thu, Jul 26, 2018 at 5:15 AM, Bin Meng wrote: > > > Currently there are two ethernet drivers (mvneta.c and mv

Re: [U-Boot] [PATCH] phy: Add 25G_AUI, XLAUI, CAUI2, CAUI4 related macros

2018-09-13 Thread Joe Hershberger
On Mon, Aug 27, 2018 at 4:47 AM Priyanka Jain wrote: > > NXP SoCs like LX2160A can support new ethernet modes > which are 25G_AUI(25G), XLAUI(40G), CAUI2(50G) > and CAUI4(100G) > Add corresponding macros definitions in phy_interface.h > > Signed-off-by: Priyanka Jain Acke

Re: [U-Boot] [PATCH] net: zynq_gem: Fix reading of max-speed property

2018-09-04 Thread Joe Hershberger
On Tue, Sep 4, 2018 at 8:39 AM Siva Durga Prasad Paladugu wrote: > > max-speed property is part of phynode and it has to be > read using ofnode_read_u32_default(). This fixes the issue > of incorrect max-speed read from DT. > > Signed-off-by: Siva Durga Prasad Paladugu Acked-b

Re: [U-Boot] [v2 patch] net: fman: Support both new and legacy FMan Compatibles

2018-08-06 Thread Joe Hershberger
rnel: > version 3.18.0 > commit 297d35fd2a7d3fbd4e5c0f0c1c18213117ba11ba > ./Documentation/devicetree/bindings/powerpc/fsl/fman.txt > > This patch doesn't affect legacy compatibles support. > > Signed-off-by: Zhao Qiang Acked-by: Joe Hershberger _

Re: [U-Boot] [PATCH] net: fman: Support both new and legacy FMan Compatibles

2018-08-02 Thread Joe Hershberger
On Wed, Aug 1, 2018 at 4:48 AM, Zhao Qiang wrote: > Recently the FMan Port and MAC compatibles were changed. > This patch aligns the FMan Port and MAC compatibles > to the new FMan device tree binding document. > The FMan device tree binding document can be found in the Linux > kernel: > ./Docume

Re: [U-Boot] [PATCH v2 3/3] linux/if_ether.h: Add VLAN related macros

2018-08-02 Thread Joe Hershberger
t's include/linux/if_ether.h. > > Signed-off-by: Bin Meng Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH v2 2/3] net.h: Include linux/if_ether.h to avoid duplication

2018-08-02 Thread Joe Hershberger
On Tue, Jul 31, 2018 at 4:55 AM, Bin Meng wrote: > There are plenty of existing drivers that have macros like ETH_ALEN > defined in their own source files. Now that we imported the kernel's > if_ether.h to U-Boot we can reduce some duplication. > > Signed-off-by: Bin

Re: [U-Boot] [PATCH v2 1/3] linux/if_ether.h: Initial import from Linux kernel v4.17

2018-08-02 Thread Joe Hershberger
t; > Signed-off-by: Bin Meng Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH 0/2] Ethernet name length changes

2018-08-02 Thread Joe Hershberger
On Thu, Aug 2, 2018 at 6:01 AM, Pankaj Bansal wrote: > The ethernet name should be within the ETH_NAME_LEN, as this > is the buffer space allocated to ethernet name. > > Otherwise, this causes buffer overflow. > > At the same time the 16 char ethernet name size is inadequate to hold the > name of

Re: [U-Boot] [PATCH] dm: Fix CMD_DM enabling

2018-07-31 Thread Joe Hershberger
Signed-off-by: Michal Simek Reviewed-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH 8/8] configs: icorem6_rqs: Enable CLK_IMX

2018-07-30 Thread Joe Hershberger
On Mon, Jul 30, 2018 at 7:56 AM, Jagan Teki wrote: > CLK support for imx6qdl is available, so enable > CLK_IMX for Engicam i.CoreM6 QDL RQS boards. > > Signed-off-by: Jagan Teki Reviewed-by: Joe Hershberger ___ U-Boot mailing

Re: [U-Boot] [PATCH 7/8] imx6ul: engicam: Enable CLK_IMX

2018-07-30 Thread Joe Hershberger
On Mon, Jul 30, 2018 at 7:56 AM, Jagan Teki wrote: > CLK support for imx6ul is available, so enable > CLK_IMX for Engicam i.MX6UL boards. > > Signed-off-by: Jagan Teki Reviewed-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.d

Re: [U-Boot] [PATCH 5/8] clk: Add generic_clk_valid

2018-07-30 Thread Joe Hershberger
On Mon, Jul 30, 2018 at 7:56 AM, Jagan Teki wrote: > Add clock validate function for validating > specific clock to do further clock operations. > > Signed-off-by: Jagan Teki > Reviewed-by: Simon Glass Reviewed-by: Joe Hershberger ___

Re: [U-Boot] [PATCH 2/8] clk: Add DM CLK driver template for i.MX6QDL

2018-07-30 Thread Joe Hershberger
On Mon, Jul 30, 2018 at 7:56 AM, Jagan Teki wrote: > Add DM CLK driver for iMX6QDL platform. > - basic template for clk_imx6qdl.c > - Kconfig support > > Signed-off-by: Jagan Teki Reviewed-by: Joe Hershberger ___ U-Boot mail

Re: [U-Boot] [PATCH 1/8] clk: Kconfig: Ascending order to sub directiory kconfigs

2018-07-30 Thread Joe Hershberger
On Mon, Jul 30, 2018 at 7:56 AM, Jagan Teki wrote: > sourcing of sub directiory kconfig files are not in > proper order, so keep them in ascending order. > > Signed-off-by: Jagan Teki Reviewed-by: Joe Hershberger ___ U-Boot mailing

Re: [U-Boot] [PATCH 08/10] dm: net: fec: Refactor mdio_init code

2018-07-30 Thread Joe Hershberger
code, to make common ops for dm and non-dm. > > Signed-off-by: Jagan Teki Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH 10/10] net: fec: Setup common eth_ops code for dm and non-dm

2018-07-30 Thread Joe Hershberger
On Mon, Jul 30, 2018 at 7:45 AM, Jagan Teki wrote: > Setting up common code for dm and non-dm will easy and > understandable for adding new features, debugging in > both the code area. > > Signed-off-by: Jagan Teki Acked-by: Joe Hershberger __

Re: [U-Boot] [PATCH 09/10] dm: net: fec: Add support for PHY reset

2018-07-30 Thread Joe Hershberger
On Mon, Jul 30, 2018 at 7:45 AM, Jagan Teki wrote: > Add PHY reset code for DM_ETH by retrieving phy-reset-gpios > and phy-reset-duration in fec node. > > Signed-off-by: Jagan Teki Acked-by: Joe Hershberger ___ U-Boot mailing

Re: [U-Boot] [PATCH 07/10] dm: net: fec: Move enet init in fec_enet

2018-07-30 Thread Joe Hershberger
On Mon, Jul 30, 2018 at 7:45 AM, Jagan Teki wrote: > Move enet initialization code in fec_enet function, > no functional changes. > > Signed-off-by: Jagan Teki Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.d

Re: [U-Boot] [PATCH 06/10] net: fec_mxc: Use udevice to retrive priv, in fec_phy_init

2018-07-30 Thread Joe Hershberger
On Mon, Jul 30, 2018 at 7:45 AM, Jagan Teki wrote: > Retrive priv via udevice using dev_get_priv, so just > pass udevice pointer. > > Signed-off-by: Jagan Teki Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.d

Re: [U-Boot] [PATCH 05/10] net: fec: Use PHY_ADDR instead of FEC_MXC_PHYADDR

2018-07-30 Thread Joe Hershberger
On Mon, Jul 30, 2018 at 7:45 AM, Jagan Teki wrote: > - use PHY_ADDR_ENABLE and PHY_ADDR > - few boards are using FEC_MXC_PHYADDR without PHYLIB > enable the same. > > Signed-off-by: Jagan Teki Acked-by: Joe Hershberger ___ U-Boot

Re: [U-Boot] [PATCH 04/10] net: fec: Add default CONFIG_FEC_MXC_PHYADDR for few boards

2018-07-30 Thread Joe Hershberger
gt; > Cc: Ye Li > Cc: Jason Liu > Cc: Lauri Hintsala > Signed-off-by: Jagan Teki Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH 03/10] net: fec: Use PHY_INTERFACE_MODE_ for xcv_type

2018-07-30 Thread Joe Hershberger
Hi Jagan, On Mon, Jul 30, 2018 at 7:45 AM, Jagan Teki wrote: > Use existing PHY_INTERFACE_MODE_ for xcv_type, this eventually > - remove CONFIG_FEC_XCV_TYPE in DM_ETH boards since the phy interface > is grabbing from DT phy-mode. > - prefix PHY_INTERFACE_MODE_ for CONFIG_FEC_XCV_TYPE in non DM_

Re: [U-Boot] [PATCH] Convert CONFIG_MII et al to Kconfig

2018-07-30 Thread Joe Hershberger
On Fri, Jul 20, 2018 at 11:03 PM, Adam Ford wrote: > This converts the following to Kconfig: >CONFIG_MII >CONFIG_DRIVER_TI_EMAC > > Signed-off-by: Adam Ford Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@list

Re: [U-Boot] [PATCH 01/10] configs: Drop imx27lite-common.h

2018-07-30 Thread Joe Hershberger
On Mon, Jul 30, 2018 at 7:45 AM, Jagan Teki wrote: > This file not used by any config file, hence droped. > > Cc: Adam Ford > Signed-off-by: Jagan Teki Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de https://l

Re: [U-Boot] [PATCH v2 6/6] driver: net: fsl-mc: Add support of multiple phys for dpmac

2018-07-30 Thread Joe Hershberger
dpmac. one operates at 10G without > autoneg and other operate at 1G with autoneg. Then the ethernet interface > will operate at 1G without autoneg. > > Signed-off-by: Pankaj Bansal Acked-by: Joe Hershberger ___ U-Boot mailing list U-B

Re: [U-Boot] [PATCH v2 5/6] driver: net: fsl-mc: initialize dpmac irrespective of phy

2018-07-30 Thread Joe Hershberger
On Mon, Jul 30, 2018 at 8:15 AM, Pankaj Bansal wrote: > The dpmac initalization should not depend on phy. > As the phy is not necessary to be present for dpmac to function. > Therefore, remove dpmac initialization dependency from phy. > > Signed-off-by: Pankaj Bansal Acked-by:

Re: [U-Boot] [PATCH v2 4/6] driver: net: fsl-mc: Modify the dpmac link detection method

2018-07-30 Thread Joe Hershberger
my phy devices. > We always report linkup if no phy is present. > > Signed-off-by: Pankaj Bansal Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH v2 3/6] driver: net: fsl-mc: fix error handing in init_phy

2018-07-30 Thread Joe Hershberger
On Mon, Jul 30, 2018 at 8:15 AM, Pankaj Bansal wrote: > if an error occurs during init_phy, we should free the phydev structure > which has been allocated by phy_connect. > > Signed-off-by: Pankaj Bansal Acked-by: Joe Hershberger ___ U-

Re: [U-Boot] [PATCH v2 1/6] driver: net: fsl-mc: modify the label name

2018-07-30 Thread Joe Hershberger
On Mon, Jul 30, 2018 at 8:15 AM, Pankaj Bansal wrote: > The goto label name is misspelled it should be DPMAC not DPAMC > > Signed-off-by: Pankaj Bansal Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de https://list

Re: [U-Boot] [PATCH v2 2/6] driver: net: fsl-mc: remove unused strcture elements

2018-07-30 Thread Joe Hershberger
opriate to keep phydev in wriop_dpmac_info. > > Also phy_regs is not being used, therefore remove it > > Signed-off-by: Pankaj Bansal Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH] net: pch_gbe: Make probe/remove static

2018-07-30 Thread Joe Hershberger
On Sun, Jul 29, 2018 at 2:11 AM, Bin Meng wrote: > These two routines are internal to pch_gbe driver. > > Signed-off-by: Bin Meng Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH v2 06/11] net: phy: ti: add workaround for incorrect RX_CTRL pin strap

2018-07-26 Thread Joe Hershberger
On Fri, Jul 20, 2018 at 6:00 PM, Grygorii Strashko wrote: > > > On 07/18/2018 03:46 AM, Janine Hagemann wrote: >> >> The data manual for DP83867IR/CR, SNLS484E[1], revised march 2017, >> advises that strapping RX_DV/RX_CTRL pin in mode 1 and 2 is not >> supported (see note below Table 5 (4-Level S

Re: [U-Boot] [PATCH v2 08/11] drivers: net: designware: Add reading of DT phy-handle node

2018-07-26 Thread Joe Hershberger
On Wed, Jul 18, 2018 at 3:46 AM, Janine Hagemann wrote: > Add the ability to read the phy-handle node of the > gmac. Upon reading this handle the phy-id > can be stored based on the reg node in the DT. > > The phy-handle also needs to be stored and passed > to the phy to access any phy data that

Re: [U-Boot] drivers: net: cpsw: fix phy dt node setting

2018-07-26 Thread Joe Hershberger
Hi Grygorii, https://patchwork.ozlabs.org/patch/940098/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] arm: Prevent redefinition error in fsl-layerscape

2018-07-26 Thread Joe Hershberger
Hi Joe, https://patchwork.ozlabs.org/patch/949356/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: mvgbe: convert to DM

2018-07-26 Thread Joe Hershberger
Hi Chris, https://patchwork.ozlabs.org/patch/941175/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: phy: add ofnode node to struct phy_device

2018-07-26 Thread Joe Hershberger
Hi Grygorii, https://patchwork.ozlabs.org/patch/940103/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] sandbox: eth-raw: Make random MAC addresses available to eth-raw

2018-07-26 Thread Joe Hershberger
Hi Joe, https://patchwork.ozlabs.org/patch/938163/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: zynq_gem: convert to use livetree

2018-07-26 Thread Joe Hershberger
Hi Siva, https://patchwork.ozlabs.org/patch/944372/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: phy: dp83867: switch to use phy_get_ofnode()

2018-07-26 Thread Joe Hershberger
Hi Grygorii, https://patchwork.ozlabs.org/patch/940101/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] initialize net_mode.if_type

2018-07-26 Thread Joe Hershberger
Hi andrew, https://patchwork.ozlabs.org/patch/932997/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: phy: dp83867: switch to use ofnode api

2018-07-26 Thread Joe Hershberger
Hi Grygorii, https://patchwork.ozlabs.org/patch/936369/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: phy: Clean up includes of common.h

2018-07-26 Thread Joe Hershberger
Hi Joe, https://patchwork.ozlabs.org/patch/949357/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] sandbox: eth-raw: Add a function to ask the host about localhost

2018-07-26 Thread Joe Hershberger
Hi Joe, https://patchwork.ozlabs.org/patch/938161/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: Correct comment in Kconfig

2018-07-26 Thread Joe Hershberger
Hi Joe, https://patchwork.ozlabs.org/patch/938158/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: Read bootfile from env on netboot_common()

2018-07-26 Thread Joe Hershberger
Hi Joe, https://patchwork.ozlabs.org/patch/939044/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] sandbox: eth-raw: Add a SIMPLE_BUS to enumerate host interfaces

2018-07-26 Thread Joe Hershberger
Hi Joe, https://patchwork.ozlabs.org/patch/938159/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: mvgbe: prepare for conversion to driver model

2018-07-26 Thread Joe Hershberger
Hi Chris, https://patchwork.ozlabs.org/patch/941174/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: phy: dp83867: add workaround for incorrect RX_CTRL pin strap

2018-07-26 Thread Joe Hershberger
Hi Grygorii, https://patchwork.ozlabs.org/patch/936368/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] sandbox: eth-raw: Allow interface to be specified by index

2018-07-26 Thread Joe Hershberger
Hi Joe, https://patchwork.ozlabs.org/patch/938164/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: sandbox-raw: Convert raw eth driver to livetree

2018-07-26 Thread Joe Hershberger
Hi Joe, https://patchwork.ozlabs.org/patch/938155/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] phy: Break include cycle

2018-07-26 Thread Joe Hershberger
Hi Joe, https://patchwork.ozlabs.org/patch/949355/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: Consolidate the parsing of bootfile

2018-07-26 Thread Joe Hershberger
Hi Joe, https://patchwork.ozlabs.org/patch/939045/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: Check subnet against the actual ip address in use for nfs

2018-07-26 Thread Joe Hershberger
Hi Joe, https://patchwork.ozlabs.org/patch/939038/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: phy: xilinx: switch to use phy_get_ofnode()

2018-07-26 Thread Joe Hershberger
Hi Grygorii, https://patchwork.ozlabs.org/patch/940100/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] sandbox: eth-raw: Make sure descriptors are always initialized

2018-07-26 Thread Joe Hershberger
Hi Joe, https://patchwork.ozlabs.org/patch/938156/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: When checking prerequisites, consider boot_file_name

2018-07-26 Thread Joe Hershberger
Hi Joe, https://patchwork.ozlabs.org/patch/939043/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: Re-check prerequisites when autoloading

2018-07-26 Thread Joe Hershberger
Hi Joe, https://patchwork.ozlabs.org/patch/939041/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

<    4   5   6   7   8   9   10   11   12   13   >