Re: [U-Boot] [PATCH v2] Kconfig: cmd: Make networking command dependent on NET

2018-03-28 Thread Michal Simek
On 28.3.2018 01:28, Joe Hershberger wrote: > Hi Heinrich, > > On Wed, Feb 28, 2018 at 5:05 PM, Heinrich Schuchardt > wrote: >> On 02/28/2018 02:09 AM, Tom Rini wrote: >>> >>> On Mon, Feb 26, 2018 at 04:01:02PM +0100, Michal Simek wrote: >>> Enable networking command only when NET is enabled.

Re: [U-Boot] [PATCH 0/4] Meson clock driver

2018-03-28 Thread Neil Armstrong
Hi Beniamino, On 03/12/2017 10:17, Beniamino Galvani wrote: > Hi, > > this is a basic clock driver for u-boot that supports > enabling/disabling clock gates and getting their frequency. With this, > some hardcoded initializations can be removed from the board code, and > drivers can use the infor

Re: [U-Boot] [PATCH v4 13/19] sunxi: DT: A64: update board .dts files from Linux

2018-03-28 Thread Jagan Teki
On Wed, Mar 28, 2018 at 4:23 AM, André Przywara wrote: > On 27/03/18 18:58, Jagan Teki wrote: >> On Sat, Mar 24, 2018 at 6:37 AM, André Przywara >> wrote: >>> On 23/03/18 18:14, Jagan Teki wrote: On Wed, Mar 14, 2018 at 7:27 AM, Andre Przywara wrote: > Update the .dts files for t

[U-Boot] [PATCH u-boot 0/2] Cleanup for Amlogic GX SoCs

2018-03-28 Thread Neil Armstrong
The Amlogic Meson GXBB and GXL are both part of the GX SoC family, this patchset renames the GXBB files and defines to take this fact in account and align the namings with linux. With this applied, we can add a SoC Info code to display the SoC name and package marketing name along the revisions. E

[U-Boot] [PATCH u-boot 1/2] ARM: meson: rename GXBB to GX

2018-03-28 Thread Neil Armstrong
Taking into account the Amlogic Family name starts with GX, including the GXBB, GXL and GXM SoCs. Signed-off-by: Neil Armstrong --- arch/arm/include/asm/arch-meson/{gxbb.h => gx.h} | 90 +++--- arch/arm/mach-meson/board.c| 28 +++ arch/arm/mach-meson

[U-Boot] [PATCH u-boot 2/2] ARM: meson: Add cpu info display for GX SoCs

2018-03-28 Thread Neil Armstrong
The Amlogic SoCs have a registers containing the die revision and packaging type to determine the SoC family and package marketing name like S905X for the GXL SoC Family. This code is taken for the Linux meson-gx-socinfo driver and adapted to U-Boot printing. Signed-off-by: Neil Armstrong --- ar

Re: [U-Boot] [PATCHv3 0/2] Changes to Z-turn dtd

2018-03-28 Thread Michal Simek
On 24.3.2018 18:31, Anton Gerasimov wrote: > Same as v2, but restored mmc0 alias. spi0 is deleted to avoid confusion > with spi0 from zynq-7000.dtsi. > > Anton Gerasimov (2): > ARM: dts: zynq: Update dts for Z-turn board > ARM: dts: zynq: Rename dts for Z-turn board > > arch/arm/dts/Makefile

Re: [U-Boot] [PATCH 0/4] Meson clock driver

2018-03-28 Thread Beniamino Galvani
2018-03-28 10:59 GMT+02:00 Neil Armstrong : > Do you plan to re-send the driver soon ? Yes, I plan to submit it again in the next days. Beniamino ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

[U-Boot] [PATCH] watchdog: Fix Kconfig alignment for WDT_SANDBOX

2018-03-28 Thread Michal Simek
Fix Kconfig alignment which should be . Signed-off-by: Michal Simek --- drivers/watchdog/Kconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig index cfefa5483116..3d493640f0c1 100644 --- a/drivers/watchdog/Kconfig +

Re: [U-Boot] [PATCH v4 13/19] sunxi: DT: A64: update board .dts files from Linux

2018-03-28 Thread Maxime Ripard
On Wed, Mar 28, 2018 at 03:22:20PM +0530, Jagan Teki wrote: > >> May it's good option to look at v3 changes, since DM_MMC Migration > >> expires in coming release, dt changes which are related to MMC we can > >> wait for proper supported feature get IN(like pinctrl, clock, reset), > >> that means w

Re: [U-Boot] [PATCH v2 5/6] sunxi: add code for recalculating the DRAM size in U-Boot

2018-03-28 Thread Maxime Ripard
On Mon, Mar 26, 2018 at 03:11:04PM +0800, Icenowy Zheng wrote: > > > 于 2018年3月26日 GMT+08:00 下午3:06:33, Maxime Ripard > 写到: > >On Fri, Mar 23, 2018 at 05:41:43PM +0800, Icenowy Zheng wrote: > >> > >> > >> 于 2018年3月23日 GMT+08:00 下午5:40:41, Maxime Ripard > > 写到: > >> >On Fri, Mar 23, 2018 at 04:

Re: [U-Boot] [PATCH v2 5/6] sunxi: add code for recalculating the DRAM size in U-Boot

2018-03-28 Thread Icenowy Zheng
于 2018年3月28日 GMT+08:00 下午7:28:07, Maxime Ripard 写到: >On Mon, Mar 26, 2018 at 03:11:04PM +0800, Icenowy Zheng wrote: >> >> >> 于 2018年3月26日 GMT+08:00 下午3:06:33, Maxime Ripard > 写到: >> >On Fri, Mar 23, 2018 at 05:41:43PM +0800, Icenowy Zheng wrote: >> >> >> >> >> >> 于 2018年3月23日 GMT+08:00 下午5:4

