[U-Boot] [PATCH 2/8] ARM: rmobile: Represent SF partitioning with mtdparts on Alt

2018-06-01 Thread Marek Vasut
Add mtdparts description for the board. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- configs/alt_defconfig | 5 + 1 file changed, 5 insertions(+) diff --git a/configs/alt_defconfig b/configs/alt_defconfig index b0b864c1a1..49f344babd 100644 --- a/configs/alt_defconfig +++

[U-Boot] [PATCH 1/8] ARM: rmobile: Enable MTD partitioning on Gen2 with SF

2018-06-01 Thread Marek Vasut
Enable MTD partitioning support on Gen2 boards with SPI NORs. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- include/configs/rcar-gen2-common.h | 8 1 file changed, 8 insertions(+) diff --git a/include/configs/rcar-gen2-common.h b/include/configs/rcar-gen2-common.h index

[U-Boot] [PATCH 08/15] gpio: rmobile: Add R8A77990 E3 compatible

2018-06-01 Thread Marek Vasut
Add new compatible to the GPIO driver for R8A77990 E3 SoC. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- drivers/gpio/gpio-rcar.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpio/gpio-rcar.c b/drivers/gpio/gpio-rcar.c index b46621f76b..6fd1270640 100644 ---

[U-Boot] [PATCH 06/15] pinctrl: renesas: Add PORT_GP_11 helper macro

2018-06-01 Thread Marek Vasut
From: Takeshi Kihara This follows the style of existion PORT_GP_X macros and will be used by a follow-up patch for the r8a77990 SoC. Signed-off-by: Takeshi Kihara Cc: Nobuhiro Iwamatsu --- drivers/pinctrl/renesas/sh_pfc.h | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff

[U-Boot] [PATCH 01/15] clk: renesas: Fix swapped arguments in debug message

2018-06-01 Thread Marek Vasut
The mul and div arguments were reported in reverse order in the debug message, swap them to fix this. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- drivers/clk/renesas/clk-rcar-gen3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/renesas/clk-rcar-gen3.c

[U-Boot] [PATCH 13/15] ARM: dts: rmobile: Add Renesas Ebisu board support

2018-06-01 Thread Marek Vasut
From: Takeshi Kihara Basic support for the Renesas Ebisu board based on R-Car E3: - Memory, - Main crystal, - Serial console, Signed-off-by: Takeshi Kihara [shimoda: rebase and add SPDX-License-Identifier] Signed-off-by: Yoshihiro Shimoda Signed-off-by: Marek Vasut Cc: Nobuhiro

[U-Boot] [PATCH 09/15] mmc: renesas-sdhi: Add R8A77990 E3 compatible

2018-06-01 Thread Marek Vasut
Add new compatible to the Uniphier SD driver for R8A77990 E3 SoC. Signed-off-by: Marek Vasut Cc: Masahiro Yamada Cc: Nobuhiro Iwamatsu --- drivers/mmc/renesas-sdhi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mmc/renesas-sdhi.c b/drivers/mmc/renesas-sdhi.c index

Re: [U-Boot] [PATCH] spi: cadence_qspi: Fix compilation warning

2018-06-01 Thread Marek Vasut
On 05/07/2018 11:42 AM, Ley Foon Tan wrote: > Cast data_bytes to integer. > > Compilation warning as below: > > In file included from include/linux/bug.h:7:0, > from include/common.h:26, > from drivers/spi/cadence_qspi.c:8: > drivers/spi/cadence_qspi.c: In

Re: [U-Boot] [PATCH] spi: cadence_qspi: Fix compilation warning

2018-06-01 Thread Ley Foon Tan
On Fri, Jun 1, 2018 at 4:07 PM, Marek Vasut wrote: > On 05/07/2018 11:42 AM, Ley Foon Tan wrote: >> Cast data_bytes to integer. >> >> Compilation warning as below: >> >> In file included from include/linux/bug.h:7:0, >> from include/common.h:26, >> from

Re: [U-Boot] [PATCH] spi: cadence_qspi: Fix warning cast from pointer to integer of different size

2018-06-01 Thread Ley Foon Tan
On Fri, Jun 1, 2018 at 4:07 PM, Marek Vasut wrote: > On 05/07/2018 11:42 AM, Ley Foon Tan wrote: >> Cast to ulong data type. >> >> Compilation warning as below: >> >> CC spl/drivers/spi/cadence_qspi_apb.o >> LD spl/lib/built-in.o >> drivers/spi/cadence_qspi_apb.c: In function >>

[U-Boot] build fail due to dependence error

2018-06-01 Thread Kever Yang
Hi Guys, I met below error from time to time when build U-Boot project. fixdep: error opening config file: arch/arm/include/asm/arch/hardware.h: No such file or directory     The folder 'arch/arm/include/asm/arch' is a link for 'arch/arm/include/asm/arch-rockchip', which is dynamic

Re: [U-Boot] [PATCH] spi: cadence_qspi: Fix compilation warning

2018-06-01 Thread Marek Vasut
On 06/01/2018 10:52 AM, Ley Foon Tan wrote: > Use "%lu" for size_t data type. > > Compilation warning as below: > > In file included from include/linux/bug.h:7:0, > from include/common.h:26, > from drivers/spi/cadence_qspi.c:8: > drivers/spi/cadence_qspi.c: In

Re: [U-Boot] [PULL] u-boot-socfpga/master

2018-06-01 Thread Marek Vasut
On 06/01/2018 02:23 AM, Tom Rini wrote: > On Thu, May 31, 2018 at 08:06:50PM +0200, Marek Vasut wrote: > >> The following changes since commit c3c863880479edeb5b08226e622d13c91326e4a7: >> >> add FIT data-position & data-offset property support (2018-05-26 >> 18:19:19 -0400) >> >> are available

