[U-Boot] [PATCH] travis: Break up the NXP Layerscape jobs more

2019-01-16 Thread Tom Rini
The single job for all Layerscape 10xx platforms is close to, and sometimes exceeds the time limit for a single job configuration. Break this down into jobs for LS101x, LS104x and LS108x instead. Signed-off-by: Tom Rini --- .travis.yml | 10 -- 1 file changed, 8 insertions(+), 2

[U-Boot] [PATCH 0/3] mtd: spi: Add MSCC SPI flash driver

2019-01-16 Thread Horatiu Vultur
This patch series adds MSCC SPI flash driver. The VCore III SoCs can access directly the flash through memory, this direct mapping is working only for read functions. The other operations are going through SPI driver. This improves the read performace by a factor of 4.75. This patch series is

[U-Boot] [PATCH 1/3] mtd: spi: export functions to sf_internal.h

2019-01-16 Thread Horatiu Vultur
Expose the following functions: clean_bar, write_bar, spi_flash_std_write, spi_flash_std_erase and spi_flash_std_probe to sf_internal.h to be able to reuse them. Cc: Jagan Teki Signed-off-by: Horatiu Vultur --- drivers/mtd/spi/sf_internal.h | 8 drivers/mtd/spi/sf_probe.c| 8

Re: [U-Boot] [PATCH v2 3/4] MIPS: mscc: ocelot: add switch reset support

2019-01-16 Thread Daniel Schwierzeck
Am 16.01.19 um 14:07 schrieb Gregory CLEMENT: > 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 > --- > board/mscc/ocelot/ocelot.c | 26 ++ > 1 file changed, 26

[U-Boot] [PATCH u-boot] net: phy: realtek: Add functions to read PHY's extended registers

2019-01-16 Thread Carlo Caione
According to the datasheet to access the extended registers we have to: 1. Write Register 31 Data = 0x0XYZ (Page 0xXYZ) 2. Read/Write the target Register Data 3. Write Register 31 Data = 0x or 0xa42 (switch back to IEEE Standard Registers) Hook the missing functions so that we can use the

[U-Boot] [RFC 08/17] dts: imx: Add imx6q-sabresd dts and imx6qdl-sabresd dtsi files

2019-01-16 Thread Abel Vesa
Add necessary dts and dtsi files in order to enable DM in both SPL and u-boot proper for mx6sabresd. Signed-off-by: Abel Vesa --- arch/arm/dts/Makefile |3 +- arch/arm/dts/imx6q-sabresd.dts| 92 arch/arm/dts/imx6qdl-sabresd.dtsi | 1065

[U-Boot] [RFC 11/17] configs: mx6sabresd: Add SPL FIT and DM support

2019-01-16 Thread Abel Vesa
Enable all the necessary configs for SPL DM and FIT support for mx6sabresd. Signed-off-by: Abel Vesa --- configs/mx6sabresd_defconfig | 20 +--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/configs/mx6sabresd_defconfig b/configs/mx6sabresd_defconfig index

[U-Boot] [PATCH v2 4/4] ARM: zynq: Convert all boards to OF_SEPARATE

2019-01-16 Thread Michal Simek
Build warning was added by: "fdt: Add warning about CONFIG_OF_EMBED" (sha1: 841d5fbae4e993476fa87d8933db0cd58d3c2d41) Zynq mini configurations are not moved yet and it is questionable if make sense to move them too. Signed-off-by: Michal Simek --- Changes in v2: None

[U-Boot] [PATCH v2 2/4] arm64: zynqmp: Align u-boot-spl.bin for boot.bin creation

2019-01-16 Thread Michal Simek
Bootrom is not capable to work with non align bootloader partition that's why it is necessary to align it before boot.bin creation. The patch is creating new spl/u-boot-spl-align.bin which is used only for boot.bin. Signed-off-by: Michal Simek --- Changes in v2: - New patch for solving issue

[U-Boot] [PATCH v2 3/4] arm64: zynqmp: Convert all reference boards to OF_SEPARATE

2019-01-16 Thread Michal Simek
Build warning was added by: "fdt: Add warning about CONFIG_OF_EMBED" (sha1: 841d5fbae4e993476fa87d8933db0cd58d3c2d41) ZynqMP mini configurations are not moved yet and it is questionable if make sense to move them too. Signed-off-by: Michal Simek --- Changes in v2: None Depends on the patch:

[U-Boot] [PATCH v2 1/4] tools: zynqmpimage: Align image_size/image_stored_size

2019-01-16 Thread Michal Simek
Bootrom is not capable to work with non aligned bootloader sizes. SPL with OF_SEPARATE generates non-align images quite often that's why this change is required before OF_SEPARATE enableding. Signed-off-by: Michal Simek --- Changes in v2: - Remove zynqmpimage.c changes - Fix subject

[U-Boot] [PATCH 1/3] pinctrl: mscc: Add gpio and pinctrl for Servalt SoC family.

2019-01-16 Thread Horatiu Vultur
The Servalt SoC family has 36 pins. Currently there is not support for Servalt pinctrl in Linux kernel. Signed-off-by: Horatiu Vultur --- drivers/pinctrl/mscc/Kconfig | 9 ++ drivers/pinctrl/mscc/Makefile | 1 + drivers/pinctrl/mscc/pinctrl-servalt.c | 269

[U-Boot] [PATCH 0/3] MSCC: Add Servalt SoC family

2019-01-16 Thread Horatiu Vultur
This patch series adds support for MSCC Servalt SoC family. In this family there is only one board: Servalt(pcb116). This is based off the u-boot-mips/next repository Horatiu Vultur (3): pinctrl: mscc: Add gpio and pinctrl for Servalt SoC family. MSCC: Add support for Servalt SoC family.

Re: [U-Boot] [PATCH v2 2/4] net: add MSCC Ocelot switch support