[U-Boot] [RFC] Analyzing data abort in EFI payload

2018-03-28 Thread Heinrich Schuchardt
I have an EFI payload which causes a data abort exception on arm32: data abort pc : [<79e7afe6>] lr : [<79e7aff5>] reloc pc : [<44f15fe6>]lr : [<44f15ff5>] sp : 7af3a740 ip : 7efb0420 fp : 7af774f8 r10: 7af3a7f0 r9 : 7af44ed8 r8 : 7ef9b1d0 r7 : r6 : 000

[U-Boot] [PATCH 1/2] drivers: Add devinfo uclass

2018-03-28 Thread Mario Six
Some boards have encoded information, e.g. hard-wired GPIOs on a GPIO expander, read-only memory ICs, etc. that carry information about the hardware. Add a uclass that encapsulates device information of such a kind and makes them accessible in a uniform manner. The devices of this uclass expose me

[U-Boot] [PATCH 2/2] devinfo: Add gazerbeam info driver

2018-03-28 Thread Mario Six
Add a device information driver for the upcoming gdsys Gazerbeam board. Signed-off-by: Mario Six --- drivers/devinfo/gazerbeam.c | 151 drivers/devinfo/gazerbeam.h | 17 + 2 files changed, 168 insertions(+) create mode 100644 drivers/devinfo/gaz

[U-Boot] [PATCH 3/3] core: Add dev_{disable,enable}_by_path

2018-03-28 Thread Mario Six
We cannot use device structures to disable devices, since getting them with the API functions would bind and activate the device, which would fail if the underlying device does not exist. Hence, add a function to disable devices by path in a live device tree. Signed-off-by: Mario Six --- driver

[U-Boot] [PATCH 1/3] core: Add function to get device for ofnode

2018-03-28 Thread Mario Six
It's sometimes useful to get the device associated with a given ofnode. Implement a function to implement this lookup operation. Signed-off-by: Mario Six --- drivers/core/ofnode.c | 15 +++ include/dm/ofnode.h | 8 2 files changed, 23 insertions(+) diff --git a/drivers/c

[U-Boot] [PATCH 3/8] ram: Add driver for MPC83xx

2018-03-28 Thread Mario Six
Add a RAM driver for the MPC83xx architecture. Signed-off-by: Mario Six --- arch/powerpc/cpu/mpc83xx/spd_sdram.c | 4 + drivers/ram/Kconfig| 8 + drivers/ram/Makefile | 1 + drivers/ram/mpc83xx_sdram.c| 948 +++

[U-Boot] [PATCH 2/3] core: Add functions to set properties in live-tree

2018-03-28 Thread Mario Six
Implement a set of functions to manipulate properties in a live device tree: * ofnode_set_property() to set generic properties of a node * ofnode_write_string() to set string properties of a node * ofnode_enable() to enable a node * ofnode_disable() to disable a node Signed-off-by: Mario Six ---

[U-Boot] [PATCH 1/3] drivers: Add FPGA register map uclass

2018-03-28 Thread Mario Six
The FPGA (as a device) and the register map supplied by a FPGA are two different entities. There are U-Boot drivers for the former, but not for the later. Add a uclass that makes it possible to read from and write to FPGA memory maps. The interface provided emulates the PCI interface, with one fun

[U-Boot] [PATCH 2/3] fpgamap/misc: Add ihs_fpga and gdsys_soc drivers

2018-03-28 Thread Mario Six
This patch adds drivers for IHS FPGAs and their associated busses. Signed-off-by: Mario Six --- drivers/fpgamap/Kconfig | 11 + drivers/fpgamap/Makefile | 1 + drivers/fpgamap/ihs_fpgamap.c | 811 ++ drivers/misc/Kconfig | 10 + dri

[U-Boot] [PATCH 3/3] cmd: Add fpgamap command

2018-03-28 Thread Mario Six
Add a command to debug the IHS FPGA's bus. Signed-off-by: Mario Six --- cmd/Kconfig | 5 + cmd/Makefile | 2 + cmd/fpgamap.c | 306 ++ 3 files changed, 313 insertions(+) create mode 100644 cmd/fpgamap.c diff --git a/cmd/Kconfig b/c

[U-Boot] [PATCH 1/8] core: Add uclass_{first,next}_device_compat

2018-03-28 Thread Mario Six
A lot of times one wants to cycle through the devices in a uclass, but only certain ones, especially ones identified by their compatibility string, and ignore all others (in the best case this procedure should not even activate the devices one is not interested in). Hence, we add a pair of functio

[U-Boot] [PATCH 4/8] clk: Add MPC83xx clock driver

2018-03-28 Thread Mario Six
Add a clock driver for the MPC83xx architecture. Signed-off-by: Mario Six --- arch/powerpc/cpu/mpc83xx/speed.c | 4 + arch/powerpc/include/asm/config.h | 2 +- drivers/clk/Kconfig | 6 + drivers/clk/Makefile | 1 + drivers/clk/mpc83xx_clk.c

[U-Boot] [PATCH 2/2] misc: Add gdsys_ioep driver

2018-03-28 Thread Mario Six
Add driver for the IHS IO endpoint on IHS FPGAs. Signed-off-by: Mario Six --- drivers/misc/Kconfig | 6 +- drivers/misc/Makefile | 1 + drivers/misc/gdsys_ioep.c | 183 ++ drivers/misc/gdsys_ioep.h | 68 + 4 files changed,