[U-Boot] [PATCH 6/8] ARM: rmobile: Represent SF partitioning with mtdparts on Porter

2018-06-01 Thread Marek Vasut
Add mtdparts description for the board. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- configs/porter_defconfig | 5 + 1 file changed, 5 insertions(+) diff --git a/configs/porter_defconfig b/configs/porter_defconfig index b04627efa3..0588387cbd 100644 --- a/configs/porter_defconfig

[U-Boot] [PATCH 14/15] ARM: renesas: Add R8A77990 E3 Ebisu board

2018-06-01 Thread Marek Vasut
Add support for the R8A77990 Ebisu board. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- arch/arm/dts/r8a77990-ebisu-u-boot.dts | 10 arch/arm/dts/r8a77990-u-boot.dtsi | 9 arch/arm/mach-rmobile/Kconfig.64 | 6 +++ board/renesas/ebisu/Kconfig| 15 ++

Re: [U-Boot] [PATCH] arm: socfpga: Add do_bridge_reset for Arria 10

2018-06-01 Thread Marek Vasut
On 06/01/2018 10:13 AM, Ley Foon Tan wrote: > Add do_bridge_reset() function for Arria 10, it is required by misc.c. > > arch/arm/mach-socfpga/built-in.o: In function `do_bridge': > arch/arm/mach-socfpga/misc.c:221: undefined reference to `do_bridge_reset' > make[1]: *** [u-boot] Error 1 > >

Re: [U-Boot] [PATCH v3 1/2] sunxi-mmc: use new mode on A64

2018-06-01 Thread Maxime Ripard
On Thu, May 31, 2018 at 09:43:20AM -0700, Vasily Khoruzhick wrote: > On Thu, May 31, 2018 at 5:00 AM, Maxime Ripard > wrote: > > On Wed, May 30, 2018 at 09:02:18PM -0700, Vasily Khoruzhick wrote: > >> That is necessary for using automatic calibration on A64 eMMC. > >> > >> Signed-off-by: Vasily

[U-Boot] [PATCH] spi: cadence_qspi: Fix warning cast from pointer to integer of different size

2018-06-01 Thread Ley Foon Tan
Use "%p" to print cmdbuf. Compilation warning as below: CC spl/drivers/spi/cadence_qspi_apb.o LD spl/lib/built-in.o drivers/spi/cadence_qspi_apb.c: In function ‘cadence_qspi_apb_indirect_write_setup’: drivers/spi/cadence_qspi_apb.c:696:18: warning: cast from pointer to integer of

Re: [U-Boot] [U-Boot,1/1] Remove snapshot.commit

2018-06-01 Thread Heinrich Schuchardt
On 05/31/2018 08:17 PM, Tom Rini wrote: > On Sun, May 27, 2018 at 07:54:16PM +0200, Heinrich Schuchardt > wrote: > >> The file is not referenced anywhere. To display a change log we >> have the 'git log' command. >> >> Signed-off-by: Heinrich Schuchardt > > Applied to u-boot/master, thanks! >

[U-Boot] [PATCH] spi: cadence_qspi: Fix compilation warning

2018-06-01 Thread Ley Foon Tan
Use "%lu" for size_t data type. Compilation warning as below: In file included from include/linux/bug.h:7:0, from include/common.h:26, from drivers/spi/cadence_qspi.c:8: drivers/spi/cadence_qspi.c: In function ‘cadence_spi_xfer’:

[U-Boot] [PATCH 03/15] clk: renesas: Add PLL1 and PLL3 dividers

2018-06-01 Thread Marek Vasut
Add and use the PLL1 and PLL3 dividers. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- drivers/clk/renesas/clk-rcar-gen3.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/drivers/clk/renesas/clk-rcar-gen3.c b/drivers/clk/renesas/clk-rcar-gen3.c index

[U-Boot] [PATCH 04/15] clk: renesas: Add PE clock handling

2018-06-01 Thread Marek Vasut
The PE clock have two parents, add support for picking the correct one and deriving the clock from it. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- drivers/clk/renesas/clk-rcar-gen3.c | 40 + drivers/clk/renesas/rcar-gen3-cpg.h | 6 -- 2 files

[U-Boot] [PATCH 07/15] pinctrl: renesas: Initial R8A77990 PFC support

2018-06-01 Thread Marek Vasut
This patch adds initial pinctrl driver to support for the R8A77990 SoC. Signed-off-by: Takeshi Kihara Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- drivers/pinctrl/renesas/Kconfig| 11 + drivers/pinctrl/renesas/Makefile |1 + drivers/pinctrl/renesas/pfc-r8a77990.c |

[U-Boot] [PATCH 15/15] ARM: dts: rmobile: Sync R8A77990 Ebisu DTS with Linux

2018-06-01 Thread Marek Vasut
Import the R8A77990 and Ebisu DTS from linux-next to get the latest version. This makes AVB ethernet work in U-Boot since the ethernet node is now present in DT, as well as GPIOs. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- arch/arm/dts/r8a77990-ebisu.dts | 28 +

[U-Boot] [PATCH 12/15] ARM: dts: rmobile: Add Renesas R8A77990 SoC support

2018-06-01 Thread Marek Vasut
From: Yoshihiro Shimoda This patch adds basic support for the Renesas R-Car E3 (R8A77990) SoC: - PSCI - CPU (single) - Cache controller - Main clocks and controller - Interrupt controller - Timer - PMU - Reset controller - Product register - System controller - UART for

Re: [U-Boot] [PULL] u-boot-socfpga/master