2019-01-16 Thread Gregory CLEMENT
Hi Daniel, On mer., janv. 16 2019, Daniel Schwierzeck wrote: >> +static int mscc_miim_wait_ready(struct mscc_miim_dev *miim) >> +{ >> +unsigned long deadline; >> +u32 val; >> + >> +deadline = timer_get_us() + 25; >> + >> +do { >> +val = readl(miim->regs +

Re: [U-Boot] [PATCH] imx: hab: Convert non-NULL IVT DCD pointer warning to an error

2019-01-16 Thread Fabio Estevam
On Fri, Dec 7, 2018 at 8:32 PM Breno Matheus Lima wrote: > > The following NXP application notes and manual recommend to ensure the > IVT DCD pointer is Null prior to calling HAB API authenticate_image() > function: > > - AN12263: HABv4 RVT Guidelines and Recommendations > - AN4581: Secure Boot

Re: [U-Boot] [PATCH 1/2] mips: mt7688: gardena-smart-gateway: Update mtdparts/mtdids for Kernel 4.19

2019-01-16 Thread Daniel Schwierzeck
Am 15.01.19 um 13:54 schrieb Stefan Roese: > With the new SPI NOR framework in v4.19, we need to adapt the MTD parts > so that the kernel cmdline parameter "mtdparts=" uses the correct naming > for the devices. > > Signed-off-by: Stefan Roese > Cc: Daniel Schwierzeck > --- >

Re: [U-Boot] [PATCH 2/2] mips: mt7688: gardena-smart-gateway: Enable green power LED on startup

2019-01-16 Thread Daniel Schwierzeck
Am 15.01.19 um 13:54 schrieb Stefan Roese: > Set the correct power-up state (default-state) of the green power LED. > > Signed-off-by: Stefan Roese > Cc: Daniel Schwierzeck > --- > arch/mips/dts/gardena-smart-gateway-mt7688.dts | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >

[U-Boot] [RFC 13/17] mx6sabresd: Add DM_GPIO support

2019-01-16 Thread Abel Vesa
Add the DM_GPIO related config for mx6sabresd. Also add the gpio request calls. Signed-off-by: Abel Vesa --- board/freescale/mx6sabresd/mx6sabresd.c | 5 + configs/mx6sabresd_defconfig| 1 + 2 files changed, 6 insertions(+) diff --git a/board/freescale/mx6sabresd/mx6sabresd.c

Re: [U-Boot] [PATCH 3/3] MSCC: Add board support for Servalt SoC family

2019-01-16 Thread Daniel Schwierzeck
Am 16.01.19 um 12:15 schrieb Horatiu Vultur: > Add board support, configuration and DTS for Servalt SoC > family. Currently there is one board in this family. > > Signed-off-by: Horatiu Vultur > --- > arch/mips/dts/Makefile | 1 + > arch/mips/dts/mscc,servalt.dtsi | 149 >

[U-Boot] [RFC 15/17] configs: mx6sabresd: Add DM_SPI_FLASH necessary configs

2019-01-16 Thread Abel Vesa
Enable all neceassary configs to support DM_SPI_FLASH on mx6sabresd. Signed-off-by: Abel Vesa --- configs/mx6sabresd_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/mx6sabresd_defconfig b/configs/mx6sabresd_defconfig index 9451bbd..7fbfddb 100644 ---

Re: [U-Boot] [PATCH 1/2] MSCC: Add sysreset drivers for MSCC Socs

2019-01-16 Thread Horatiu Vultur
Hi Daniel, The 01/16/2019 15:22, Daniel Schwierzeck wrote: > > > Am 15.01.19 um 17:33 schrieb Horatiu Vultur: > > Add sysreset driver for Luton, Ocelot and Jaguar2 SoCs. > > > > Signed-off-by: Horatiu Vultur > > --- > > MAINTAINERS | 1 + > >

[U-Boot] [RFC 14/17] configs: mx6sabreauto: Add DM_SPI_FLASH necessary configs

2019-01-16 Thread Abel Vesa
Enable all neceassary configs to support DM_SPI_FLASH on mx6sabreauto. Signed-off-by: Abel Vesa --- configs/mx6sabreauto_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/mx6sabreauto_defconfig b/configs/mx6sabreauto_defconfig index bcd6ff0..a4d051a 100644 ---

Re: [U-Boot] [PATCH 1/3] mtd: spi: export functions to sf_internal.h

2019-01-16 Thread Daniel Schwierzeck
Am 16.01.19 um 13:07 schrieb Horatiu Vultur: > Expose the following functions: clean_bar, write_bar, spi_flash_std_write, > spi_flash_std_erase and spi_flash_std_probe to sf_internal.h to be able to > reuse them. > > Cc: Jagan Teki > Signed-off-by: Horatiu Vultur > --- >

[U-Boot] [RFC 10/17] configs: mx6sabreauto: Add SPL FIT and DM support

2019-01-16 Thread Abel Vesa
Enable all the necessary configs for SPL DM and FIT support for mx6sabreauto. Signed-off-by: Abel Vesa --- configs/mx6sabreauto_defconfig | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/configs/mx6sabreauto_defconfig b/configs/mx6sabreauto_defconfig index

Re: [U-Boot] [PATCH 1/3] tools: zynqimage: Align image_size/image_stored_size

2019-01-16 Thread Michal Simek
On 15. 01. 19 14:19, Michal Simek wrote: > Bootrom is not capable to work with non aligned bootloader sizes. > SPL with OF_SEPARATE generates non-align images quite often that's > why this change is required before OF_SEPARATE enableding. > > Signed-off-by: Michal Simek > --- > >

[U-Boot] [RFC 03/17] configs: imx6sabreauto: Add DM_MMC support

2019-01-16 Thread Abel Vesa
Add DM_MMC config to imx6sabreauto defconfig. Signed-off-by: Abel Vesa --- configs/mx6sabreauto_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/mx6sabreauto_defconfig b/configs/mx6sabreauto_defconfig index 8856567..23cb47e 100644 --- a/configs/mx6sabreauto_defconfig +++

[U-Boot] [RFC 02/17] usb: ehci-mx6: Make regulator DM_REGULATOR dependent

2019-01-16 Thread Abel Vesa
Do the regulator related work only if the build has the DM_REGULATOR. Signed-off-by: Abel Vesa --- drivers/usb/host/ehci-mx6.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/usb/host/ehci-mx6.c b/drivers/usb/host/ehci-mx6.c index 1acf08d..9483947 100644 ---

[U-Boot] [RFC 16/17] board: mx6sabreauto: Remove the non-DM code

2019-01-16 Thread Abel Vesa
Since the mx6sabreauto has DM support, remove the unused non-DM code from mx6sabreauto board file. Signed-off-by: Abel Vesa --- board/freescale/mx6sabreauto/mx6sabreauto.c | 70 - 1 file changed, 70 deletions(-) diff --git

[U-Boot] [RFC 17/17] board: mx6sabresd: Remove non-DM code

2019-01-16 Thread Abel Vesa
Since the mx6sabreauto has DM support, remove the unused non-DM code from mx6sabresd board file. Signed-off-by: Abel Vesa --- board/freescale/mx6sabresd/mx6sabresd.c | 50 - 1 file changed, 50 deletions(-) diff --git a/board/freescale/mx6sabresd/mx6sabresd.c

Re: [U-Boot] [RFC 08/17] dts: imx: Add imx6q-sabresd dts and imx6qdl-sabresd dtsi files

2019-01-16 Thread Fabio Estevam
On Wed, Jan 16, 2019 at 12:18 PM Abel Vesa wrote: > Oups, my bad. Actually the files should've been named imx6sabreauto.dtb (same > for sabresd). > Without the 'q'. I tested on 6d and booted fine, so what I'm saying here is: > this is meant for all the 6sabreauto. Do you mean mx6d (dual) or

Re: [U-Boot] [RFC 08/17] dts: imx: Add imx6q-sabresd dts and imx6qdl-sabresd dtsi files

2019-01-16 Thread Fabio Estevam
Hi Abel, On Wed, Jan 16, 2019 at 12:11 PM Abel Vesa wrote: > > Add necessary dts and dtsi files in order to enable DM in both > SPL and u-boot proper for mx6sabresd. > > Signed-off-by: Abel Vesa > --- > arch/arm/dts/Makefile |3 +- > arch/arm/dts/imx6q-sabresd.dts| 92

Re: [U-Boot] [PATCH v1 01/21] ARM: DTS: vybrid: Add vf-u-boot.dtsi to set 'u-boot, dm-pre-reloc' in soc

2019-01-16 Thread Tom Rini
On Wed, Jan 16, 2019 at 08:33:03AM +0100, Lukasz Majewski wrote: > On Tue, 15 Jan 2019 21:24:31 -0500 > Tom Rini wrote: > > > On Tue, Jan 15, 2019 at 08:58:58AM +0100, Lukasz Majewski wrote: > > > Hi Tom, > > > > > > > On Mon, Jan 14, 2019 at 03:17:20PM +0100, Lukasz Majewski wrote: > > > >

[U-Boot] [PATCH 3/3] mips: mscc: use MSCC SPI flash driver for Luton

2019-01-16 Thread Horatiu Vultur
Update Luton DT and defconfig to use the new MSCC SPI flash driver. Signed-off-by: Horatiu Vultur --- arch/mips/dts/luton_pcb090.dts | 3 ++- arch/mips/dts/luton_pcb091.dts | 3 ++- configs/mscc_luton_defconfig | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) diff --git

[U-Boot] [PATCH v2 2/4] net: add MSCC Ocelot switch support

2019-01-16 Thread Gregory CLEMENT
This patch adds support for the Microsemi Ethernet switch present on Ocelot SoCs. Signed-off-by: Gregory CLEMENT --- MAINTAINERS | 1 + drivers/net/Kconfig | 7 + drivers/net/Makefile| 1 + drivers/net/ocelot_switch.c | 837

Re: [U-Boot] [PATCH 2/2] travis: Wire Xilinx Versal Virt platform

2019-01-16 Thread Tom Rini
On Tue, Jan 15, 2019 at 09:58:02AM +0100, Alexander Graf wrote: > > > On 15.01.19 09:56, Michal Simek wrote: > > On 15. 01. 19 9:54, Alexander Graf wrote: > >> > >> > >> On 15.01.19 08:07, Michal Simek wrote: > >>> On 07. 01. 19 23:59, Tom Rini wrote: > On Mon, Jan 07, 2019 at 09:15:17PM

[U-Boot] [PATCH v2 4/4] configs: mscc_ocelot: add network support

2019-01-16 Thread Gregory CLEMENT
Now that network support is added for the ocelot platform, let's add it in the default configuration. Signed-off-by: Gregory CLEMENT --- configs/mscc_ocelot_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/mscc_ocelot_defconfig b/configs/mscc_ocelot_defconfig index

Re: [U-Boot] [PATCH v2 2/4] net: add MSCC Ocelot switch support

2019-01-16 Thread Daniel Schwierzeck
Am 16.01.19 um 14:07 schrieb Gregory CLEMENT: > This patch adds support for the Microsemi Ethernet switch present on > Ocelot SoCs. > > Signed-off-by: Gregory CLEMENT > --- > MAINTAINERS | 1 + > drivers/net/Kconfig | 7 + > drivers/net/Makefile| 1 + >

[U-Boot] [RFC 05/17] mmc: fsl_esdhc: Fix DM_REGULATOR ifdefs for SPL builds

2019-01-16 Thread Abel Vesa
Since the fsl_esdhc will also be used by SPL, make the preprocessor switches more generic to allow any kind of build. Signed-off-by: Abel Vesa --- drivers/mmc/fsl_esdhc.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/mmc/fsl_esdhc.c

[U-Boot] [RFC 09/17] arm: imx: Add FIT SPL its

2019-01-16 Thread Abel Vesa
Add simple its in order to allow SPL to boot u-boot proper via FIT table. Signed-off-by: Abel Vesa --- arch/arm/mach-imx/mx6/fit_spl.its | 41 +++ 1 file changed, 41 insertions(+) create mode 100644 arch/arm/mach-imx/mx6/fit_spl.its diff --git

[U-Boot] [PATCH v2 1/2] travis: Setup QEMU_VERSION as variable

2019-01-16 Thread Michal Simek
This change enables setting up specific Qemu version or sha1 for new targets which are added after (current) v3.0.0 version. This changes is preparation step for adding new Xilinx Versal Virt platform which was merge after v3.0.0. Signed-off-by: Michal Simek Reviewed-by: Bin Meng --- Changes

[U-Boot] [PATCH v2 2/2] travis: Switch QEMU to 3.1.0 version

2019-01-16 Thread Michal Simek
Vexpress ca15_tc2 is failing with 3.1.0 because of QEMU issue. When this patch is applied https://patchwork.kernel.org/patch/10754401/ Vexpress can be also turn to newer QEMU version. Signed-off-by: Michal Simek --- Changes in v2: - Keep vexpress on v3.0.0 .travis.yml | 3 ++- 1 file changed,

Re: [U-Boot] [PATCH v2 2/4] net: add MSCC Ocelot switch support

2019-01-16 Thread Daniel Schwierzeck
Am 16.01.19 um 15:21 schrieb Gregory CLEMENT: > Hi Daniel, > > On mer., janv. 16 2019, Daniel Schwierzeck > wrote: >>> +static int mscc_miim_wait_ready(struct mscc_miim_dev *miim) >>> +{ >>> + unsigned long deadline; >>> + u32 val; >>> + >>> + deadline = timer_get_us() + 25; >>> +

Re: [U-Boot] no DTB with nand SPL on sama5d3

2019-01-16 Thread Eugen.Hristev
On 16.01.2019 03:13, Daniel Evans wrote: > After flashing my boot.bin to nand I get the following output: > > RomBOOT > Missing DTB > ### ERROR ### Please RESET the board ### > > I found the error message in fdtdec.c, but not sure what I am missing. I > have checked that my DTB is included

[U-Boot] [RFC 06/17] arm: imx: Add board_fit_config_name_match to support FIT in SPL

2019-01-16 Thread Abel Vesa
This function is necessary to enable FIT support in SPL. Doesn't really do anything. Signed-off-by: Abel Vesa --- arch/arm/mach-imx/spl.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/mach-imx/spl.c b/arch/arm/mach-imx/spl.c index 397d6d4..2e770c0 100644 ---

Re: [U-Boot] [PATCH 1/2] MSCC: Add sysreset drivers for MSCC Socs

2019-01-16 Thread Daniel Schwierzeck
Am 15.01.19 um 17:33 schrieb Horatiu Vultur: > Add sysreset driver for Luton, Ocelot and Jaguar2 SoCs. > > Signed-off-by: Horatiu Vultur > --- > MAINTAINERS | 1 + > arch/mips/dts/mscc,jr2.dtsi | 7 +- > arch/mips/dts/mscc,luton.dtsi| 10 +++ >

Re: [U-Boot] [PATCH 2/2] travis: Wire Xilinx Versal Virt platform

2019-01-16 Thread Michal Simek
On 16. 01. 19 14:10, Tom Rini wrote: > On Tue, Jan 15, 2019 at 09:58:02AM +0100, Alexander Graf wrote: >> >> >> On 15.01.19 09:56, Michal Simek wrote: >>> On 15. 01. 19 9:54, Alexander Graf wrote: On 15.01.19 08:07, Michal Simek wrote: > On 07. 01. 19 23:59, Tom Rini wrote:

Re: [U-Boot] [RFC 13/17] mx6sabresd: Add DM_GPIO support

2019-01-16 Thread Fabio Estevam
[Abel, please trim the CC list next time. I tried to keep it shorter so that U-Boot list does not complain about the large number of recipients] On Wed, Jan 16, 2019 at 12:14 PM Abel Vesa wrote: > > Add the DM_GPIO related config for mx6sabresd. > Also add the gpio request calls. > >

[U-Boot] [PATCH 3/3] MSCC: Add board support for Servalt SoC family

2019-01-16 Thread Horatiu Vultur
Add board support, configuration and DTS for Servalt SoC family. Currently there is one board in this family. Signed-off-by: Horatiu Vultur --- arch/mips/dts/Makefile | 1 + arch/mips/dts/mscc,servalt.dtsi | 149 +++

[U-Boot] [PATCH 2/3] MSCC: Add support for Servalt SoC family.

2019-01-16 Thread Horatiu Vultur
As Ocelot, Luton and Jaguar2, this family of SoCs are found in Microsemi Switches solution. Signed-off-by: Horatiu Vultur --- arch/mips/mach-mscc/Kconfig| 8 + arch/mips/mach-mscc/cpu.c | 2 +- arch/mips/mach-mscc/dram.c

[U-Boot] [PATCH v2 3/4] MIPS: mscc: ocelot: add switch reset support

2019-01-16 Thread Gregory CLEMENT
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 --- board/mscc/ocelot/ocelot.c | 26 ++ 1 file changed, 26 insertions(+) diff --git a/board/mscc/ocelot/ocelot.c

[U-Boot] [PATCH v2 0/4] Add network support for Ocelots SoCs

2019-01-16 Thread Gregory CLEMENT
Hello, this the second version of a series allowing to use the switch component of the Ocelots SoC as a network interface. The binding used is exactly the same of the one already used by Linux. There is also a patch adding a workaround needed on the Ocelot based boards: indeed the pin connected

[U-Boot] [PATCH v2 1/4] MIPS: mscc: ocelot: Add ethernet nodes for Ocelot

2019-01-16 Thread Gregory CLEMENT
Import Ethernet related nodes from Linux Signed-off-by: Gregory CLEMENT --- arch/mips/dts/mscc,ocelot.dtsi | 97 + arch/mips/dts/ocelot_pcb123.dts | 20 +++ 2 files changed, 117 insertions(+) diff --git a/arch/mips/dts/mscc,ocelot.dtsi

[U-Boot] [RFC 04/17] configs: imx6sabreauto: Add DM_USB support

2019-01-16 Thread Abel Vesa
Add the DM support for USB. For that, DM_REGULATOR is needed. Signed-off-by: Abel Vesa --- configs/mx6sabreauto_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/mx6sabreauto_defconfig b/configs/mx6sabreauto_defconfig index 23cb47e..e55c2d9 100644 ---

[U-Boot] [RFC 07/17] dts: imx: Add imx6q-sabreauto dts and imx6qdl-sabreauto dtsi files

2019-01-16 Thread Abel Vesa
Add necessary dts and dtsi files in order to enable DM in both SPL and u-boot proper for mx6sabreauto. Signed-off-by: Abel Vesa --- arch/arm/dts/Makefile |3 +- arch/arm/dts/imx6q-sabreauto.dts| 78 +++ arch/arm/dts/imx6qdl-sabreauto.dtsi | 1118

Re: [U-Boot] [PATCH v2 3/4] MIPS: mscc: ocelot: add switch reset support

2019-01-16 Thread Gregory CLEMENT
Hi Daniel, On mer., janv. 16 2019, Daniel Schwierzeck wrote: > Am 16.01.19 um 14:07 schrieb Gregory CLEMENT: >> 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 >> --- >>

Re: [U-Boot] [RFC 08/17] dts: imx: Add imx6q-sabresd dts and imx6qdl-sabresd dtsi files

2019-01-16 Thread Abel Vesa
On 19-01-16 12:14:34, Fabio Estevam wrote: > Hi Abel, > > On Wed, Jan 16, 2019 at 12:11 PM Abel Vesa wrote: > > > > Add necessary dts and dtsi files in order to enable DM in both > > SPL and u-boot proper for mx6sabresd. > > > > Signed-off-by: Abel Vesa > > --- > > arch/arm/dts/Makefile

[U-Boot] [PATCH 2/3] mtd: spi: add MSCC SPI flash driver

2019-01-16 Thread Horatiu Vultur
The VCore III SoCs can directly access flash through memory. The SPI controller takes care of changing a memory access to a flash access. Therefore the flash can be accessed using memcpy functions. The direct mapping is supported only by the read functions. All the other access are going through

[U-Boot] [RFC 01/17] common: Break USB_STORAGE dependency between SPL and u-boot proper

2019-01-16 Thread Abel Vesa
Some boards might need USB_STORAGE enabled in u-boot proper but not in SPL. Make a separate config for SPL and keep the same depends on conditions but for SPL. Also, all the boards that have DISTRO_DEFAULTS use by default SPL_USB_STORAGE. Signed-off-by: Abel Vesa ---

[U-Boot] [RFC 00/17] mx6sabre: Add DM and SPL FIT support

2019-01-16 Thread Abel Vesa
This comes as an answer to the following: https://lists.denx.de/pipermail/u-boot/2018-November/348078.html https://lists.denx.de/pipermail/u-boot/2018-November/348062.html Abel Vesa (17): common: Break USB_STORAGE dependency between SPL and u-boot proper usb: ehci-mx6: Make regulator

Re: [U-Boot] [PATCH 1/3] pinctrl: mscc: Add gpio and pinctrl for Servalt SoC family.

2019-01-16 Thread Daniel Schwierzeck
Am 16.01.19 um 12:15 schrieb Horatiu Vultur: > The Servalt SoC family has 36 pins. Currently there is not support > for Servalt pinctrl in Linux kernel. > > Signed-off-by: Horatiu Vultur > --- > drivers/pinctrl/mscc/Kconfig | 9 ++ > drivers/pinctrl/mscc/Makefile | 1 +

[U-Boot] [RFC 12/17] mx6sabreauto: Add DM_GPIO support

2019-01-16 Thread Abel Vesa
Add the DM_GPIO related config for mx6sabreauto. Also add the gpio request calls. Signed-off-by: Abel Vesa --- board/freescale/mx6sabreauto/mx6sabreauto.c | 3 +++ configs/mx6sabreauto_defconfig | 1 + 2 files changed, 4 insertions(+) diff --git

Re: [U-Boot] [PATCH 2/3] MSCC: Add support for Servalt SoC family.

2019-01-16 Thread Daniel Schwierzeck
Am 16.01.19 um 12:15 schrieb Horatiu Vultur: > As Ocelot, Luton and Jaguar2, this family of SoCs are found > in Microsemi Switches solution. > > Signed-off-by: Horatiu Vultur > --- > arch/mips/mach-mscc/Kconfig| 8 + > arch/mips/mach-mscc/cpu.c

Re: [U-Boot] [PATCH 2/2] MSCC: Remove reset.c

2019-01-16 Thread Daniel Schwierzeck
Am 15.01.19 um 17:33 schrieb Horatiu Vultur: > Remove reset.c because it is not used anymore. It is superseed by > sysreset driver. > > Signed-off-by: Horatiu Vultur > --- > arch/mips/mach-mscc/Makefile | 2 +- > arch/mips/mach-mscc/include/mach/ddr.h | 18 - >

Re: [U-Boot] [PATCH] ARC: Move ENV_SIZE and ENV_OFFSET to Kconfig

2019-01-16 Thread Tom Rini
On Wed, Jan 16, 2019 at 07:11:15PM +0300, Alexey Brodkin wrote: > Join the party of some ARM boards and drop more > items from include/configs/xxx.h. > > Signed-off-by: Alexey Brodkin > Cc: Michal Simek > Cc: Simon Glass > Cc: Tom Rini > --- > configs/emsdp_defconfig | 1 + >

Re: [U-Boot] [PATCH v2 7/7] doc: ti-secure: Add ULO info for AM57xx/DRA7xx secure devices from TI

2019-01-16 Thread Andrew F. Davis
On 12/6/18 3:41 PM, Tom Rini wrote: > On Wed, Dec 05, 2018 at 11:51:36AM -0600, Andrew F. Davis wrote: > >> Booting from UART and USB on HS devices is now supported for this >> platform. Update documentation for the same. >> >> Signed-off-by: Andrew F. Davis > > Reviewed-by: Tom Rini > Ping?

[U-Boot] [PATCH u-boot 0/2] Add MMD PHY helpers

2019-01-16 Thread Carlo Caione
Introduce phy_(read|write)_mmd() generic 802.3 clause 45 register accessors for Clause 22 PHYs, using the indirect method. Allow this behaviour to be overriden by PHY drivers where necessary. Carlo Caione (2): net: phy: Add support for accessing MMD PHY registers cmd: mdio: Add new

[U-Boot] [PATCH u-boot 1/2] net: phy: Add support for accessing MMD PHY registers

2019-01-16 Thread Carlo Caione
Two new helper functions (phy_read_mmd() and phy_write_mmd()) are added to allow access to the MMD PHY registers. The MMD PHY registers can be accessed by two means: 1. Using two new MMD access function hooks in the PHY driver. These functions can be implemented when the PHY driver does not

[U-Boot] [PATCH 1/2] armv8: ls1088ardb: Update MAINTAINERS

2019-01-16 Thread Rajesh Bhagat
From: York Sun Signed-off-by: York Sun CC: Rajesh Bhagat --- board/freescale/ls1088a/MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/board/freescale/ls1088a/MAINTAINERS b/board/freescale/ls1088a/MAINTAINERS index bca9969637..98ecb88e3b 100644 ---

Re: [U-Boot] serial: ns16550: fix debug uart putc called before init

2019-01-16 Thread Simon Goldschmidt
On Wed, Jan 16, 2019 at 3:44 AM Tom Rini wrote: > > On Wed, Jan 09, 2019 at 08:35:31PM +0100, Simon Goldschmidt wrote: > > > If _debug_uart_putc() is called before _debug_uart_init(), the > > ns16550 debug uart driver hangs in a tight loop waiting for the > > tx FIFO to get empty. > > > > As this

Re: [U-Boot] [PATCH v2 2/2] travis: Switch QEMU to 3.1.0 version

2019-01-16 Thread Tom Rini
On Wed, Jan 16, 2019 at 03:18:44PM +0100, Michal Simek wrote: > Vexpress ca15_tc2 is failing with 3.1.0 because of QEMU issue. > When this patch is applied > https://patchwork.kernel.org/patch/10754401/ > Vexpress can be also turn to newer QEMU version. > > Signed-off-by: Michal Simek

Re: [U-Boot] Please pull from u-boot-i2c

2019-01-16 Thread Tom Rini
On Tue, Jan 15, 2019 at 02:01:30PM +0100, Heiko Schocher wrote: > Hello Tom, > > please pull from u-boot-i2c.git master > > The following changes since commit d3689267f92c5956e09cc7d1baa4700141662bff: > > Prepare v2019.01 (2019-01-14 17:02:36 -0500) > > are available in the Git repository

Re: [U-Boot] [PATCH v2] ARC: Move ENV_SIZE and ENV_OFFSET to Kconfig

2019-01-16 Thread Tom Rini
On Wed, Jan 16, 2019 at 07:38:04PM +0300, Alexey Brodkin wrote: > Join the party of some ARM boards and drop more > items from include/configs/xxx.h. > > Signed-off-by: Alexey Brodkin > Cc: Michal Simek > Cc: Simon Glass > Cc: Tom Rini Reviewed-by: Tom Rini -- Tom signature.asc

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

2019-01-16 Thread Daniel Schwierzeck
Hi Tom, please pull updates for MIPS https://travis-ci.org/danielschwierzeck/u-boot/builds/480371326 The following changes since commit d3689267f92c5956e09cc7d1baa4700141662bff: Prepare v2019.01 (2019-01-14 17:02:36 -0500) are available in the Git repository at:

Re: [U-Boot] [PATCH] ARC: Move ENV_SIZE and ENV_OFFSET to Kconfig

2019-01-16 Thread Alexey Brodkin
Hi Tom, > -Original Message- > From: Tom Rini > Sent: Wednesday, January 16, 2019 7:19 PM > To: Alexey Brodkin > Cc: u-boot@lists.denx.de; uboot-snps-...@synopsys.com; Michal Simek > ; Simon > Glass > Subject: Re: [PATCH] ARC: Move ENV_SIZE and ENV_OFFSET to Kconfig > > On Wed, Jan

[U-Boot] [PATCH v2] ARC: Move ENV_SIZE and ENV_OFFSET to Kconfig

2019-01-16 Thread Alexey Brodkin
Join the party of some ARM boards and drop more items from include/configs/xxx.h. Signed-off-by: Alexey Brodkin Cc: Michal Simek Cc: Simon Glass Cc: Tom Rini --- Changes in v2: * Default ENV_OFFSET defined specially for ARC but not all configs/emsdp_defconfig | 1 +

Re: [U-Boot] common: Kconfig: miscellaneous spelling fixes

2019-01-16 Thread Tom Rini
On Fri, Jan 11, 2019 at 03:30:50PM +1300, Chris Packham wrote: > Signed-off-by: Chris Packham > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list

[U-Boot] [PATCH 2/2] armv8: ls2088ardb: Update MAINTAINERS

2019-01-16 Thread Rajesh Bhagat
From: York Sun Signed-off-by: York Sun CC: Rajesh Bhagat --- board/freescale/ls2080ardb/MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/board/freescale/ls2080ardb/MAINTAINERS b/board/freescale/ls2080ardb/MAINTAINERS index 1f6014deed..113b7ab3fd 100644 ---

[U-Boot] [PATCH] ARC: Move ENV_SIZE and ENV_OFFSET to Kconfig

2019-01-16 Thread Alexey Brodkin
Join the party of some ARM boards and drop more items from include/configs/xxx.h. Signed-off-by: Alexey Brodkin Cc: Michal Simek Cc: Simon Glass Cc: Tom Rini --- configs/emsdp_defconfig | 1 + configs/iot_devkit_defconfig | 1 + configs/tb100_defconfig | 1 + env/Kconfig

Re: [U-Boot] [PATCH] ARC: Move ENV_SIZE and ENV_OFFSET to Kconfig

2019-01-16 Thread Tom Rini
On Wed, Jan 16, 2019 at 04:22:22PM +, Alexey Brodkin wrote: > Hi Tom, > > > -Original Message- > > From: Tom Rini > > Sent: Wednesday, January 16, 2019 7:19 PM > > To: Alexey Brodkin > > Cc: u-boot@lists.denx.de; uboot-snps-...@synopsys.com; Michal Simek > > ; Simon > > Glass > >

Re: [U-Boot] [U-Boot, 1/2] kbuild: add .DELETE_ON_ERROR special target

2019-01-16 Thread Tom Rini
On Fri, Jan 11, 2019 at 07:42:26PM +0900, Masahiro Yamada wrote: > Linux commit 9c2af1c7377a8a6ef86e5cabf80978f3dbbb25c0 > > If Make gets a fatal signal while a shell is executing, it may delete > the target file that the recipe was supposed to update. This is needed > to make sure that it is

Re: [U-Boot] serial: ns16550: fix debug uart putc called before init

2019-01-16 Thread Tom Rini
On Wed, Jan 16, 2019 at 05:52:24PM +0100, Simon Goldschmidt wrote: > On Wed, Jan 16, 2019 at 3:44 AM Tom Rini wrote: > > > > On Wed, Jan 09, 2019 at 08:35:31PM +0100, Simon Goldschmidt wrote: > > > > > If _debug_uart_putc() is called before _debug_uart_init(), the > > > ns16550 debug uart driver

Re: [U-Boot] [PATCH 2/2] efi_selftest: fix variables test for GetNextVariableName()

2019-01-16 Thread Heinrich Schuchardt
On 12/14/18 10:47 AM, AKASHI Takahiro wrote: > There is a bug in efi variables test. > Fix it with some cosmetic improvements. > > Please note that efi variables test still fails at QueryVariableInfo() > and GetVariable(), but this is not due to a change in this patch. > ==8<== > Testing EFI

[U-Boot] [PATCH u-boot 2/2] cmd: mdio: Add new parameter to access MMD PHY registers

2019-01-16 Thread Carlo Caione
Two new parameters (rmmd and wmmd) are added to allow the `mdio` command to access the content of the MMD PHY registers. Signed-off-by: Carlo Caione --- cmd/mdio.c | 33 +++-- 1 file changed, 27 insertions(+), 6 deletions(-) diff --git a/cmd/mdio.c b/cmd/mdio.c

Re: [U-Boot] [PATCH 2/2] MSCC: Remove reset.c

2019-01-16 Thread Horatiu Vultur
Hi Daniel, The 01/16/2019 15:35, Daniel Schwierzeck wrote: > > > Am 15.01.19 um 17:33 schrieb Horatiu Vultur: > > Remove reset.c because it is not used anymore. It is superseed by > > sysreset driver. > > > > Signed-off-by: Horatiu Vultur > > --- > > arch/mips/mach-mscc/Makefile |

Re: [U-Boot] [PATCH] ARC: Move ENV_SIZE and ENV_OFFSET to Kconfig

2019-01-16 Thread Alexey Brodkin
Hi Tom, > -Original Message- > From: Tom Rini > Sent: Wednesday, January 16, 2019 7:25 PM > To: Alexey Brodkin > Cc: u-boot@lists.denx.de; uboot-snps-...@synopsys.com; Michal Simek > ; Simon > Glass > Subject: Re: [PATCH] ARC: Move ENV_SIZE and ENV_OFFSET to Kconfig > > On Wed, Jan

Re: [U-Boot] Makefile: run CONFIG_BOARD_SIZE_LIMIT against .img

2019-01-16 Thread Tom Rini
On Fri, Jan 11, 2019 at 08:56:02PM +0100, Simon Goldschmidt wrote: > With the current Makefile, CONFIG_BOARD_SIZE_LIMIT is used to check > the U-Boot binary without devicetree only. This produces wrong results > when OF_SEPARATE is used. > > To fix this, run the CONFIG_BOARD_SIZE_LIMIT check on

Re: [U-Boot] [U-Boot, 2/2] kbuild: add .SECONDARY special target to scripts/Kbuild.include

2019-01-16 Thread Tom Rini
On Fri, Jan 11, 2019 at 07:42:27PM +0900, Masahiro Yamada wrote: > Based on the following Linux commits: > > - 54a702f70589 ("kbuild: mark $(targets) as .SECONDARY and remove >.PRECIOUS markers") > > - 8e9b61b293d9 ("kbuild: move .SECONDARY special target to >Kbuild.include") > > GNU

Re: [U-Boot] [PATCH v2 3/4] MIPS: mscc: ocelot: add switch reset support

2019-01-16 Thread Daniel Schwierzeck
Am 16.01.19 um 15:37 schrieb Gregory CLEMENT: > Hi Daniel, > > On mer., janv. 16 2019, Daniel Schwierzeck > wrote: > >> Am 16.01.19 um 14:07 schrieb Gregory CLEMENT: >>> On some ocelots platform a workaround is needed in order to be able to >>> reset the switch without resetting the DDR.

Re: [U-Boot] Please pull u-boot-dm

2019-01-16 Thread Tom Rini
On Tue, Jan 15, 2019 at 08:57:23AM -0700, Simon Glass wrote: > Hi Tom, > > https://travis-ci.org/sglass68/u-boot/builds > > The following changes since commit d3689267f92c5956e09cc7d1baa4700141662bff: > > Prepare v2019.01 (2019-01-14 17:02:36 -0500) > > are available in the Git repository

Re: [U-Boot] [PATCH v2 1/2] travis: Setup QEMU_VERSION as variable

2019-01-16 Thread Tom Rini
On Wed, Jan 16, 2019 at 03:18:43PM +0100, Michal Simek wrote: > This change enables setting up specific Qemu version or sha1 for new > targets which are added after (current) v3.0.0 version. > This changes is preparation step for adding new Xilinx Versal Virt > platform which was merge after

Re: [U-Boot] [PATCH] configs: Remove am43xx_evm_ethboot_defconfig

2019-01-16 Thread Tom Rini
On Wed, Jan 16, 2019 at 02:54:36PM +0530, Vignesh R wrote: > am43xx_evm_ethboot_defconfig is not being actively used and has not been > moved to DM or DT. Also, ethboot cannot be tested on AM43xx EVM as such > due EVM limitations. Therefore delete it. > > Signed-off-by: Vignesh R Reviewed-by:

Re: [U-Boot] Pull request: u-boot-riscv/master

2019-01-16 Thread Tom Rini
On Tue, Jan 15, 2019 at 03:16:39PM +0800, ub...@andestech.com wrote: > Hi Tom, > > Please pull some riscv updates: > 1. Improve cache implementation. > 2. Fix and improve standalone applications > > https://travis-ci.org/rickchen36/u-boot-riscv/builds/479684449 > > Thanks > > Rick > > > The

Re: [U-Boot] [PATCH] configs: Remove unused am335x_evm defconfigs

2019-01-16 Thread Tom Rini
On Wed, Jan 16, 2019 at 02:38:04PM +0530, Vignesh R wrote: > These defconfigs don't seem be actively used any more, and have not been > moved to adapt DM or DT. Therefore delete them. > > Signed-off-by: Vignesh R Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [PATCH v2 00/11] samsung: Tidy up sound, DM_MMC drop dead code

2019-01-16 Thread Simon Glass
Hi Minkyu, On Fri, 21 Dec 2018 at 10:35, Simon Glass wrote: > > Hi Minkyu, > > On Thu, 20 Dec 2018 at 17:40, Minkyu Kang wrote: > > > > Dear Simon Glass, > > > > On 17/12/18 11:36, Simon Glass wrote: > > > This series was previously sent as a v1 without a cover letter. Since then > > > I have

[U-Boot] [PATCH 0/2] Make nyan-big working..

2019-01-16 Thread Tristan Bastian
Another problem is, that the internal keyboard is not working on the current master. A change of the SPI deactive delay solves that. A workaround for the current master was to press [reload/refresh]+[power] button. With the second patch this is no longer needed.

Re: [U-Boot] [PATCH 04/10] x86: Kconfig: spelling fixes

2019-01-16 Thread Simon Glass
On Sun, 13 Jan 2019 at 02:14, Chris Packham wrote: > > Signed-off-by: Chris Packham > --- > > arch/x86/cpu/qemu/Kconfig | 2 +- > arch/x86/cpu/quark/Kconfig | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) Reviewed-by: Simon Glass ___

Re: [U-Boot] [PATCH v2 2/3] power: regulator: Introduce regulator_set_enable_if_allowed api

2019-01-16 Thread Simon Glass
On Fri, 11 Jan 2019 at 02:46, Lokesh Vutla wrote: > > regulator_set_enable() api throws an error in the following three cases: > - when requested to disable an always-on regulator > - when set_enable() ops not provided by regulator driver > - when enabling is actually failed.(Error returned by

Re: [U-Boot] [PATCH v1 3/4] serial: add an of-platdata driver for "snps, dw-apb-uart"

2019-01-16 Thread Simon Glass
Hi Simon, On Fri, 11 Jan 2019 at 03:02, Simon Goldschmidt wrote: > > On Fri, Jan 11, 2019 at 10:22 AM Andy Shevchenko > wrote: > > > > On Wed, Jan 9, 2019 at 10:36 AM Alexey Brodkin > > wrote: > > > > > > > Might be a bit naïve question but why depend on SPL_OF_PLATDATA only? > > > What about

Re: [U-Boot] [PATCH 08/10] pinctrl: Kconfig: spelling fixes

2019-01-16 Thread Simon Glass
On Sun, 13 Jan 2019 at 02:14, Chris Packham wrote: > > Signed-off-by: Chris Packham > --- > > drivers/pinctrl/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Simon Glass ___ U-Boot mailing list U-Boot@lists.denx.de

[U-Boot] [PATCH 2/2] nyan-big: add padding to its file

2019-01-16 Thread Tristan Bastian
Without this padding nyan-big ends at a blank screen on boot. Details on how to get to this padding can be found in the README.chromium under Notes. Signed-off-by: Tristan Bastian --- doc/chromium/nyan-big.its | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

  1   2   >