[U-Boot] [PATCH 8/8] misc: Add MPC83xx serdes driver

2018-03-28 Thread Mario Six
Add a driver to configure the SerDes (Serializer/Deserializer) lanes on the MPC83xx architecture. Signed-off-by: Mario Six --- arch/powerpc/cpu/mpc83xx/serdes.c | 4 + arch/powerpc/include/asm/fsl_mpc83xx_serdes.h | 4 + drivers/misc/Kconfig | 5 + driv

[U-Boot] [PATCH 3/7] treewide: Migrate CONFIG_LAST_STAGE_INIT to Kconfig

2018-03-28 Thread Mario Six
Migrate the CONFIG_LAST_STAGE_INIT option to Kconfig. Signed-off-by: Mario Six --- common/Kconfig| 9 + configs/UCP1020_SPIFLASH_defconfig| 1 + configs/UCP1020_defconfig | 1 + configs/controlcenterd

[U-Boot] [PATCH 1/2] misc: uclass: Add enable/disable functions

2018-03-28 Thread Mario Six
Add generic enable/disable functions to the misc uclass. Signed-off-by: Mario Six --- drivers/misc/misc-uclass.c | 20 include/misc.h | 30 ++ 2 files changed, 50 insertions(+) diff --git a/drivers/misc/misc-uclass.c b/drivers/misc/mi

[U-Boot] [PATCH 1/2] ihs_mdio: Encapsulate register access

2018-03-28 Thread Mario Six
To prepare for DM conversion, encapsulate all register accesses in function calls. Signed-off-by: Mario Six --- board/gdsys/common/ihs_mdio.c | 41 ++--- 1 file changed, 34 insertions(+), 7 deletions(-) diff --git a/board/gdsys/common/ihs_mdio.c b/board/gdsys

[U-Boot] [PATCH 1/3] i2c: ihs_i2c: Use new fpgamap interface

2018-03-28 Thread Mario Six
The fpgamap interface has been switched to a "single function + data size" interface. Reflect this change in the IHS I2C driver. Signed-off-by: Mario Six --- drivers/i2c/ihs_i2c.c | 45 - 1 file changed, 24 insertions(+), 21 deletions(-) diff --git a/

[U-Boot] [PATCH 3/3] cmd: Add osd commands

2018-03-28 Thread Mario Six
Add command to query information from and write text to IHS OSDs. Signed-off-by: Mario Six --- cmd/Kconfig | 16 +++ cmd/Makefile | 1 + cmd/osd.c| 366 +++ 3 files changed, 383 insertions(+) create mode 100644 cmd/osd.c diff --gi

[U-Boot] [PATCH 3/3] i2c: fsl: Add option to get clock from DT

2018-03-28 Thread Mario Six
Add an option to get the clock speed from the device tree, hence adding compatibility with DM clock drivers. Signed-off-by: Mario Six --- drivers/i2c/fsl_i2c.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/i2c/fsl_i2c.c b/drivers/i2c/fsl_i2c.c index ad8eea438

[U-Boot] [PATCH 6/8] cpu: Add cpu_print_info function

2018-03-28 Thread Mario Six
Add a cpu_print_info function to the CPU uclass to emulate the behavior of some current non-DM drivers (e.g. MPC83xx) to print CPU information during startup. Signed-off-by: Mario Six --- drivers/cpu/cpu-uclass.c | 10 ++ include/cpu.h| 15 +++ 2 files changed, 25

[U-Boot] [PATCH 4/7] treewide: Migrate CONFIG_DISPLAY_BOARDINFO_LATE to Kconfig

2018-03-28 Thread Mario Six
Migrate the CONFIG_DISPLAY_BOARDINFO_LATE option to Kconfig. Signed-off-by: Mario Six --- common/Kconfig | 9 - include/configs/10m50_devboard.h| 1 - include/configs/3c120_devboard.h| 1 - include/configs/apalis-tk1.h| 1 - include/configs/apalis_imx

[U-Boot] [PATCH 5/8] timer: Add MPC83xx timer driver

2018-03-28 Thread Mario Six
Add a timer driver for the MPC83xx architecture. Signed-off-by: Mario Six --- arch/powerpc/cpu/mpc83xx/cpu.c | 4 +- arch/powerpc/lib/Makefile | 4 ++ arch/powerpc/lib/interrupts.c | 5 +- drivers/timer/Kconfig | 7 ++ drivers/timer/Makefile | 1 + drivers/timer/

[U-Boot] [PATCH 4/7] test: Add AXI test

2018-03-28 Thread Mario Six
Add tests for the AXI uclass. Signed-off-by: Mario Six --- test/dm/Makefile | 1 + test/dm/axi.c| 74 2 files changed, 75 insertions(+) create mode 100644 test/dm/axi.c diff --git a/test/dm/Makefile b/test/dm/Makefile index 513c4561

[U-Boot] [PATCH 2/4] net: Initialize as many ethernet devices as possible

2018-03-28 Thread Mario Six
On devices that have their first network interface provided by a FPGA, the initialization of further interfaces will fail if the FPGA is not yet programmed. This leads to problems during factory setup when the data is supposed to be loaded over secondary netowork interfaces. To avoid this, use the

[U-Boot] [PATCH 2/8] test: Add tests for uclass_{first, next}_device_compat