2018-06-01 Thread Marek Vasut
On 06/01/2018 09:30 AM, Ley Foon Tan wrote: > On Fri, Jun 1, 2018 at 2:31 PM, Marek Vasut wrote: >> On 06/01/2018 02:23 AM, Tom Rini wrote: >>> On Thu, May 31, 2018 at 08:06:50PM +0200, Marek Vasut wrote: >>> The following changes since commit c3c863880479edeb5b08226e622d13c91326e4a7:

[U-Boot] [PATCH] arm: socfpga: Add do_bridge_reset for Arria 10

2018-06-01 Thread Ley Foon Tan
Add do_bridge_reset() function for Arria 10, it is required by misc.c. arch/arm/mach-socfpga/built-in.o: In function `do_bridge': arch/arm/mach-socfpga/misc.c:221: undefined reference to `do_bridge_reset' make[1]: *** [u-boot] Error 1 Signed-off-by: Ley Foon Tan ---

Re: [U-Boot] [PATCH] arm: socfpga: Add do_bridge_reset for Arria 10

2018-06-01 Thread Marek Vasut
On 06/01/2018 10:13 AM, Ley Foon Tan wrote: > Add do_bridge_reset() function for Arria 10, it is required by misc.c. > > arch/arm/mach-socfpga/built-in.o: In function `do_bridge': > arch/arm/mach-socfpga/misc.c:221: undefined reference to `do_bridge_reset' > make[1]: *** [u-boot] Error 1 > >

Re: [U-Boot] [PATCH] spi: cadence_qspi: Fix warning cast from pointer to integer of different size

2018-06-01 Thread Marek Vasut
On 06/01/2018 10:52 AM, Ley Foon Tan wrote: > Use "%p" to print cmdbuf. > > Compilation warning as below: > > CC spl/drivers/spi/cadence_qspi_apb.o > LD spl/lib/built-in.o > drivers/spi/cadence_qspi_apb.c: In function > ‘cadence_qspi_apb_indirect_write_setup’: >

Re: [U-Boot] inappropriate PCI configuration on arm64 qemu?

2018-06-01 Thread Tuomas Tynkkynen
On 06/01/2018 10:21 AM, AKASHI Takahiro wrote: Tuomas, On Thu, May 31, 2018 at 01:32:20PM +0300, Tuomas Tynkkynen wrote: Hi Akashi, On 05/31/2018 08:05 AM, AKASHI Takahiro wrote: Simon, On Wed, May 30, 2018 at 01:18:30PM -0600, Simon Glass wrote: +Tuomas Hi Akashi, On 28 May 2018 at

Re: [U-Boot] [PULL] u-boot-socfpga/master

2018-06-01 Thread Ley Foon Tan
On Fri, Jun 1, 2018 at 2:31 PM, Marek Vasut wrote: > On 06/01/2018 02:23 AM, Tom Rini wrote: >> On Thu, May 31, 2018 at 08:06:50PM +0200, Marek Vasut wrote: >> >>> The following changes since commit c3c863880479edeb5b08226e622d13c91326e4a7: >>> >>> add FIT data-position & data-offset property

Re: [U-Boot] [RFC 3/3] efi_selftest: test writing to file

2018-06-01 Thread Heinrich Schuchardt
On 06/01/2018 09:13 AM, AKASHI, Takahiro wrote: > Heinrich, > > On Sat, May 26, 2018 at 10:34:47AM +0200, Heinrich Schuchardt wrote: >> Signed-off-by: Heinrich Schuchardt >> --- >> lib/efi_selftest/efi_selftest_block_device.c | 56 >> 1 file changed, 56 insertions(+) >> >>

[U-Boot] [PATCH 8/8] ARM: rmobile: Represent SF partitioning with mtdparts on Stout

2018-06-01 Thread Marek Vasut
Add mtdparts description for the board. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- configs/stout_defconfig | 5 + 1 file changed, 5 insertions(+) diff --git a/configs/stout_defconfig b/configs/stout_defconfig index d940932baf..1a9e6ce366 100644 --- a/configs/stout_defconfig +++

[U-Boot] [PATCH 3/8] ARM: rmobile: Represent SF partitioning with mtdparts on Gose

2018-06-01 Thread Marek Vasut
Add mtdparts description for the board. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- configs/gose_defconfig | 5 + 1 file changed, 5 insertions(+) diff --git a/configs/gose_defconfig b/configs/gose_defconfig index 8479887604..4b8c5a4aea 100644 --- a/configs/gose_defconfig +++

[U-Boot] [PATCH 5/8] ARM: rmobile: Represent SF partitioning with mtdparts on Lager

2018-06-01 Thread Marek Vasut
Add mtdparts description for the board. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- configs/lager_defconfig | 5 + 1 file changed, 5 insertions(+) diff --git a/configs/lager_defconfig b/configs/lager_defconfig index 70083bcbfe..0eaf33d7f8 100644 --- a/configs/lager_defconfig +++

[U-Boot] [PATCH 4/8] ARM: rmobile: Represent SF partitioning with mtdparts on Koelsch

2018-06-01 Thread Marek Vasut
Add mtdparts description for the board. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- configs/koelsch_defconfig | 5 + 1 file changed, 5 insertions(+) diff --git a/configs/koelsch_defconfig b/configs/koelsch_defconfig index faca596115..39d5805f94 100644 ---

[U-Boot] [PATCH 7/8] ARM: rmobile: Represent SF partitioning with mtdparts on Silk

2018-06-01 Thread Marek Vasut
Add mtdparts description for the board. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- configs/silk_defconfig | 5 + 1 file changed, 5 insertions(+) diff --git a/configs/silk_defconfig b/configs/silk_defconfig index a1c4e5cde3..9a9301e7e0 100644 --- a/configs/silk_defconfig +++

