- 24 Jan, 2019 10 commits
-
-
Chris Packham authored
Some existing device trees don't specify a phy-mode so fallback to GMII when a phy-mode is not provided. Signed-off-by:
Chris Packham <judge.packham@gmail.com> Reviewed-by:
Stefan Roese <sr@denx.de> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Andreas Pretzsch authored
For KSZ9021, all skew register fields are 4-bit wide. For KSZ9031, the clock skew register fields are 5-bit wide. The common code in ksz90x1_of_config_group calculating the combined register value checks if the requested value is above the maximum and uses this maximum if so. The calculation of this maximum uses the register width, but the check itself does not. It uses a hardcoded value of 0xf, which is too low in case of the 5-bit clock (0x1f). This detail was probably lost during driver unification. Effect (only for KSZ9031 clock skews): For values greater 900 (== 0ps), this silently results in 1860 (== +960ps) instead of the requested one. Fix the check by using the bit width instead of hardcoded value(s). Signed-off-by:
Andreas Pretzsch <apr@cn-eng.de> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Simon Goldschmidt authored
With CONFIG_REGEX enabled, ETHADDR_WILDCARD is set up for up to 10 interfaces (0..9) as the number can only have one digit. On boards with more than 10 interfaces, this leads to the protection and format checks being absent for eth10addr and above. Fix this by changing ETHADDR_WILDCARD from "\\d?" to "\\d*" to allow more than one digit. Signed-off-by:
Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Simon Goldschmidt authored
ETHADDR_WILDCARD is defined as the same value in both env_flags.h and env_callback.h As env_callback.h includes env_flags.h, remove the duplicate definition from env_callback.h Signed-off-by:
Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Thomas RIENOESSL authored
When dealing with two ethernet ports and having "netretry" set to "once", it could occur that the connection (e.g. an ARP request) failed, hence the status of the netloop was "NETLOOP_FAIL". Due to the setting of "netretry", the network logic would then switch to the other network interface, assigning "ret" with the return value of "net_start_again()". If this call succeeded we would return 0 (i.e. success) to the caller when in reality the network action failed. Signed-off-by:
Thomas RIENOESSL <thomas.rienoessl@bachmann.info> Reviewed-by:
Christian Gmeiner <christian.gmeiner@gmail.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Baruch Siach authored
Current code forces all ports on a given Ethernet device to use the same mdio device. In practice different ports might be wired to separate mdio devices. Move the mdio device from the container struct mvpp2 to the per port struct mvpp2_port. Cc: Ken Ma <make@marvell.com> Cc: Stefan Chulski <stefanc@marvell.com> Signed-off-by:
Baruch Siach <baruch@tkos.co.il> Reviewed-by:
Stefan Roese <sr@denx.de> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Baruch Siach authored
Current mdio base lookup code relies on a 'reg' property at the upper CP node. There is no 'reg' property there in current DT files of Armada CP110. Use ofnode_get_addr() instead since it provides proper DT address translation. Cc: Ken Ma <make@marvell.com> Cc: Stefan Chulski <stefanc@marvell.com> Signed-off-by:
Baruch Siach <baruch@tkos.co.il> Reviewed-by:
Stefan Roese <sr@denx.de> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Simon Goldschmidt authored
Short frames are padded to the minimum allowed size of 60 bytes. However, the designware driver sends old data in these padding bytes. It is common practice to zero out these padding bytes ro prevent leaking memory contents to other hosts. Fix the padding code to zero out the padded bytes at the end. Tested on socfpga gen5. Signed-off-by:
Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Simon Goldschmidt authored
The designware driver has a bug in setting the tx length into the dma descriptor: it always or's the length into the descriptor without zeroing out the length mask before. This results in occasional packets being transmitted with a length greater than they should be (trailer). Due to the nature of Ethernet allowing such a trailer, most packets seem to be parsed fine by remote hosts, which is probably why this hasn't been noticed. Fix this by correctly clearing the size mask before setting the new length. Tested on socfpga gen5. Signed-off-by:
Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com> Reviewed-by:
Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
-
Pankaj Bansal authored
The phy devices can be accessed via clause 22 or via clause 45. This information can be deduced when we read phy id. if the phy id is read without giving any MDIO Manageable Device Address (MMD), then it conforms to clause 22. otherwise it conforms to clause 45. Signed-off-by:
Pankaj Bansal <pankaj.bansal@nxp.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
- 23 Jan, 2019 14 commits
-
-
git://git.denx.de/u-boot-mipsTom Rini authored
- MIPS: mscc: ocelot: add ethernet switch and network support - MIPS: mscc: add support for ServalT SoC family - MIPS: mscc: add support for Serval SoC family
-
Horatiu Vultur authored
Add board support and configuration for Jaguar2 SoC family. The detection of the board type is based on the phy ids. Signed-off-by:
Horatiu Vultur <horatiu.vultur@microchip.com> Reviewed-by:
Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
-
Horatiu Vultur authored
Add device tree based on evaluation board pcb106. Signed-off-by:
Horatiu Vultur <horatiu.vultur@microchip.com>
-
Horatiu Vultur authored
Add device tree based on evaluation board pcb105. Signed-off-by:
Horatiu Vultur <horatiu.vultur@microchip.com>
-
Horatiu Vultur authored
As Ocelot, Servalt, Luton and Jaguar2, this family of SoCs are found in Microsemi Switches solution. Signed-off-by:
Horatiu Vultur <horatiu.vultur@microchip.com> Reviewed-by:
Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
-
Horatiu Vultur authored
The Serval SoC family has 32 pins. Currently there is no support for Serval in Linux kernel. Signed-off-by:
Horatiu Vultur <horatiu.vultur@microchip.com> Reviewed-by:
Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
-
Horatiu Vultur authored
Add board support, configuration and DTS for Servalt SoC family. Currently there is one board in this family. Reviewed-by:
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Signed-off-by:
Horatiu Vultur <horatiu.vultur@microchip.com>
-
Horatiu Vultur authored
As Ocelot, Luton and Jaguar2, this family of SoCs are found in Microsemi Switches solution. Reviewed-by:
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Signed-off-by:
Horatiu Vultur <horatiu.vultur@microchip.com>
-
Horatiu Vultur authored
The Servalt SoC family has 36 pins. Currently there is not support for Servalt pinctrl in Linux kernel. Reviewed-by:
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Signed-off-by:
Horatiu Vultur <horatiu.vultur@microchip.com>
-
Gregory CLEMENT authored
Now that network support is added for the ocelot platform, let's add it in the default configuration. Signed-off-by:
Gregory CLEMENT <gregory.clement@bootlin.com>
-
Gregory CLEMENT authored
On some ocelots platform a workaround is needed in order to be able to reset the switch without resetting the DDR. Signed-off-by:
Gregory CLEMENT <gregory.clement@bootlin.com>
-
Gregory CLEMENT authored
This patch adds support for the Microsemi Ethernet switch present on Ocelot SoCs. Signed-off-by:
Gregory CLEMENT <gregory.clement@bootlin.com> Reviewed-by:
Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
-
Gregory CLEMENT authored
Import Ethernet related nodes from Linux Signed-off-by:
Gregory CLEMENT <gregory.clement@bootlin.com>
-
git://git.denx.de/u-boot-nds32Tom Rini authored
- Support nds32 prebuilt toolchain. - Fix some compile issues. - Fix dts mmc node compatible string.
-
- 22 Jan, 2019 5 commits
-
-
Rick Chen authored
In the two commits: cf3922dd mmc: ftsdc010_mci: Sync compatible with DT mmc node c14e90e8 riscv: dts: Sync DT with Linux Kernel ftsdc010_mci's compatible has been modified as "andestech,atfsdc010" for RISC-V synchronization. But ae3xx.dts and ag101p.dts which are used for nds32 adp-ae3xx and adp-ag101p platforms did not be modified correctly at that time. It will cause mmc detection failure. Fix it here. Signed-off-by:
Rick Chen <rick@andestech.com> Cc: Greentime Hu <greentime@andestech.com>
-
Rick Chen authored
Add -mcmodel=large can let elf-mculib have the same default behavior just like linux-glibc. And it help to pass U-Boot booting sequence. Signed-off-by:
Rick Chen <rick@andestech.com> Cc: Greentime Hu <greentime@andestech.com>
-
Rick Chen authored
Force it to generate SW fup instruction. It help to avoid bugs when running on no-HW-fpu board, but compile with v3f which support HW fpu instruction. Signed-off-by:
Rick Chen <rick@andestech.com> Cc: Greentime Hu <greentime@andestech.com>
-
Rick Chen authored
-G0 is an old option, not support now, So remove it. It can help to fix compile error when build with nds32 pre-build toolchain. Signed-off-by:
Rick Chen <rick@andestech.com> Cc: Greentime Hu <greentime@andestech.com>
-
Rick Chen authored
Download nds32 prebuild toolchain from github which is base on gcc 8.0.1 version for regression. Signed-off-by:
Rick Chen <rick@andestech.com> Cc: Greentime Hu <greentime@andestech.com>
-
- 21 Jan, 2019 11 commits
-
-
git://git.denx.de/u-boot-marvellTom Rini authored
- Sync Armada-38x dts with Linux 4.20 from Chris - Misc changes and enhancements to Turris Mox (v4) from Marek - Reserve PSCI area for Armada 8k from Heinrich - New Allied Telesis x530 board (Armada-385) from Chris - Misc minor changes (defconfig etc)
-
git://git.denx.de/u-boot-mpc83xxTom Rini authored
-
Tom Rini authored
Per Heiko the original changes were correct and something is misbehaving on his hardware. This reverts commit 3d5931e5. Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Derald D. Woods authored
This commit converts the following items to Kconfig: CONFIG_ATMEL_NAND_HWECC CONFIG_ATMEL_NAND_HW_PMECC CONFIG_PMECC_CAP CONFIG_PMECC_SECTOR_SIZE CONFIG_SPL_GENERATE_ATMEL_PMECC_HEADER [PMECC References] https://www.at91.com/linux4sam/bin/view/Linux4SAM/PmeccConfigure https://www.at91.com/linux4sam/bin/view/Linux4SAM/AT91Bootstrap [Mailing List Thread] https://lists.denx.de/pipermail/u-boot/2018-December/350666.html Fixes: 5541543f ("configs: at91: Remove CONFIG_SYS_EXTRA_OPTIONS assignment") [trini: Make the migration be size neutral and possibly not fix the above in all cases] Reported-by:
Daniel Evans <photonthunder@gmail.com> Cc: Eugen Hristev <eugen.hristev@microchip.com> Signed-off-by:
Derald D. Woods <woods.technical@gmail.com> Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Chris Packham authored
This is a range of stackable network switches. The SoC is Armada-385 and there are a number of variants with differing network port configurations. The DP variants are intended for a harsher operating environment so they use a different i2c mux and fit industrial-temp parts. Signed-off-by:
Chris Packham <judge.packham@gmail.com> Signed-off-by:
Stefan Roese <sr@denx.de>
-
Baruch Siach authored
These macros are not used anywhere in the boards code. Cc: Chris Packham <chris.packham@alliedtelesis.co.nz> Cc: Dirk Eibach <dirk.eibach@gdsys.cc> Cc: Mario Six <mario.six@gdsys.cc> Cc: Dennis Gilmore <dgilmore@redhat.com> Signed-off-by:
Baruch Siach <baruch@tkos.co.il> Reviewed-by:
Stefan Roese <sr@denx.de> Signed-off-by:
Stefan Roese <sr@denx.de>
-
Heinrich Schuchardt authored
An NVME drive may be installed on the MACCHIATObin board using the PCIe slot or on the Clearfog Pro using mini a PCI-e slot. With the configuration change it becomes usable. Signed-off-by:
Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by:
Stefan Roese <sr@denx.de> Signed-off-by:
Stefan Roese <sr@denx.de>
-
Heinrich Schuchardt authored
The memory area [0x4000000-0x4200000[ is occupied by the PSCI firmware. Any attempt to access it from U-Boot leads to an immediate crash. So let's make the same memory reservation as the vendor device tree. Signed-off-by:
Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by:
Stefan Roese <sr@denx.de>
-
Marek Behún authored
This is needed for some scenarios, such as booting large FIT image. Signed-off-by:
Marek Behún <marek.behun@nic.cz> Reviewed-by:
Stefan Roese <sr@denx.de> Signed-off-by:
Stefan Roese <sr@denx.de>
-
Marek Behún authored
Use get_ram_size to determine if the RAM size on Turris Mox is 512 MiB or 1 GiB. Signed-off-by:
Marek Behún <marek.behun@nic.cz> Signed-off-by:
Stefan Roese <sr@denx.de>
-
Marek Behún authored
Add support for reading One-Time Programmable memory via mailbox, which communicates with CZ.NIC's firmware on the Secure Processor (Cortex-M3) of Armada 3720. Display product serial number and additional info, and also set MAC addresses. Signed-off-by:
Marek Behún <marek.behun@nic.cz> Reviewed-by:
Stefan Roese <sr@denx.de> Signed-off-by:
Stefan Roese <sr@denx.de>
-