2018-03-28 Thread Mario Six
Add tests for the uclass_{first,next}_device_compat functions. Signed-off-by: Mario Six --- test/dm/core.c | 29 + 1 file changed, 29 insertions(+) diff --git a/test/dm/core.c b/test/dm/core.c index 052bf8fffb..7df197eb40 100644 --- a/test/dm/core.c +++ b/test/dm/cor

[U-Boot] [PATCH 7/8] cpu: Add MPC83xx CPU driver

2018-03-28 Thread Mario Six
Add a CPU driver for the MPC83xx architecture. Signed-off-by: Mario Six --- arch/powerpc/cpu/mpc83xx/cpu.c | 2 + arch/powerpc/cpu/mpc83xx/cpu_init.c | 2 + arch/powerpc/include/asm/processor.h | 2 + drivers/cpu/Kconfig | 7 + drivers/cpu/Makefile

[U-Boot] [PATCH 2/7] axi: Add AXI sandbox driver and simple emulator

2018-03-28 Thread Mario Six
Add test infrastructure and tests for the AXI uclass. Signed-off-by: Mario Six --- drivers/axi/Kconfig | 6 +++ drivers/axi/Makefile | 3 ++ drivers/axi/axi-emul-uclass.c | 68 drivers/axi/axi_sandbox.c | 61 ++ drivers/ax

[U-Boot] [PATCH 2/3] video_osd: Add ihs_video_out driver

2018-03-28 Thread Mario Six
Add a driver for IHS OSDs on IHS FPGAs. Signed-off-by: Mario Six --- drivers/misc/Kconfig | 6 +- drivers/video/Kconfig | 7 ++ drivers/video/Makefile| 1 + drivers/video/ihs_video_out.c | 277 ++ 4 files changed, 290 inserti

[U-Boot] [PATCH 5/7] cmd: Add axi command

2018-03-28 Thread Mario Six
Add a command to debug the AXI bus. Signed-off-by: Mario Six --- cmd/Kconfig | 8 ++ cmd/Makefile | 2 + cmd/axi.c| 310 +++ 3 files changed, 320 insertions(+) create mode 100644 cmd/axi.c diff --git a/cmd/Kconfig b/cmd/Kconfig i

[U-Boot] [PATCH] cmd: Add command for calculating binary operations

2018-03-28 Thread Mario Six
This patch adds a command that enables the calculation of bit operations (AND, OR, XOR) on binary data from the command line. Memory locations as well as the contents of environment variables are eligible as sources and destination of the binary data used in the operations. The possible applicatio

[U-Boot] [PATCH 7/7] treewide: Convert CONFIG_HOSTNAME to a string option

2018-03-28 Thread Mario Six
CONFIG_HOSTNAME is defined as a "plain" preprocessor string, but every use is couched by __stringify(...). Hence, convert it to a proper string option. Signed-off-by: Mario Six --- include/configs/BSC9131RDB.h | 2 +- include/configs/BSC9132QDS.h | 2 +- include/configs/M520

[U-Boot] [PATCH] gdsys: drivers: Add gdsys_rxaui_ctrl driver

2018-03-28 Thread Mario Six
Add a driver for RXAUI control on IHS FPGAs. Signed-off-by: Mario Six --- drivers/misc/Kconfig| 6 ++- drivers/misc/Makefile | 1 + drivers/misc/gdsys_rxaui_ctrl.c | 91 + 3 files changed, 97 insertions(+), 1 deletion(-) create mod

[U-Boot] [PATCH 2/2] ihs_mdio: Make DM-compatible

2018-03-28 Thread Mario Six
Make the ihs_mdio driver DM-compatible, while retaining the old functionality for not-yet-converted boards. Signed-off-by: Mario Six --- board/gdsys/common/ihs_mdio.c | 38 +- board/gdsys/common/ihs_mdio.h | 5 + 2 files changed, 38 insertions(+), 5 delet

[U-Boot] [PATCH 2/3] i2c: fsl: Use dev_read_addr

2018-03-28 Thread Mario Six
Since bus translations are now fully supported, use a plain "dev_read_addr" to get the device address from the device tree. Signed-off-by: Mario Six --- drivers/i2c/fsl_i2c.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/i2c/fsl_i2c.c b/drivers/i2c/fsl_i2c.c ind

[U-Boot] [PATCH 1/7] treewide: Migrate CONFIG_SYS_ALT_MEMTEST to Kconfig

2018-03-28 Thread Mario Six
Migrate the CONFIG_SYS_ALT_MEMTEST option to Kconfig. Signed-off-by: Mario Six --- README| 3 --- cmd/Kconfig | 9 + configs/T1023RDB_NAND_defconfig | 1 + configs/T1023RDB_SDCARD_defconfig | 1 + configs

[U-Boot] [PATCH 1/3] pci: Don't use pci_indirect when DM is active

2018-03-28 Thread Mario Six
Declaration of indirect PCI bridges is not compatible with DM: Both define PCI operations, but in different ways. Hence, don't use indirect bridges if DM is active. Signed-off-by: Mario Six --- drivers/pci/pci_indirect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers

[U-Boot] [PATCH V3 2/6] net: fec_mxc: simplify fec_get_miibus

2018-03-28 Thread Peng Fan
No need to provide two prototype for this function. Use ulong for the first parameter, then this function could be shared for DM/non DM case. Signed-off-by: Peng Fan Acked-by: Joe Hershberger --- V3: None V2: Drop uneccessary ulong drivers/net/fec_mxc.c | 15 +++ include/netdev.

[U-Boot] [PATCH 7/7] video_display: Add Xilinx LogiCore DP TX