[U-Boot] [PATCH 05/15] clk: renesas: Add R8A77990 E3 clock tables

2018-06-01 Thread Marek Vasut
Add clock tables for R8A77990 E3 SoC . Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- drivers/clk/renesas/Kconfig | 7 + drivers/clk/renesas/Makefile | 1 + drivers/clk/renesas/r8a77990-cpg-mssr.c | 303 ++

[U-Boot] [PATCH 11/15] ARM: renesas: Add R8A77990 E3 SoC ID

2018-06-01 Thread Marek Vasut
Add ID and Kconfig entry for the Renesas R8A77990 E3 SoC. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- arch/arm/mach-rmobile/Kconfig.64 | 3 +++ arch/arm/mach-rmobile/cpu_info.c | 1 + arch/arm/mach-rmobile/include/mach/rmobile.h | 1 + 3 files changed, 5

[U-Boot] [PATCH 02/15] clk: renesas: Pass clock rate around as 64bit number internally

2018-06-01 Thread Marek Vasut
The PLL rate could be in the GHz range, which could overflow a 32bit data type. Since the hardware is 64bit anyway, pass the clock rates as 64bit number internally to avoid this. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- drivers/clk/renesas/clk-rcar-gen3.c | 56

Re: [U-Boot] [PULL] u-boot-socfpga/master

2018-06-01 Thread Ley Foon Tan
On Fri, Jun 1, 2018 at 3:49 PM, Marek Vasut wrote: > On 06/01/2018 09:30 AM, Ley Foon Tan wrote: >> On Fri, Jun 1, 2018 at 2:31 PM, Marek Vasut wrote: >>> On 06/01/2018 02:23 AM, Tom Rini wrote: On Thu, May 31, 2018 at 08:06:50PM +0200, Marek Vasut wrote: > The following changes

[U-Boot] [PATCH v4 0/4] drivers: Add reset ctrl to drivers

2018-06-01 Thread Ley Foon Tan
Add reset ctrl to dwmmc socfpga, designware Ethernet and ns16550 serial drivers. A reset property is an optional feature, so only print out a warning and do not fail if a reset property is not present. If a reset property is discovered, then use it to deassert, thus bringing the IP out of

Re: [U-Boot] [PATCH] spi: cadence_qspi: Fix warning cast from pointer to integer of different size

2018-06-01 Thread Marek Vasut
On 05/07/2018 11:42 AM, Ley Foon Tan wrote: > Cast to ulong data type. > > Compilation warning as below: > > CC spl/drivers/spi/cadence_qspi_apb.o > LD spl/lib/built-in.o > drivers/spi/cadence_qspi_apb.c: In function > ‘cadence_qspi_apb_indirect_write_setup’: >

Re: [U-Boot] [PULL] u-boot-socfpga/master

2018-06-01 Thread Marek Vasut
On 06/01/2018 10:03 AM, Ley Foon Tan wrote: > On Fri, Jun 1, 2018 at 3:49 PM, Marek Vasut wrote: >> On 06/01/2018 09:30 AM, Ley Foon Tan wrote: >>> On Fri, Jun 1, 2018 at 2:31 PM, Marek Vasut wrote: On 06/01/2018 02:23 AM, Tom Rini wrote: > On Thu, May 31, 2018 at 08:06:50PM +0200,

Re: [U-Boot] [PATCH] spi: cadence_qspi: Change to use devfdt_get_addr_index()

2018-06-01 Thread Marek Vasut
On 05/07/2018 11:42 AM, Ley Foon Tan wrote: > Change to use devfdt_get_addr_index() function to get fdt address. > > Original code has compilation warning below: > > drivers/spi/cadence_qspi.c: In function ‘cadence_spi_ofdata_to_platdata’: > drivers/spi/cadence_qspi.c:297:18: warning: cast to

[U-Boot] [PATCH v4 3/4] serial: ns16550: Add reset ctrl to driver

2018-06-01 Thread Ley Foon Tan
Add code to reset all reset signals as in serial DT node. A reset property is an optional feature, so do not fail if a reset property is not present. If a reset property is discovered, then use it to deassert, thus bringing the IP out of reset. Signed-off-by: Ley Foon Tan Reviewed-by: Marek

[U-Boot] [PATCH v4 2/4] mmc: dwmmc: socfpga: Add reset ctrl to driver

2018-06-01 Thread Ley Foon Tan
Add code to reset all reset signals as in mmc DT node. A reset property is an optional feature, so only print out a warning and do not fail if a reset property is not present. If a reset property is discovered, then use it to deassert, thus bringing the IP out of reset. Signed-off-by: Ley Foon

[U-Boot] [PATCH v4 1/4] include: reset: check CONFIG_SPL_RESET_SUPPORT

2018-06-01 Thread Ley Foon Tan
Add checking for CONFIG_SPL_RESET_SUPPORT to fix compilation error when CONFIG_DM_RESET is enabled but CONFIG_SPL_RESET_SUPPORT is disabled in SPL build. Signed-off-by: Ley Foon Tan --- include/reset.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/reset.h

[U-Boot] [PATCH v4 4/4] net: designware: Add reset ctrl to driver

2018-06-01 Thread Ley Foon Tan
Add code to reset all reset signals as in Ethernet DT node. A reset property is an optional feature, so only print out a warning and do not fail if a reset property is not present. If a reset property is discovered, then use it to deassert, thus bringing the IP out of reset. Signed-off-by: Ley

Re: [U-Boot] [PATCH] sunxi: allow CONFIG_DEFAULT_FDT_FILE override

