- 23 3月, 2018 20 次提交
-
-
由 Alexander Graf 提交于
In the efi_loader main loop we call eth_rx() occasionally. This rx function might end up calling into devices that haven't been initialized yet, potentially resulting in a lot of transfer timeouts. Instead, let's make sure the ethernet device is actually initialized before reading from or writing to it. Signed-off-by: NAlexander Graf <agraf@suse.de> Acked-by: NJoe Hershberger <joe.hershberger@ni.com>
-
由 Leonid Iziumtsev 提交于
The "net_try_count" counter starts from "1". And the "retrycnt" contains requested amount of retries. With current logic, that means that the actual retry amount will be one time less then what we set in "netretry" env. For example setting "netretry" to "once" will make "retrycnt" equal "1", so no retries will be triggered at all. Fix the logic by changing the statement of "if" condition. Signed-off-by: NLeonid Iziumtsev <leonid.iziumtsev@se.atlascopco.com> Acked-by: NJoe Hershberger <joe.hershberger@ni.com>
-
由 Priyanka Jain 提交于
Current Cortina phy driver assumes that firmware upload is required during initialization and is dependent on presence of corresponding macros like CONFIG_CORTINA_FW_ADDR for compilation. But Cortina phy has provision to store phy firmware in attached dedicated EEPROM. And boards designed with such EEPROM does not require firmware upload. Add CORTINA_NO_FW_UPLOAD option in cortina.c to support such boards. Signed-off-by: NPriyanka Jain <priyanka.jain@nxp.com> Acked-by: NJoe Hershberger <joe.hershberger@ni.com>
-
由 Priyanka Jain 提交于
Update get_phy_id() implementation in cortina.c to check for Cortina_phy by comparing device phy_id with cortina phy_id instead of relying on presence of CORTINA macros. This will allow get_phy_id to work with non-cortina phy devices which might have same phy address as Cortina device but on different bus. Signed-off-by: NPriyanka Jain <priyanka.jain@nxp.com> Acked-by: NJoe Hershberger <joe.hershberger@ni.com>
-
由 Calvin Johnson 提交于
Add configurations for PFE. Signed-off-by: NCalvin Johnson <calvin.johnson@nxp.com> Signed-off-by: NAnjaneyulu Jagarlmudi <anji.jagarlmudi@nxp.com> Acked-by: NJoe Hershberger <joe.hershberger@ni.com>
-
由 Calvin Johnson 提交于
Enable all types of non-secure access to PFE block registers. Signed-off-by: NCalvin Johnson <calvin.johnson@nxp.com> Signed-off-by: NAnjaneyulu Jagarlmudi <anji.jagarlmudi@nxp.com> Acked-by: NJoe Hershberger <joe.hershberger@ni.com>
-
由 Calvin Johnson 提交于
1. Set AWCACHE0 attribute of PFE DDR and HDBUS master interfaces to bufferable. 2. Set RD/WR QoS for PFE DDR and HDBUS AXI master interfaces. 3. Disable ECC detection for PFE. Signed-off-by: NCalvin Johnson <calvin.johnson@nxp.com> Signed-off-by: NAnjaneyulu Jagarlmudi <anji.jagarlmudi@nxp.com> Acked-by: NJoe Hershberger <joe.hershberger@ni.com>
-
由 Calvin Johnson 提交于
SoC specific PFE macros are defined and structure ccsr_scfg is updated with members defined for PFE. Signed-off-by: NCalvin Johnson <calvin.johnson@nxp.com> Signed-off-by: NAnjaneyulu Jagarlmudi <anji.jagarlmudi@nxp.com> Acked-by: NJoe Hershberger <joe.hershberger@ni.com>
-
由 Calvin Johnson 提交于
This patch enables ethernet support for ls1012a2g5rdb. Signed-off-by: NCalvin Johnson <calvin.johnson@nxp.com> Signed-off-by: NBhaskar Upadhaya <Bhaskar.Upadhaya@nxp.com> Acked-by: NJoe Hershberger <joe.hershberger@ni.com>
-
由 Calvin Johnson 提交于
This patch enables ethernet support for ls1012ardb. Signed-off-by: NCalvin Johnson <calvin.johnson@nxp.com> Signed-off-by: NAnjaneyulu Jagarlmudi <anji.jagarlmudi@nxp.com> Acked-by: NJoe Hershberger <joe.hershberger@ni.com>
-
由 Calvin Johnson 提交于
This patch enables ethernet support for ls1012afrdm. Signed-off-by: NCalvin Johnson <calvin.johnson@nxp.com> Signed-off-by: NAnjaneyulu Jagarlmudi <anji.jagarlmudi@nxp.com> Acked-by: NJoe Hershberger <joe.hershberger@ni.com>
-
由 Calvin Johnson 提交于
This patch enables ethernet support for ls1012aqds. Signed-off-by: NCalvin Johnson <calvin.johnson@nxp.com> Signed-off-by: NAnjaneyulu Jagarlmudi <anji.jagarlmudi@nxp.com> Acked-by: NJoe Hershberger <joe.hershberger@ni.com>
-
由 Calvin Johnson 提交于
Contains all the pfe header files. Signed-off-by: NCalvin Johnson <calvin.johnson@nxp.com> Signed-off-by: NAnjaneyulu Jagarlmudi <anji.jagarlmudi@nxp.com> Acked-by: NJoe Hershberger <joe.hershberger@ni.com>
-
由 Calvin Johnson 提交于
pfe_command provides command line support for several features that support pfe, like starting or stopping the pfe, checking the health of the processor engines and checking status of different units inside pfe. Signed-off-by: NCalvin Johnson <calvin.johnson@nxp.com> Signed-off-by: NAnjaneyulu Jagarlmudi <anji.jagarlmudi@nxp.com> Acked-by: NJoe Hershberger <joe.hershberger@ni.com>
-
由 Calvin Johnson 提交于
This patch adds PFE driver to U-Boot Following are the main driver files:- pfe_hw.c: provides low level helper functions to initialize PFE internal processor engines and other hardware blocks pfe_driver.c: provides initialization functions and packet send and receive functions pfe_eth.c: provides high level gemac initialization functions pfe_firmware.c: provides functions to load firmware into PFE internal processor engines. pfe_mdio.c: provides functions to initialize phy and mdio. Signed-off-by: NCalvin Johnson <calvin.johnson@nxp.com> Signed-off-by: NAnjaneyulu Jagarlmudi <anji.jagarlmudi@nxp.com> Acked-by: NJoe Hershberger <joe.hershberger@ni.com>
-
由 Prabhakar Kushwaha 提交于
Layerscape Gen2 SoC supports GPIO registers to control GPIO signals. Adding support of GPIO structure to access GPIO registers. Signed-off-by: NPratiyush Srivastava <pratiyush.srivastava@nxp.com> Signed-off-by: NPrabhakar Kushwaha <prabhakar.kushwaha@nxp.com> Signed-off-by: NCalvin Johnson <calvin.johnson@nxp.com> Acked-by: NJoe Hershberger <joe.hershberger@ni.com>
-
由 Calvin Johnson 提交于
With CONFIG_DM_ETH enabled, aquantia driver compilation fails with below error. This patch fixes the issue by including dm.h. drivers/net/phy/aquantia.c: In function ‘aquantia_startup’: drivers/net/phy/aquantia.c:73:21: error: dereferencing pointer to incomplete type ‘struct udevice’ phydev->dev->name); ^~ Signed-off-by: NCalvin Johnson <calvin.johnson@nxp.com> Acked-by: NJoe Hershberger <joe.hershberger@ni.com>
-
由 Heinrich Schuchardt 提交于
After allocating plat the pointer is checked. Afterwards name is allocated and not checked. Add the missing check to avoid a possible NULL dereference. Signed-off-by: NHeinrich Schuchardt <xypron.glpk@gmx.de> Acked-by: NJoe Hershberger <joe.hershberger@ni.com>
-
由 kevans@FreeBSD.org 提交于
The Pine64+ uses a generic PHY driver, so flip it over to using the Realtek PHY driver to actually apply the RTL8211e fix. Signed-off-by: NKyle Evans <kevans@FreeBSD.org> Acked-by: NJoe Hershberger <joe.hershberger@ni.com>
-
由 kevans@FreeBSD.org 提交于
Setting PHY_RTL8211E_PINE64_GIGABIT_FIX forces internal rx/tx delays off on the PHY, as well as flipping some magical undocumented bits. The magic number comes from the Pine64 engineering team, presumably as a proxy from Realtek. This configuration fixes the throughput on some Pine64 models. Packet loss of up to 60-70% has been observed without this. Signed-off-by: NKyle Evans <kevans@FreeBSD.org> Acked-by: NJoe Hershberger <joe.hershberger@ni.com>
-
- 22 3月, 2018 20 次提交
-
-
-
由 Álvaro Fernández Rojas 提交于
Signed-off-by: NÃlvaro Fernández Rojas <noltari@gmail.com>
-
由 Álvaro Fernández Rojas 提交于
Signed-off-by: NÃlvaro Fernández Rojas <noltari@gmail.com>
-
由 Álvaro Fernández Rojas 提交于
Signed-off-by: NÃlvaro Fernández Rojas <noltari@gmail.com> Reviewed-by: NDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
-
由 Álvaro Fernández Rojas 提交于
Signed-off-by: NÃlvaro Fernández Rojas <noltari@gmail.com>
-
由 Álvaro Fernández Rojas 提交于
Signed-off-by: NÃlvaro Fernández Rojas <noltari@gmail.com>
-
由 Álvaro Fernández Rojas 提交于
Signed-off-by: NÃlvaro Fernández Rojas <noltari@gmail.com>
-
由 Álvaro Fernández Rojas 提交于
Signed-off-by: NÃlvaro Fernández Rojas <noltari@gmail.com>
-
由 Álvaro Fernández Rojas 提交于
Signed-off-by: NÃlvaro Fernández Rojas <noltari@gmail.com>
-
由 Álvaro Fernández Rojas 提交于
Signed-off-by: NÃlvaro Fernández Rojas <noltari@gmail.com>
-
由 Álvaro Fernández Rojas 提交于
Signed-off-by: NÃlvaro Fernández Rojas <noltari@gmail.com>
-
由 Álvaro Fernández Rojas 提交于
Signed-off-by: NÃlvaro Fernández Rojas <noltari@gmail.com>
-
由 Álvaro Fernández Rojas 提交于
Signed-off-by: NÃlvaro Fernández Rojas <noltari@gmail.com> Reviewed-by: NDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
-
由 Álvaro Fernández Rojas 提交于
Signed-off-by: NÃlvaro Fernández Rojas <noltari@gmail.com>
-
由 Álvaro Fernández Rojas 提交于
Signed-off-by: NÃlvaro Fernández Rojas <noltari@gmail.com>
-
由 Álvaro Fernández Rojas 提交于
Signed-off-by: NÃlvaro Fernández Rojas <noltari@gmail.com>
-
由 Álvaro Fernández Rojas 提交于
Signed-off-by: NÃlvaro Fernández Rojas <noltari@gmail.com> Reviewed-by: NDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
-
由 Álvaro Fernández Rojas 提交于
Signed-off-by: NÃlvaro Fernández Rojas <noltari@gmail.com>
-
由 Álvaro Fernández Rojas 提交于
Signed-off-by: NÃlvaro Fernández Rojas <noltari@gmail.com>
-
由 Álvaro Fernández Rojas 提交于
Signed-off-by: NÃlvaro Fernández Rojas <noltari@gmail.com> Reviewed-by: NDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
-