2018-03-28 Thread Mario Six
Add a driver for the Xilinx LogiCORE DisplayPort IP core. Signed-off-by: Mario Six --- drivers/video/Kconfig|8 + drivers/video/Makefile |1 + drivers/video/logicore_dp_dpcd.h | 342 ++ drivers/video/logicore_dp_tx.c | 1974 +++

[U-Boot] [PATCH] reset: Add generic GPIO reset driver

2018-03-28 Thread Mario Six
Some reset lines are implemented by toggling the line via a GPIO. Add a driver to properly drive such reset lines. Signed-off-by: Mario Six --- drivers/reset/Kconfig | 7 drivers/reset/Makefile | 1 + drivers/reset/gpio-reset.c | 100 +++

[U-Boot] [PATCH] gpio: uclass: Fix debug string

2018-03-28 Thread Mario Six
A debug string still has the old name of a function being called; update it. Signed-off-by: Mario Six --- drivers/gpio/gpio-uclass.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/gpio-uclass.c b/drivers/gpio/gpio-uclass.c index 9faf3357af..1fbfdef477 100644 ---

[U-Boot] [PATCH 1/3] drivers: Add OSD uclass

2018-03-28 Thread Mario Six
Some devices offer a text-based OSD (on-screen display) that can be programmatically controlled (i.e. text displayed on). Add a uclass to support such devices. Signed-off-by: Mario Six --- drivers/video/Kconfig| 8 +++ drivers/video/Makefile | 2 + drivers/video/video_

Re: [U-Boot] [PATCH] vxworks: fixed cpu enable using PSCI on armv8

2018-03-28 Thread Vasyl Vavrychuk
Hi, Bin Meng, Thanks for your suggestions. Please find my comments below On Wed, Mar 28, 2018 at 7:36 AM, Bin Meng wrote: > > > > > Tested on VxWorks 7 release SR0520 2017-12-08. > > > > On what board? Intel Stratix 10 DevKit > As I mentioned before, why do you want to use 'bootvx' to boot a >

[U-Boot] [PATCH 1/7] drivers: Add AXI uclass and ihs_axi driver

2018-03-28 Thread Mario Six
Add a uclass for AXI (Advanced eXtensible Interface) busses, and a driver for the gdsys IHS AXI bus on IHS FPGAs. Signed-off-by: Mario Six --- drivers/Kconfig | 2 + drivers/Makefile | 1 + drivers/axi/Kconfig | 24 ++ drivers/axi/Makefile | 9 +++ drivers/ax

[U-Boot] [PATCH 1/4] net: Always align tx packets

2018-03-28 Thread Mario Six
Make sure that TX packets are always cache-aligned. Signed-off-by: Mario Six --- net/arp.c | 3 ++- net/ping.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/net/arp.c b/net/arp.c index 4c79e09ccb..191434f5e2 100644 --- a/net/arp.c +++ b/net/arp.c @@ -182,7 +182,8 @@ vo

[U-Boot] [PATCH 4/4] phylib: Don't re-define CONFIG_PHY_MARVELL

2018-03-28 Thread Mario Six
For certain boards, having CONFIG_PHY_MARVELL in the defconfig will result in a redefinition warning, because it is also defined in config_phylib_all_drivers.h. Add a check to stop this redefinition, but keep it for those boards that still don't have it in their defconfig. Signed-off-by: Mario Si

[U-Boot] [PATCH] cmd: ximg: Respect cache line size for flushing

2018-03-28 Thread Mario Six
Make sure that the cache line size if respected when flushing the cache. Signed-off-by: Mario Six --- cmd/ximg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/ximg.c b/cmd/ximg.c index 21b5c37721..069c6ad39a 100644 --- a/cmd/ximg.c +++ b/cmd/ximg.c @@ -249,7 +249,7 @@ d

[U-Boot] [PATCH 3/3] pci: Add MPC83xx PCIe driver

2018-03-28 Thread Mario Six
Add a PCIe driver for the MPC83xx architecture. Signed-off-by: Mario Six --- arch/powerpc/cpu/mpc83xx/pcie.c | 4 + drivers/pci/Kconfig | 16 ++ drivers/pci/Makefile| 1 + drivers/pci/pcie_mpc83xx.c | 442 4 files changed

[U-Boot] [PATCH] clk: Add ICS8N3QV01 driver

2018-03-28 Thread Mario Six
Add a driver for the ICS8N3QV01 Quad-Frequency Programmable VCXO. Signed-off-by: Mario Six --- drivers/clk/Kconfig | 8 ++ drivers/clk/Makefile | 1 + drivers/clk/ics8n3qv01.c | 231 +++ 3 files changed, 240 insertions(+) create mode 1006

[U-Boot] [PATCH 3/7] sandbox: Add and build AXI bus and device

2018-03-28 Thread Mario Six
Add test AXI drivers to the sandbox. Signed-off-by: Mario Six --- arch/sandbox/dts/sandbox.dts | 11 +++ arch/sandbox/dts/test.dts| 11 +++ configs/sandbox_defconfig| 3 +++ 3 files changed, 25 insertions(+) diff --git a/arch/sandbox/dts/sandbox.dts b/arch/sandbox/dts/s

[U-Boot] [PATCH 6/7] video_display: Add power_on function

2018-03-28 Thread Mario Six
Add a power_on function to the display uclass to allow devices to be probed and powered-on separately. Signed-off-by: Mario Six --- drivers/video/display-uclass.c | 10 ++ include/display.h | 18 ++ 2 files changed, 28 insertions(+) diff --git a/drivers/vide

[U-Boot] [PATCH 2/3] mpc83xx/pci: Register IMMR region