2018-06-01 Thread Jagan Teki
On Fri, Jun 1, 2018 at 1:32 AM, Martin Kelly wrote: > On 05/31/2018 12:58 PM, klaus.go...@theobroma-systems.com wrote: >> [snip] >> >> >> I run into the same issue for the rockchip architecture[1]. After giving >> up on finding a >> rock-solid solution for detecting the emtpy string I decided

[U-Boot] [PATCH] MIPS: add MIPS Release 6 build coverage for Boston boards

2018-06-01 Thread Daniel Schwierzeck
Now that Travis CI is building with gcc-7.3.0, we can add build coverage for all combinations of MIPS Release 6 instruction sets (MIPS32, MIPS64, Big Endian, Little Endian). Add mew default configs for Boston board for all MIPS Release 6 variants. Signed-off-by: Daniel Schwierzeck ---

Re: [U-Boot] [RFC 3/3] efi_selftest: test writing to file

2018-06-01 Thread AKASHI, Takahiro
Heinrich, On Sat, May 26, 2018 at 10:34:47AM +0200, Heinrich Schuchardt wrote: > Signed-off-by: Heinrich Schuchardt > --- > lib/efi_selftest/efi_selftest_block_device.c | 56 > 1 file changed, 56 insertions(+) > > diff --git a/lib/efi_selftest/efi_selftest_block_device.c

Re: [U-Boot] inappropriate PCI configuration on arm64 qemu?

2018-06-01 Thread AKASHI Takahiro
Tuomas, On Thu, May 31, 2018 at 01:32:20PM +0300, Tuomas Tynkkynen wrote: > Hi Akashi, > > On 05/31/2018 08:05 AM, AKASHI Takahiro wrote: > >Simon, > > > >On Wed, May 30, 2018 at 01:18:30PM -0600, Simon Glass wrote: > >>+Tuomas > >> > >>Hi Akashi, > >> > >>On 28 May 2018 at 01:59, AKASHI

[U-Boot] [PATCH 10/15] net: ravb: Add R8A77990 E3 compatible

2018-06-01 Thread Marek Vasut
Add new compatible to the Ethernet AVB driver for R8A77990 E3 SoC. Signed-off-by: Marek Vasut Cc: Joe Hershberger Cc: Nobuhiro Iwamatsu --- drivers/net/ravb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ravb.c b/drivers/net/ravb.c index 3392e5854d..999894f0f6 100644 ---

Re: [U-Boot] [PATCH v2 1/2] mmc: sdhci: Update sdhci_send_command() to handle HS200

2018-06-01 Thread Michal Simek
On 29.5.2018 16:33, Siva Durga Prasad Paladugu wrote: > This patch updates sdhci_send_command() to handle MMC > HS200 tuning command. > > Signed-off-by: Siva Durga Prasad Paladugu > --- > Changes from v1: > - Fixed spacings as per comment > --- > drivers/mmc/sdhci.c | 9 ++--- > 1 file

Re: [U-Boot] [PATCH v2 2/2] mmc: zynqmp: Add HS200 modes support for ZynqMP

2018-06-01 Thread Michal Simek
On 29.5.2018 16:33, Siva Durga Prasad Paladugu wrote: > This patch adds HS200 suuport for ZynqMP and enables > the same for ZC1751 DC1 board which has eMMC on it. > > Signed-off-by: Siva Durga Prasad Paladugu > --- > Changes from v1: > - Fixed coding style as per comment > --- >

[U-Boot] [PATCH v4 2/2] mmc: sunxi: run calibration on A64

2018-06-01 Thread Vasily Khoruzhick
Along with using new mode it fixes eMMC instability on Pinebook Signed-off-by: Vasily Khoruzhick --- arch/arm/include/asm/arch-sunxi/mmc.h | 6 +- drivers/mmc/sunxi_mmc.c | 11 +++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git

[U-Boot] [PATCH v4 1/2] sunxi-mmc: use new mode on A64

2018-06-01 Thread Vasily Khoruzhick
That is necessary for using automatic calibration on A64 eMMC. Signed-off-by: Vasily khoruzhick --- arch/arm/mach-sunxi/Kconfig | 1 + drivers/mmc/sunxi_mmc.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig index

Re: [U-Boot] [PATCH v3 1/2] sunxi-mmc: use new mode on A64

2018-06-01 Thread Vasily Khoruzhick
On Fri, Jun 1, 2018 at 1:42 AM Maxime Ripard wrote: > > On Thu, May 31, 2018 at 09:43:20AM -0700, Vasily Khoruzhick wrote: > > On Thu, May 31, 2018 at 5:00 AM, Maxime Ripard > > wrote: > > > On Wed, May 30, 2018 at 09:02:18PM -0700, Vasily Khoruzhick wrote: > > >> That is necessary for using

Re: [U-Boot] [PULL] u-boot-mips/master

2018-06-01 Thread Tom Rini
On Fri, Jun 01, 2018 at 09:24:58PM +0200, Daniel Schwierzeck wrote: > Travis CI build: > > https://travis-ci.org/danielschwierzeck/u-boot/builds/386679112 > > > > The following changes since commit c3c863880479edeb5b08226e622d13c91326e4a7: > > add FIT data-position & data-offset property

Re: [U-Boot] [GIT PULL] Xilinx changes for v2018.07-2

2018-06-01 Thread Tom Rini
On Fri, Jun 01, 2018 at 03:23:33PM +0200, Michal Simek wrote: > Hi Tom, > > please pull these changes to your tree. > Buildman and travis looks good > https://travis-ci.org/michalsimek/u-boot/builds/386578029 > > Thanks, > Michal > > The following changes since commit

[U-Boot] [PATCH v4 0/2] sunxi: fix eMMC stability issues on A64