2018-03-28 Thread Mario Six
Register the IMMR region as a PCI region when PCI is used on MPC83xx. Signed-off-by: Mario Six --- drivers/pci/pci-uclass.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/pci/pci-uclass.c b/drivers/pci/pci-uclass.c index ad43e8a27c..0778705f76 100644 --- a/drivers/pci/pci-uclas

[U-Boot] [PATCH] mtd: cfi_flash: Make live-tree compatible

2018-03-28 Thread Mario Six
Make the cfi_flash driver compatible with a live device tree. Signed-off-by: Mario Six --- drivers/mtd/cfi_flash.c | 21 +++-- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c index da44e6184e..e5509fe353 100644 ---

[U-Boot] [PATCH 3/4] tsec: Fix reading phy registers from DT

2018-03-28 Thread Mario Six
Bus translations should be applied when reading the address of the sgmii phy registers from the DT. Use ofnode_get_addr_index instead of the plain ofnode_read_u32_default to fix this. Signed-off-by: Mario Six --- drivers/net/tsec.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff

[U-Boot] [PATCH V3 4/6] net: fec: sharing MDIO for two enet controllers

2018-03-28 Thread Peng Fan
On i.MX6SX, 6UL and 7D, there are two enet controllers each has a MDIO port. But Some boards share one MDIO port for the two enets. So introduce a configuration CONFIG_FEC_MXC_MDIO_BASE to indicate the MDIO port for sharing. In Kconfig, user needs enable CONFIG_FEC_MXC_SHARE_MDIO first to enter the

[U-Boot] [PATCH V3 5/6] net: fex_mxc: add i.MX6UL/SX/SL compatible

2018-03-28 Thread Peng Fan
Add i.MX6UL/SX/SL compatible. Signed-off-by: Peng Fan Acked-by: Joe Hershberger --- V3: None V2: None drivers/net/fec_mxc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/fec_mxc.c b/drivers/net/fec_mxc.c index ba66c2f95a..765226e3ab 100644 --- a/drivers/net/fec_mxc.c +++

[U-Boot] [PATCH V3 3/6] net: fec: set dev->seq to priv->dev_id

2018-03-28 Thread Peng Fan
To platforms has two enet interface, using dev->seq could avoid conflict. i.MX6UL/ULL evk board net get the wrong MAC address from fuse, eth1 get MAC0 address, eth0 get MAC1 address from fuse. Set the priv->dev_id to device->seq as the real net interface alias id then .fec_get_hwaddr() read the re

[U-Boot] [PATCH V3 6/6] net: fec: Fix issue in DM probe timeout

2018-03-28 Thread Peng Fan
From: Ye Li Since the probe function has changed to reset FEC controller prior than setup PHY. If reset FEC controller timeout, the priv->phydev is not initialized, so can't free it. Signed-off-by: Ye Li --- V3: New drivers/net/fec_mxc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-

[U-Boot] [PATCH V3 1/6] net: fec_mxc: Fix DM driver issue in recv

2018-03-28 Thread Peng Fan
From: Ye Li When using ethernet DM driver, the recv interface has a change with non-DM interface, that driver needs to set the packet pointer and provide it to upper layer to process. In fec driver, the fecmxc_recv functions does not handle the packet pointer parameter. This may cause crash in u

Re: [U-Boot] [PATCH 0/4] Meson clock driver

2018-03-28 Thread Neil Armstrong
On 28/03/2018 12:52, Beniamino Galvani wrote: > 2018-03-28 10:59 GMT+02:00 Neil Armstrong : > >> Do you plan to re-send the driver soon ? > > Yes, I plan to submit it again in the next days. > > Beniamino > Cool ! Thanks ! Can you base it after my "ARM: meson: rename GXBB to GX" patch ? It wi

Re: [U-Boot] [PATCH v4 13/19] sunxi: DT: A64: update board .dts files from Linux

2018-03-28 Thread Andre Przywara
Hi, On 28/03/18 10:52, Jagan Teki wrote: > On Wed, Mar 28, 2018 at 4:23 AM, André Przywara > wrote: >> On 27/03/18 18:58, Jagan Teki wrote: >>> On Sat, Mar 24, 2018 at 6:37 AM, André Przywara >>> wrote: On 23/03/18 18:14, Jagan Teki wrote: > On Wed, Mar 14, 2018 at 7:27 AM, Andre Przy

[U-Boot] [PATCH 0/6] arm: Fix zynq DTS file with mainline Linux kernel

2018-03-28 Thread Michal Simek
Hi, with reviewing new Xilinx platforms for Linux kernel some issues were found which should be fixed. Also Kernel adopted SPDX that's why position has changed. Based on my talk with Tom it is not a problem to adopt Linux kernel style and keep these dts in sync. Thanks, Michal Javier Martinez C

[U-Boot] [PATCH 1/6] arm: zynq: Remove 0x prefixes from cc108

2018-03-28 Thread Michal Simek
The patch fixing issues reported by DTC: zynq-cc108.dtb: Warning (unit_address_format): Node /amba/spi@e000d000/flash@0/partition@0x40 unit name should not have leading "0x" zynq-cc108.dtb: Warning (unit_address_format): Node /amba/spi@e000d000/flash@0/partition@0x80 unit name should not ha

[U-Boot] [PATCH 6/6] arm: zynq: Use fixed partitions for spi flash for zc770 xm010

2018-03-28 Thread Michal Simek
Sync with mainline. Signed-off-by: Michal Simek --- arch/arm/dts/zynq-zc770-xm010.dts | 15 +-- 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/arch/arm/dts/zynq-zc770-xm010.dts b/arch/arm/dts/zynq-zc770-xm010.dts index 2c594b7ecc6c..a779672f3add 100644 --- a/arch/arm

[U-Boot] [PATCH 3/6] arm: zynq: Use i2c-mux instead of i2cswitch for pca9548

2018-03-28 Thread Michal Simek
i2c muxes should described like this. Signed-off-by: Michal Simek --- arch/arm/dts/zynq-zc702.dts | 2 +- arch/arm/dts/zynq-zc706.dts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/dts/zynq-zc702.dts b/arch/arm/dts/zynq-zc702.dts index b95c1608d220..1410c4d7b6bd

[U-Boot] [PATCH 4/6] ARM: dts: zynq: Add generic compatible string for I2C EEPROM

2018-03-28 Thread Michal Simek
From: Javier Martinez Canillas The at24 driver allows to register I2C EEPROM chips using different vendor and devices, but the I2C subsystem does not take the vendor into account when matching using the I2C table since it only has device entries. But when matching using an OF table, both the ven

[U-Boot] [PATCH 5/6] arm: zynq: Fix eeprom dt nodes

2018-03-28 Thread Michal Simek
- Use eeprom for node name - Use atmel compatible string instead of at. - Add missing labels Signed-off-by: Michal Simek --- arch/arm/dts/zynq-zc770-xm010.dts | 4 ++-- arch/arm/dts/zynq-zc770-xm011.dts | 4 ++-- arch/arm/dts/zynq-zc770-xm012.dts | 8 arch/arm/dts/zynq-zc770-xm013.dts

[U-Boot] [PATCH 2/6] arm: zynq: Sync up licenses with mainline kernel

2018-03-28 Thread Michal Simek
Use different location for SPDX line. Also update dates for new mainline DTS files. Signed-off-by: Michal Simek --- arch/arm/dts/zynq-cc108.dts | 5 ++--- arch/arm/dts/zynq-zc702.dts | 5 + arch/arm/dts/zynq-zc706.dts | 5 + arch/arm/dts/zynq-zc770-xm010.dts | 5 ++---

[U-Boot] [PATCH] clk: zynqmp: Add new compatible string for clock driver

2018-03-28 Thread Michal Simek
New and old clk drivers are sharing IDs and descriptions. Signed-off-by: Michal Simek --- drivers/clk/clk_zynqmp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/clk_zynqmp.c b/drivers/clk/clk_zynqmp.c index 4ef8662af560..d0d6c898bc58 100644 --- a/drivers/clk/clk_zynqmp.c +++ b

[U-Boot] [PATCH 0/3] fpga: zynqmp: Fpga changes

2018-03-28 Thread Michal Simek
Hi, these patches are syncing latest firmware expectation and showing information about fpga status. Thanks, Michal Nitin Jain (1): fpga: zynqmp: Add support to get the PCAP status for fpga info command Siva Durga Prasad Paladugu (2): fpga: zynqmp: Update zynqmp_load() as per latest xilfpg

[U-Boot] [PATCH 1/3] fpga: zynqmp: Add support to get the PCAP status for fpga info command

2018-03-28 Thread Michal Simek
From: Nitin Jain This patch adds support for ZynqMP platform to print FPGA PCAP status for "fpga status" command. Signed-off-by: Nitin Jain Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- drivers/fpga/zynqmppl.c | 14 ++ include/zynqmppl.h | 1 +

[U-Boot] [PATCH 3/3] fpga: zynqmp: Fix the nonsecure bitstream loading issue

2018-03-28 Thread Michal Simek
From: Siva Durga Prasad Paladugu Xilfpga library expects the size of bitstream in a pointer but currenly we are passing the size as a value. This patch fixes this issue. Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Nava kishore Manne Signed-off-by: Michal Simek --- drivers/fpga/

[U-Boot] [PATCH 2/3] fpga: zynqmp: Update zynqmp_load() as per latest xilfpga

2018-03-28 Thread Michal Simek
From: Siva Durga Prasad Paladugu Latest xilfpga expects to set BIT5 of flags for nonsecure bitsream and also expects length in bytes instead of words This patch does the same. Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- arch/arm/include/asm/arch-zynqmp/sys_proto

[U-Boot] [PATCH] fpga: zynq: Add delay after PCFG_PROG_B change

2018-03-28 Thread Michal Simek
From: Siva Durga Prasad Paladugu There is delay needed after PCFG_PROGB change if AES key source is efuse. This fixes the issue of encrypted bitstream loading with AES efuse as key source. Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- drivers/fpga/zynqpl.c | 16 ++

[U-Boot] [PATCH] nand: arasan_nfc: Fixed NAND write issue

2018-03-28 Thread Michal Simek
From: Vipul Kumar In commit 2453c695185f ("arm64: zynqmp: nand: Fixed NAND erase issue for size 1GiB or more"), ARASAN_NAND_MEM_ADDR1_PAGE_MASK macro changed to 0x and the same macro is used in nand write and so that getting nand write error. This patch reverted this macro to the 0x a

[U-Boot] [PATCH] axi: ethernet: Added support for 64 bit addressing for axi-ethernet