2018-06-01 Thread Vasily Khoruzhick
eMMC seems to require new clocking mode and calibration on A64, otherwise it is pretty unstable on some boards (e.g. Pinebook) with some eMMCs. v2: - improve comment about calibration for eMMC on A64 - simplify ifdef-s around configuring delays v3: - fix fallout due to ifdef simplification in

[U-Boot] [PATCH V2] spl: fit: Fix support for loading FPGA bitstream

2018-06-01 Thread Marek Vasut
Move the FPGA loading from IS_ENABLED(CONFIG_SPL_OS_BOOT) && IS_ENABLED(CONFIG_SPL_GZIP) conditional. The FPGA loading can be used without OS loading and GZIP support in SPL. This issue was most likely induced by some merge conflict, so fix it. Signed-off-by: Marek Vasut Cc: Tom Rini --- V2:

[U-Boot] [PULL] u-boot-sh/master

2018-06-01 Thread Marek Vasut
The following changes since commit c3c863880479edeb5b08226e622d13c91326e4a7: add FIT data-position & data-offset property support (2018-05-26 18:19:19 -0400) are available in the Git repository at: git://git.denx.de/u-boot-sh.git master for you to fetch changes up to

[U-Boot] [PULL] u-boot-mips/master

2018-06-01 Thread Daniel Schwierzeck
Travis CI build: https://travis-ci.org/danielschwierzeck/u-boot/builds/386679112 The following changes since commit c3c863880479edeb5b08226e622d13c91326e4a7: add FIT data-position & data-offset property support (2018-05-26 18:19:19 -0400) are available in the Git repository at:

[U-Boot] [PATCH v2 2/2] watchdog: Kconfig: add config to disable wdog reset

2018-06-01 Thread Xiaoliang Yang
Add Kconfig support for CONFIG_WATCHDOG_RESET_DISABLE, use this config to disable watchdog reset in imx_watchdog driver, so that the watchdog will not be fed in u-boot. Signed-off-by: Xiaoliang Yang --- arch/arm/cpu/armv8/fsl-layerscape/doc/README.lsch2 |3 +++ drivers/watchdog/Kconfig

Re: [U-Boot] [PATCH v2 1/2] watchdog: driver support for fsl-lsch2

2018-06-01 Thread Xiaoliang Yang
v1 -> v2: Because of imx_watchdog.c driver not supports all layerscape SoCs, change to build imx_watchdog.o only when enable IMX_WATCHDOG for fsl-lsch2 SoCs. Add IMX_WATCHDOG in drivers/watchdog/Kconfig. Changes in v2: drivers/watchdog/Kconfig |6 ++

[U-Boot] [PATCH v2 1/2] watchdog: driver support for fsl-lsch2

2018-06-01 Thread Xiaoliang Yang
Support watchdog driver for fsl-lsch2. If you want to use it, please enable CONFIG_IMX_WATCHDOG, and CONFIG_HW_WATCHDOG. define CONFIG_WATCHDOG_TIMEOUT_MSECS to set watchdog timeout. Signed-off-by: Xiaoliang Yang --- arch/arm/cpu/armv8/fsl-layerscape/doc/README.lsch2 | 10 ++

Re: [U-Boot] [PATCH v2 2/7] usb: introduce a separate config option for DM USB device

2018-06-01 Thread Lukasz Majewski
Hi Jean-Jacques, > Using CONFIG_DM_USB for this purpose prevents using DM_USB for host > and not for device. > > Signed-off-by: Jean-Jacques Hiblot > > --- > > Changes in v2: > - select DM_USB_DEV by default for zynqmp platforms > > arch/arm/Kconfig| 2 ++ >

Re: [U-Boot] [PATCH v2 1/7] usb: gadget: Do not call board_usb_xxx() directly in USB gadget drivers

2018-06-01 Thread Lukasz Majewski
Hi Jean-Jacques, > Add 2 functions to wrap the calls to board_usb_init() and > board_usb_cleanup(). > This is a preparatory work for DM support for UDC drivers > (DM_USB_DEV). > > Signed-off-by: Jean-Jacques Hiblot > > --- > > Changes in v2: > - Updated commit log > - Fixed typo in thordown.c

Re: [U-Boot] Exception Level switching seems broken on RK3399

2018-06-01 Thread Vicente Bergas
On Thu, May 24, 2018 at 7:05 PM, Dr. Philipp Tomsich wrote: > Vincente, > > On 24 May 2018, at 18:48, Vicente Bergas wrote: > > Hello Philipp, > your answer is much appreciated. > > On Thu, May 24, 2018 at 1:07 PM, Dr. Philipp Tomsich > wrote: > > Vincente, > > On 19 May 2018, at 16:58, Vicente

[U-Boot] DRAM clock frequency issue

2018-06-01 Thread Greg Maitz
Hi - I have a target Atheros 9344 board on which I have loaded U-boot version 1.23.2. On the reference board, the DRAM clock frequency has been set to 400 MHz and it works well. But when the same clock frequency is used on my target board , mtest (memory test) fails. However, when I reduced the

Re: [U-Boot] [PATCH] sunxi: use CONFIG_DEFAULT_FDT_FILE everywhere

2018-06-01 Thread Maxime Ripard
On Thu, May 31, 2018 at 05:59:16PM -0700, Martin Kelly wrote: > Currently, sunxi-common.h ignores CONFIG_DEFAULT_FDT_FILE and assumes > the kernel fdtfile and the u-boot devicetree names are the same. > Although this is typically the case, sometimes you might want to > customize one of these

Re: [U-Boot] [PATCH 1/2] watchdog: driver support for layerscape

2018-06-01 Thread Xiaoliang Yang
Hi York, I think it's better not to affect the original i.mx SoCs. If not in i.mx SoCs, we can enable it by define CONFIG_IMX_WATCHDOG in config file. Or do you think it's better to use "select IMX_WATCHDOG" to enable it in default for our LSCH2 SoCs/platforms? Here is the patch I have

Re: [U-Boot] [PATCH 1/2] watchdog: driver support for layerscape

2018-06-01 Thread Xiaoliang Yang
Hi York, Sure, thanks for your suggestion. I'll add IMX_WATCHDOG in Kconfig, users can enable it for the platforms they needed. I will push v2 patch later, please help to review it, thanks. Regards, Xiaoliang Yang -Original Message- From: York Sun Sent: 2018年6月1日 11:20 To: Xiaoliang

Re: [U-Boot] [PATCH v2 0/7] Improvements for the dwc3_generic driver

2018-06-01 Thread Michal Simek
Hi, On 29.5.2018 14:36, Jean-Jacques Hiblot wrote: > This series aims at bringing improvements to the dwc3_generic driver so > that it can be used by most of the platforms using the dwc3 controller. > This series applies on top of the master branch of USB tree. > It also also available on github:

[U-Boot] [GIT PULL] Xilinx changes for v2018.07-2

2018-06-01 Thread Michal Simek
Hi Tom, please pull these changes to your tree. Buildman and travis looks good https://travis-ci.org/michalsimek/u-boot/builds/386578029 Thanks, Michal The following changes since commit c3c863880479edeb5b08226e622d13c91326e4a7: add FIT data-position & data-offset property support

Re: [U-Boot] [PATCH 4/5] include: dma: Update the function description for dma_memcpy

2018-06-01 Thread Simon Glass
Hi, On 31 May 2018 at 02:08, wrote: > From: Tien Fong Chee > > Update the dma_memcpy description on return argument for DMA330 driver. > > Signed-off-by: Tien Fong Chee > --- > include/dma.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/include/dma.h

Re: [U-Boot] [PATCH 5/5] arm: dts: socfpga: stratix10: update pdma

2018-06-01 Thread Simon Glass
On 31 May 2018 at 02:08, wrote: > From: Tien Fong Chee > > Update pdma properties for Stratix 10 > > Signed-off-by: Tien Fong Chee > --- > arch/arm/dts/socfpga_stratix10.dtsi | 20 > 1 file changed, 20 insertions(+) Reviewed-by: Simon Glass Is there a DT binding file

Re: [U-Boot] [PATCH v3] board: sun50i: Add Amarula A64-Relic initial support

2018-06-01 Thread Maxime Ripard
On Thu, May 31, 2018 at 03:13:15PM +0530, Jagan Teki wrote: > On Thu, May 31, 2018 at 3:07 PM, Maxime Ripard > wrote: > > On Tue, May 29, 2018 at 09:50:39PM +0530, Jagan Teki wrote: > >> On Tue, May 29, 2018 at 9:44 PM, Maxime Ripard > >> wrote: > >> > On Mon, May 28, 2018 at 04:34:43PM +0530,

Re: [U-Boot] [PATCH v2 1/3] cmd: fpga: Reorder the arguments parsing code

2018-06-01 Thread Michal Simek
On 31.5.2018 11:40, Siva Durga Prasad Paladugu wrote: > This patch modifies the arguments parsing code by parsing > based on requested operation for fpga loadfs and then > parses the most common/basic args for other fpga load > commands. This makes it easy for new command extensions > or additions

Re: [U-Boot] [PATCH 00/12] binman: A few more features

2018-06-01 Thread Simon Glass
Hi Tom, On 28 May 2018 at 13:17, Tom Rini wrote: > On Sat, May 26, 2018 at 04:18:45PM -0600, Simon Glass wrote: >> Hi, >> >> On 15 May 2018 at 19:52, Simon Glass wrote: >> > This series ads a few more features to binman, principally the ability to >> > nest entries within other entries, to form

Re: [U-Boot] [PATCH v2 1/2] watchdog: driver support for fsl-lsch2

2018-06-01 Thread York Sun
On 06/01/2018 12:37 AM, Xiaoliang Yang wrote: > Support watchdog driver for fsl-lsch2. If you want to use it, > please enable CONFIG_IMX_WATCHDOG, and CONFIG_HW_WATCHDOG. > define CONFIG_WATCHDOG_TIMEOUT_MSECS to set watchdog timeout. > > Signed-off-by: Xiaoliang Yang > --- >

Re: [U-Boot] [PATCH v4 3/4] serial: ns16550: Add reset ctrl to driver

2018-06-01 Thread Simon Glass
On 1 June 2018 at 02:45, Ley Foon Tan wrote: > Add code to reset all reset signals as in serial DT node. A reset property is > an optional feature, > so do not fail if a reset property is not present. > > If a reset property is discovered, then use it to deassert, thus bringing the > IP out of

Re: [U-Boot] [RFC][DO NOT APPLY] binman: Switch to 'python-coverage'

2018-06-01 Thread Simon Glass
Hi Tom, On 26 May 2018 at 11:06, Tom Rini wrote: > The most portable way to get access to coverage is to invoke it as > 'python-coverage'. > > Cc: Simon Glass > Signed-off-by: Tom Rini > --- > So, here's the set of problems I have. First, running 'pip install > coverage' doesn't get me a

Re: [U-Boot] [PATCH v4 4/4] net: designware: Add reset ctrl to driver

2018-06-01 Thread Simon Glass
On 1 June 2018 at 02:45, Ley Foon Tan wrote: > Add code to reset all reset signals as in Ethernet DT node. A reset property > is an optional feature, > so only print out a warning and do not fail if a reset property is not > present. > > If a reset property is discovered, then use it to

Re: [U-Boot] [PATCH v4 1/4] include: reset: check CONFIG_SPL_RESET_SUPPORT