2018-03-28 Thread Michal Simek
From: Vipul Kumar This patch uses writeq() function to enable greater than 32 bit addressing of axi-ethernet for the ZynqMP devices. Signed-off-by: Vipul Kumar Signed-off-by: Michal Simek --- drivers/net/xilinx_axi_emac.c | 33 + 1 file changed, 25 insertions(

[U-Boot] [PATCH] net: phy: xilinx_phy: Read phytype using property xlnx, phy-type

2018-03-28 Thread Michal Simek
From: Siva Durga Prasad Paladugu This patch reads phytype from property "xlnx,phy-type" instead od simply looking for "phy-type". This is to be inline with Linux and also fixes the issue of detecting it wrongly in u-boot. Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --

[U-Boot] [PATCH] arm64: zynqmp: Enable pxe and dhcp if commands are enabled

2018-03-28 Thread Michal Simek
Targets without net can't use pxe or dhcp boot methods. Signed-off-by: Michal Simek --- include/configs/xilinx_zynqmp.h | 16 ++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/include/configs/xilinx_zynqmp.h b/include/configs/xilinx_zynqmp.h index 8c0b5d9c06ae..635

[U-Boot] [PATCH 0/4] arm64: zynqmp: Enable various kconfig features

2018-03-28 Thread Michal Simek
This patchset is enabling missing options were the most interesting one is SPL_ATF which permits to boot system from one fit image file. Thanks, Michal Luca Ceresoli (1): arm64: zynqmp: Enable booting to ATF Michal Simek (3): arm64: zynqmp: Enable ethernet phys for zc1751 dc5 arm64: zynq

[U-Boot] [PATCH 1/4] arm64: zynqmp: Enable booting to ATF

2018-03-28 Thread Michal Simek
From: Luca Ceresoli U-Boot is now able to boot to ARM Trusted Firmware (ATF). The boot flow is SPL(EL3) loads ATF and full u-boot and jump to ATF(EL3) which pass control to full u-boot(EL2). This has been tested on zcu106, so enable it in this defconfig. To generate an image that triggers this b

[U-Boot] [PATCH 3/4] arm64: zynqmp: Enable mac address randomization for zc1751 dc5

2018-03-28 Thread Michal Simek
There is no memory which stores mac address that's why generate it. Signed-off-by: Michal Simek --- configs/xilinx_zynqmp_zc1751_xm019_dc5_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/xilinx_zynqmp_zc1751_xm019_dc5_defconfig b/configs/xilinx_zynqmp_zc1751_xm019_dc5_def

[U-Boot] [PATCH 2/4] arm64: zynqmp: Enable ethernet phys for zc1751 dc5

2018-03-28 Thread Michal Simek
Enable ethernet phys for zc1751 dc5. Signed-off-by: Michal Simek --- configs/xilinx_zynqmp_zc1751_xm019_dc5_defconfig | 6 ++ 1 file changed, 6 insertions(+) diff --git a/configs/xilinx_zynqmp_zc1751_xm019_dc5_defconfig b/configs/xilinx_zynqmp_zc1751_xm019_dc5_defconfig index 3dca21dc1650

[U-Boot] [PATCH 4/4] arm64: zynqmp: Enable Fixed link support

2018-03-28 Thread Michal Simek
This patch enables the fixed link support for all ZynqMP boards. Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- configs/xilinx_zynqmp_zc1751_xm015_dc1_defconfig | 1 + configs/xilinx_zynqmp_zc1751_xm016_dc2_defconfig | 1 + configs/xilinx_zynqmp_zc1751_xm018_dc4_defc

[U-Boot] [PATCH 0/2] arm64: zynqmp: Add missing psu_init configuration files

2018-03-28 Thread Michal Simek
Hi, this patchset is adding missing low level configuration files for current boards supported by U-Boot. Thanks, Michal Michal Simek (2): arm64: zynqmp: Add low level initialization for zcu102-revA arm64: zynqmp: Add low level initialization for zc1751 .../zynqmp/zynqmp-zc1751-xm015-dc1/

[U-Boot] [PATCH 1/2] arm64: zynqmp: Add low level initialization for zcu102-revA

2018-03-28 Thread Michal Simek
Add psu init for zcu102-revA. Signed-off-by: Michal Simek --- .../zynqmp/zynqmp-zcu102-revA/psu_init_gpl.c | 826 + 1 file changed, 826 insertions(+) create mode 100644 board/xilinx/zynqmp/zynqmp-zcu102-revA/psu_init_gpl.c diff --git a/board/xilinx/zynqmp/zynqmp-zcu1

[U-Boot] [PATCH 0/6] arm64: zynqmp: Add new platforms to u-boot

2018-03-28 Thread Michal Simek
Hi, all these platforms are waiting in linux-next for merging that's why make sense to support them also in uboot. zcu100, zcu104, zcu106, zcu111 are customer boards zc12XX and zc1751 are internal boards. Thanks, Michal Michal Simek (6): arm64: zynqmp: Add support for zcu100 aka 96ultra board

[U-Boot] [PATCH 1/6] arm64: zynqmp: Add support for zcu100 aka 96ultra board

2018-03-28 Thread Michal Simek
Add support for Xilinx zcu100. Signed-off-by: Michal Simek --- arch/arm/dts/Makefile | 1 + arch/arm/dts/zynqmp-zcu100-revC.dts| 580 .../zynqmp/zynqmp-zcu100-revC/psu_init_gpl.c | 993 + configs/xilinx_zynqmp

[U-Boot] [PATCH 4/6] arm64: zynqmp: Add support for zcu104 customer board

2018-03-28 Thread Michal Simek
Xilinx zcu104 is another customer board. It is sort of zcu102 clone with some differences. Signed-off-by: Michal Simek --- arch/arm/dts/Makefile | 2 + arch/arm/dts/zynqmp-zcu104-revA.dts| 481 +++ arch/arm/dts/zynqmp-zcu104-revC.dts

  1   2   >