2018-06-01 Thread Simon Glass
Hi, On 1 June 2018 at 02:45, Ley Foon Tan wrote: > Add checking for CONFIG_SPL_RESET_SUPPORT to fix compilation error when > CONFIG_DM_RESET is enabled but CONFIG_SPL_RESET_SUPPORT is disabled in SPL > build. > > Signed-off-by: Ley Foon Tan > --- > include/reset.h | 3 ++- > 1 file changed, 2

Re: [U-Boot] [PATCH v4 2/4] mmc: dwmmc: socfpga: Add reset ctrl to driver

2018-06-01 Thread Simon Glass
On 1 June 2018 at 02:45, Ley Foon Tan wrote: > Add code to reset all reset signals as in mmc DT node. A reset property is an > optional feature, > so only print out a warning and do not fail if a reset property is not > present. > > If a reset property is discovered, then use it to deassert,

Re: [U-Boot] [PATCH 1/5] drivers: dma: Enable DMA-330 driver support

2018-06-01 Thread Simon Glass
Hi Tien, On 31 May 2018 at 02:08, wrote: > From: Tien Fong Chee > > Enable DMAC driver support for DMA-330 controller. > The driver is also compatible to PL330 product. > > Signed-off-by: Tien Fong Chee > --- > drivers/dma/Kconfig |9 +- > drivers/dma/Makefile |1 + >

Re: [U-Boot] [PATCH] power: regulator: denied disable on always-on regulator

2018-06-01 Thread Simon Glass
On 31 May 2018 at 01:57, Patrice Chotard wrote: > From: Patrick Delaunay > > Don't disable regulator which are tagged as "regulator-always-on" in DT. > > Signed-off-by: Patrick Delaunay > Signed-off-by: Patrice Chotard > --- > > drivers/power/regulator/regulator-uclass.c | 5 + > 1 file

Re: [U-Boot] [PATCH 2/5] drivers: dma: Add function to zeroes a range of destination such as memory

2018-06-01 Thread Simon Glass
Hi Tien, On 31 May 2018 at 02:08, wrote: > From: Tien Fong Chee > > This new DMA class function enables DMA being used for initializing > a range of destination such as memory to zeros. This is quite useful to > help accelerating the performance in scrubbing memory when ECC is enabled. > >

Re: [U-Boot] [PATCH 3/5] drivers: dma: Factor out dma_get_device from DMA class function

2018-06-01 Thread Simon Glass
On 31 May 2018 at 02:08, wrote: > From: Tien Fong Chee > > Factor out the dma_get_device from DMA class function so caller can > set some configuration and changes on the DMA device structure which > is return by calling dma_get_device before device instance is processed by > DMA class

[U-Boot] [PATCH v2 00/12] binman: A few more features

2018-06-01 Thread Simon Glass
This series ads a few more features to binman, principally the ability to nest entries within other entries, to form hierarchical images. Also included are support for a map file and some docs tidy-ups. Changes in v2: - Add SPDX tag to .dts file - Put SPDX on the first line in bsection.py Simon

[U-Boot] [PATCH v2 04/12] binman: Rename Entry property to 'section'

2018-06-01 Thread Simon Glass
Entries are now passed a Section object rather than an Image. Rename this property to avoid confusion. Signed-off-by: Simon Glass --- Changes in v2: None tools/binman/etype/_testing.py| 4 ++-- tools/binman/etype/blob.py| 4 ++--

[U-Boot] [PATCH v2 06/12] binman: Add support for sections

2018-06-01 Thread Simon Glass
It is useful to be able to split an image into multiple sections, each with its own size and position, for cases where a flash device has read-only and read-write portions. Add support for this. Signed-off-by: Simon Glass --- Changes in v2: - Add SPDX tag to .dts file tools/binman/README

[U-Boot] [PATCH v2 05/12] binman: Avoid setting sys.path globally

2018-06-01 Thread Simon Glass
At present we set the Python path at the start of binman so we can read modules in the 'etype' directory. This is a bit messy since it affects 'import' statements through binman. Adjust the code to set the path locally, just where it is needed. Move the 'entry' module in with the other base

[U-Boot] [PATCH v2 07/12] binman: Add documentation for pos-unset property

2018-06-01 Thread Simon Glass
This property is not documented. Add a note to the README. Signed-off-by: Simon Glass --- Changes in v2: None tools/binman/README | 7 +++ 1 file changed, 7 insertions(+) diff --git a/tools/binman/README b/tools/binman/README index 5ef1246f296..32d89194dd0 100644 ---

Re: [U-Boot] [PATCH] sandbox_flattree: Switch to TPMv2 support

2018-06-01 Thread Simon Glass
+Miquel due to sandbox TPM issue Hi Tom, On 25 May 2018 at 06:27, Tom Rini wrote: > In order to have the test.py tests for TPMv2 run automatically we need > to have one of our sandbox builds use TPMv2 rather than TPMv1. Switch > sandbox_flattree over to this style of TPM. The problem seems to

[U-Boot] [PATCH v2 02/12] binman: Refactor much of the image code into 'section'

2018-06-01 Thread Simon Glass
We want to support multiple sections within a single image. To do this, move most of the Image class implementation into a new Section class. An Image contains only a single Section, but at some point we will support a new 'section' entry, thus allowing Sections within Sections. Use the name

[U-Boot] [PATCH v2 01/12] binman: Allow unit addresses for binaries

2018-06-01 Thread Simon Glass
Allow the same binary to appear multiple times in an image by using the device-tree unit-address feature (u-boot@0, u-boot@1). Signed-off-by: Simon Glass --- Changes in v2: - Add SPDX tag to .dts file tools/binman/README | 4 tools/binman/etype/entry.py | 5

  1   2   >