[U-Boot] Please pull u-boot-fsl-qoriq master

2017-09-22 Thread York Sun
Tom, The following changes since commit 91ebf300934461e450f5ef8f386ea9e55d2636c5: Travis-CI: Checkout only v1.4.3 of dtc (2017-09-22 07:40:06 -0400) are available in the git repository at: git://git.denx.de/u-boot-fsl-qoriq.git for you to fetch changes up to 09c6778d9f5c85c40d8a81722c98

[U-Boot] [PATCH 4/6] mx6cuboxi: Avoid calling setup_display() from SPL code

2017-09-22 Thread Fabio Estevam
From: Fabio Estevam There is no need call setup_display() from SPL code, so move it to board_init(), which executes only in U-Boot proper. Reported-by: Stefano Babic Signed-off-by: Fabio Estevam --- board/solidrun/mx6cuboxi/mx6cuboxi.c | 15 --- 1 file changed, 8 insertions(+), 7

[U-Boot] [PATCH 3/6] wandboard: Avoid calling setup_display() from SPL code

2017-09-22 Thread Fabio Estevam
From: Fabio Estevam There is no need call setup_display() from SPL code, so move it to board_init(), which executes only in U-Boot proper. Reported-by: Stefano Babic Signed-off-by: Fabio Estevam --- board/wandboard/wandboard.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff -

[U-Boot] [PATCH 5/6] apalis_imx6: Avoid calling setup_display() from SPL code

2017-09-22 Thread Fabio Estevam
From: Fabio Estevam There is no need call setup_display() from SPL code, so move it to board_init(), which executes only in U-Boot proper. Reported-by: Stefano Babic Signed-off-by: Fabio Estevam --- board/toradex/apalis_imx6/apalis_imx6.c | 8 1 file changed, 4 insertions(+), 4 delet

[U-Boot] [PATCH 6/6] colibri_imx6: Avoid calling setup_display() from SPL code

2017-09-22 Thread Fabio Estevam
From: Fabio Estevam There is no need call setup_display() from SPL code, so move it to board_init(), which executes only in U-Boot proper. Reported-by: Stefano Babic Signed-off-by: Fabio Estevam --- board/toradex/colibri_imx6/colibri_imx6.c | 7 --- 1 file changed, 4 insertions(+), 3 dele

[U-Boot] [PATCH 1/6] mx6sabresd: Avoid calling setup_display() from SPL code

2017-09-22 Thread Fabio Estevam
From: Fabio Estevam There is no need call setup_display() from SPL code, so move it to board_init(), which executes only in U-Boot proper. Reported-by: Stefano Babic Signed-off-by: Fabio Estevam --- board/freescale/mx6sabresd/mx6sabresd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletio

[U-Boot] [PATCH 2/6] cgtqmx6eval: Avoid calling setup_display() from SPL code

2017-09-22 Thread Fabio Estevam
From: Fabio Estevam There is no need call setup_display() from SPL code, so move it to board_init(), which executes only in U-Boot proper. Reported-by: Stefano Babic Signed-off-by: Fabio Estevam --- board/congatec/cgtqmx6eval/cgtqmx6eval.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletion

Re: [U-Boot] [PATCH] imx6: disable clock command and print_cpuinfo code in SPL

2017-09-22 Thread Fabio Estevam
Hi Anatolij, On Wed, Sep 20, 2017 at 8:22 AM, Anatolij Gustschin wrote: > I think we can do it by > > diff --git a/include/configs/wandboard.h b/include/configs/wandboard.h > index 3ba4c29..b0f317b 100644 > --- a/include/configs/wandboard.h > +++ b/include/configs/wandboard.h > @@ -63,6 +63,7 @@

Re: [U-Boot] [PATCH v3 3/6] arm: provide a PCS-compliant setjmp implementation

2017-09-22 Thread Alexander Graf
On 21.09.17 10:19, Philipp Tomsich wrote: The previous setjmp-implementation (as a static inline function that contained an 'asm volatile' sequence) was extremely fragile: (some versions of) GCC optimised the set of registers. One critical example was the removal of 'r9' from the clobber list,

Re: [U-Boot] [PATCH] ARM: dts: rmobile: Update DTS to match Linux 4.13

2017-09-22 Thread Nobuhiro Iwamatsu
Hi, 2017-09-13 6:01 GMT+09:00 Marek Vasut : > Import the RCar Gen3 DTS and headers from upstream Linux kernel v4.13, > commit 569dbb88e80deb68974ef6fdd6a13edb9d686261 . This includes both M3 > and H3 ULCB and Salvator-X boards. > > Signed-off-by: Marek Vasut > Cc: Nobuhiro Iwamatsu Applied to r

Re: [U-Boot] [OE-core] [PATCH] u-boot: Upgrade to 2017.09

2017-09-22 Thread Marek Vasut
On 09/23/2017 01:36 AM, Martin Jansa wrote: > On Sat, Sep 23, 2017 at 12:19:27AM +0200, Marek Vasut wrote: >> Agreed. So what is the conclusion here about this , are we updating to >> 2017.09 or not ? > > It was already merged couple days ago: > http://git.openembedded.org/openembedded-core/commit

Re: [U-Boot] [OE-core] [PATCH] u-boot: Upgrade to 2017.09

2017-09-22 Thread Martin Jansa
On Sat, Sep 23, 2017 at 12:19:27AM +0200, Marek Vasut wrote: > Agreed. So what is the conclusion here about this , are we updating to > 2017.09 or not ? It was already merged couple days ago: http://git.openembedded.org/openembedded-core/commit/?id=340d413f678a4a64dfa060e8fe0ac721b73fed97 and the

Re: [U-Boot] [OE-core] [PATCH] u-boot: Upgrade to 2017.09

2017-09-22 Thread Moritz Fischer
Hi Marek, On Fri, Sep 22, 2017 at 3:19 PM, Marek Vasut wrote: > On 09/21/2017 11:35 PM, Philip Balister wrote: >> On 09/19/2017 04:15 AM, Marek Vasut wrote: >>> On 09/18/2017 06:06 PM, Tom Rini wrote: On Mon, Sep 18, 2017 at 04:51:31PM +0100, Burton, Ross wrote: > On 18 September 2017 at

Re: [U-Boot] [OE-core] [PATCH] u-boot: Upgrade to 2017.09

2017-09-22 Thread Marek Vasut
On 09/21/2017 11:35 PM, Philip Balister wrote: > On 09/19/2017 04:15 AM, Marek Vasut wrote: >> On 09/18/2017 06:06 PM, Tom Rini wrote: >>> On Mon, Sep 18, 2017 at 04:51:31PM +0100, Burton, Ross wrote: On 18 September 2017 at 16:46, Otavio Salvador < otavio.salva...@ossystems.com.br> wrote

Re: [U-Boot] [PATCH] serial: serial_sh: take into account port->clk_mode for SH7785/7786

2017-09-22 Thread Nobuhiro Iwamatsu
Hi, 2017-09-14 7:27 GMT+09:00 Thomas Petazzoni : > Hello, > > On Mon, 28 Aug 2017 14:16:38 +0200, Thomas Petazzoni wrote: >> In the SH7785/SH7786 case, the SCSCR value is harcoded to be 0x3a, >> which means bits CKE1/CKE0 have the value 10b. This tells the SCIF >> that the "External clock/SCIF_SCK

Re: [U-Boot] [PATCH] ARM: rmobile: dts: Add XHCI USB node to r8a7796

2017-09-22 Thread Nobuhiro Iwamatsu
Hi, 2017-09-13 6:02 GMT+09:00 Marek Vasut : > The R8A7796 XHCI USB nodes are missing from r8a7796 dtsi, add them. > These nodes don't come from mainline Linux, yet the DT binding is > similar enough to R8A7795 which already has those in mainline and > once the nodes hit mainline, this DT should be

Re: [U-Boot] [PATCH] ARM: rmobile: Move CONFIG_CMD_ from rcar-gen3-common to configs

2017-09-22 Thread Nobuhiro Iwamatsu
Hi, 2017-09-13 2:08 GMT+09:00 Marek Vasut : > Just move those config options from macros to configs. > > Signed-off-by: Marek Vasut > Cc: Nobuhiro Iwamatsu Applied to rmobile branch. Thanks, Nobuhiro > --- > configs/r8a7795_salvator-x_defconfig | 4 > configs/r8a7795_ulcb_defconfig

Re: [U-Boot] [PATCH 5/6] ARM: rmobile: Enable EHCI generic on ULCB

2017-09-22 Thread Nobuhiro Iwamatsu
Hi, 2017-09-13 2:07 GMT+09:00 Marek Vasut : > Enable the EHCI generic driver, which is superior to ad-hoc SoC specific one. > > Signed-off-by: Marek Vasut > Cc: Nobuhiro Iwamatsu Applied to rmobile branch. Thanks, Nobuhiro > --- > configs/r8a7795_ulcb_defconfig | 1 + > configs/r8a7796_ulc

Re: [U-Boot] [PATCH] imx: Include header file

2017-09-22 Thread Fabio Estevam
On Fri, Sep 22, 2017 at 12:12 PM, Diego Dorta wrote: > When building with W=1 errors like the one below is seen: > > board/freescale/mx6sabresd/mx6sabresd.c:546:5: warning: > no previous prototype for ‘overwrite_console’ > [-Wmissing-prototypes] int overwrite_console(void) > > Fix the build warnin

Re: [U-Boot] [PATCH 4/6] ARM: rmobile: Enable EHCI generic on Salvator-X

2017-09-22 Thread Nobuhiro Iwamatsu
Hi, 2017-09-13 2:07 GMT+09:00 Marek Vasut : > Enable the EHCI generic driver, which is superior to ad-hoc SoC specific one. > > Signed-off-by: Marek Vasut > Cc: Nobuhiro Iwamatsu Applied to rmobile branch. Thanks, Nobuhiro > --- > configs/r8a7795_salvator-x_defconfig | 1 + > configs/r8a77

Re: [U-Boot] [PATCH 3/6] ARM: rmobile: Move HSUSB configuration to board on ULCB

2017-09-22 Thread Nobuhiro Iwamatsu
Hi, 2017-09-13 2:07 GMT+09:00 Marek Vasut : > In order to use ehci-generic driver, move the configuration of HSUSB > block into the board file. This configuration should not have been in > the Gen3 EHCI USB driver in the first place, so move it to the board > file until there is a proper infrastru

Re: [U-Boot] [PATCH 1/6] ARM: rmobile: dts: Add EHCI USB nodes to r8a7796

2017-09-22 Thread Nobuhiro Iwamatsu
Hi, 2017-09-13 2:07 GMT+09:00 Marek Vasut : > The R8A7796 EHCI USB nodes are missing from r8a7796 dtsi, add them. > These nodes don't come from mainline Linux, yet the DT binding is > similar enough to R8A7795 which already has those in mainline and > once the nodes hit mainline, this DT should be

Re: [U-Boot] [PATCH 2/6] ARM: rmobile: Move HSUSB configuration to board on Salvator-X

2017-09-22 Thread Nobuhiro Iwamatsu
Hi, 2017-09-13 2:07 GMT+09:00 Marek Vasut : > In order to use ehci-generic driver, move the configuration of HSUSB > block into the board file. This configuration should not have been in > the Gen3 EHCI USB driver in the first place, so move it to the board > file until there is a proper infrastru

[U-Boot] [PATCH] SPL: SPI: sunxi: add SPL FIT image support

2017-09-22 Thread Andre Przywara
The sunxi-specific SPI load routine only knows how to load a legacy U-Boot image. Teach it how to handle FIT images as well, simply by providing the existing SPL FIT loader with the right loader routine to access the SPI NOR flash. Signed-off-by: Andre Przywara Reported-by: Peter Kosa --- Hi,

Re: [U-Boot] [PATCH] drivers: pci: imx: add imx_pcie_remove function

2017-09-22 Thread Marek Vasut
On 09/22/2017 04:00 PM, David Müller (ELSOFT AG) wrote: > Hello > > Does the code below really work? > > On my custom MX6Q board, the code hangs on the read of the > "PCIE_PL_PFLR". Please note that this code sequence is not entered the > first time after a power up; I have to execute a U-Boot re

Re: [U-Boot] [U-Boot,v10,04/10] usb: phy: Add STi USB2 PHY

2017-09-22 Thread Marek Vasut
On 09/22/2017 04:18 PM, Tom Rini wrote: > On Tue, Sep 05, 2017 at 11:04:21AM +0200, patrice.chot...@st.com wrote: > >> From: Patrice Chotard >> >> This is the generic phy driver for the picoPHY ports >> used by USB2/1.1 controllers. It is found on STiH407 SoC >> family from STMicroelectronics. >>

[U-Boot] [PATCH] ARM: mvebu: handle unused DRAM banks with ECC enabled

2017-09-22 Thread Chris Packham
dram_ecc_scrubbing() had code to skip unused DRAM banks but it would not work because mvebu_sdram_bs() returns 0 and the code was subtracting 1 before checking the size. Remove the -1 from the bank size and the +1 from the total which will skip unused banks and still calculate the correct size. Put

Re: [U-Boot] setjmp/longjmp prototype in U-Boot

2017-09-22 Thread Alexander Graf
Hi Philipp, On 09/21/2017 10:57 AM, Dr. Philipp Tomsich wrote: Simon & Alexander, It appears our setjmp/longjmp prototypes and implementations are in non-compliance with current C-standards (I checked against both C99 and C2011). U-Boot defines setjmp as: int setjmp(struct jmp_buf_data *j

[U-Boot] [PATCH] ARM: MV_EBU: Increase size of PCIe default mapping

2017-09-22 Thread VlaoMao
--- drivers/pci/pci_mvebu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/pci/pci_mvebu.c b/drivers/pci/pci_mvebu.c index da0aa29865..076a63f210 100644 --- a/drivers/pci/pci_mvebu.c +++ b/drivers/pci/pci_mvebu.c @@ -82,11 +82,11 @@ struct mvebu_pcie { /* * MV

Re: [U-Boot] [RESEND PATCH 5/5] sunxi: video: add LCD support to DE2 driver

2017-09-22 Thread Vasily Khoruzhick
After discussing it with Maxime in IRC I decided to wait till pinctrl driver for sunxi is ready. Please kindly disregard this series. Regards, Vasily On Fri, Sep 22, 2017 at 7:44 AM, Maxime Ripard wrote: > On Fri, Sep 22, 2017 at 04:42:24AM +, Vasily Khoruzhick wrote: >> >> >>> + lcdc_i

[U-Boot] [PATCH v2 3/3] board: STiH410-B2260: set ramdisk_addr_r to 0x48000000

2017-09-22 Thread patrice.chotard
From: Lee Jones Add missing ramdisk_addr_r param and set it to 0x4800 Signed-off-by: Lee Jones --- v2: rebase on v2017.09 include/configs/stih410-b2260.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/stih410-b2260.h b/include/configs/stih410-b2260.h index fc11f3c..9

[U-Boot] [PATCH v2 2/3] board: STiH410-B2260: fix sdram size

2017-09-22 Thread patrice.chotard
From: Nicolas Le Bayon 32MB are reserved for Trusted Zone purpose Signed-off-by: Nicolas Le Bayon --- v2: rebase on v2017.09 include/configs/stih410-b2260.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/stih410-b2260.h b/include/configs/stih410-b2260.h i

[U-Boot] [PATCH v2 1/3] board: STiH410-B2260: update environment variable

2017-09-22 Thread patrice.chotard
From: Patrice Chotard Update environment variable by updating: _ BOOT_TARGET_DEVICE _ CONFIGS_BOOTARGS _ kernel_addr_r, fdtfile, fdt_addr_r, scriptaddr, fdt_high, intird_high Signed-off-by: Patrice Chotard --- v2: rebase on v2017.09 configs/stih410-b2260_defconfig | 2 +- include/configs

[U-Boot] [PATCH v2 0/3] STiH410-B2260: update environment/configuration settings

2017-09-22 Thread patrice.chotard
From: Patrice Chotard Update the CONFIG_EXTRA_ENV_SETTINGS, BOOT_TARGET_DEVICES and CONFIG_BOOTARGS Fix SDRAM size v2: rebase on v2017.09 Lee Jones (1): board: STiH410-B2260: set ramdisk_addr_r to 0x4800 Nicolas Le Bayon (1): board: STiH410-B2260: fix sdram size Patrice Chotard (1):

Re: [U-Boot] [PATCH v2] sun50i: h5: Add NanoPi Neo Plus2 DT initial support

2017-09-22 Thread Maxime Ripard
Hi Antony, On Fri, Sep 22, 2017 at 01:09:05PM +, Antony Antony wrote: > +&mmc0 { > + compatible = "allwinner,sun50i-h5-mmc", > + "allwinner,sun50i-a64-mmc"; Sorry for missing that out earlier, but why do you need to override the compatible here? Is there something missin

Re: [U-Boot] Armada 38x clearfog pci trouble

2017-09-22 Thread Stefan Roese
Hi Bin, On 22.09.2017 15:33, Bin Meng wrote: On Fri, Sep 22, 2017 at 8:32 PM, Stefan Roese wrote: On 22.09.2017 14:13, Владислав wrote: I try to port sm750fb driver to uboot. I need to access bar0 because its framebuffer memory of video card. After little research i find out pciauto_region_

[U-Boot] [PATCH] imx: Include header file

2017-09-22 Thread Diego Dorta
When building with W=1 errors like the one below is seen: board/freescale/mx6sabresd/mx6sabresd.c:546:5: warning: no previous prototype for ‘overwrite_console’ [-Wmissing-prototypes] int overwrite_console(void) Fix the build warnings by including . Signed-off-by: Diego Dorta --- board/advantec

[U-Boot] Ambiguous regulator node name prefixes

2017-09-22 Thread Felix Brack
Hello, I'm working on a DM and DT compatible driver for the TI TPS65910 PMIC. The regulators for this PMIC are defined in arch/arm/dts/tps65910.dtsi and named 'regulator@0' through 'regulator@13'. Using for example the prefix 'regulator@1' in pmic_child_info[] will match to 'regualtor@1' and 'regu

Re: [U-Boot] [RESEND PATCH 5/5] sunxi: video: add LCD support to DE2 driver

2017-09-22 Thread Maxime Ripard
On Fri, Sep 22, 2017 at 04:42:24AM +, Vasily Khoruzhick wrote: > >> >>> + lcdc_init(lcdc); > >> >>> + sunxi_lcdc_config_pinmux(); > >> >> > >> >> This is already handled in sunxi_lcdc_tcon0_mode_set, why duplicate > >> >> it? > >> > > >> > Because the one that sunxi_lcdc_tcon0_mode_set(

Re: [U-Boot] [PATCH v2 00/26] mmc: Add support for HS200 and UHS modes

2017-09-22 Thread Jaehoon Chung
Dear JJ, On 09/21/2017 11:29 PM, Jean-Jacques Hiblot wrote: > This series brings support for HS200 and UHS modes to the mmc core. > It has been tested with the hsmmc driver on several platforms (DRA7, > AM57x, AM437x, beaglebone black, Atmel SAMA5D3 xplained). Some modifications > are required in

Re: [U-Boot] [PATCH 4/9] sunxi: Switch MUSB to gadget mode on the Bananapi M3

2017-09-22 Thread Maxime Ripard
On Fri, Sep 22, 2017 at 11:20:10AM +, Chen-Yu Tsai wrote: > On Fri, Sep 22, 2017 at 4:14 PM, Maxime Ripard > wrote: > > On Fri, Sep 22, 2017 at 07:26:30AM +, Chen-Yu Tsai wrote: > >> The Bananapi M3 has a micro-USB OTG port. It supports both host and > >> gadget mode. Having the OTG port o

Re: [U-Boot] [U-Boot, v2, 8/9] ARM: DTS: stm32: adapt stm32h7 dts files for U-boot

2017-09-22 Thread Tom Rini
On Wed, Sep 13, 2017 at 06:00:11PM +0200, patrice.chot...@st.com wrote: > From: Patrice Chotard > > This patch adapts stm32h743 disco and eval dts files to match > with U-boot requirements or add features wich are not yet > upstreamed on kernel side : > > _ Add RCC clock driver node and update

Re: [U-Boot] [U-Boot, v2] spl: Fix compiling warning on gunzip argument

2017-09-22 Thread Tom Rini
On Fri, Sep 15, 2017 at 08:21:13AM -0700, York Sun wrote: > common/spl/spl_fit.c:201:12: warning: passing argument 4 of ‘gunzip’ > from incompatible pointer type [-Wincompatible-pointer-types] >src, &length)) > > Signed-off-by: York Sun > Reported-by: Heinrich Schuchardt > CC: Jean-Jacq

Re: [U-Boot] [linux-sunxi] Re: [PATCH v5 1/4] sunxi: change the DE1 video option to CONFIG_VIDEO_SUNXI

2017-09-22 Thread icenowy
在 2017-09-22 19:57,Maxime Ripard 写道: On Fri, Sep 22, 2017 at 06:41:40AM +, icen...@aosc.io wrote: 在 2017-09-22 03:18,Maxime Ripard 写道: > On Thu, Sep 21, 2017 at 07:48:20AM +, Icenowy Zheng wrote: > > > > > > 于 2017年9月21日 GMT+08:00 下午3:40:23, Maxime Ripard > > 写到: > > >Hi, > > > > > >On

Re: [U-Boot] [PATCH v2 0/5] mmc: omap_hsmmc: Add support for ADMA

2017-09-22 Thread Jaehoon Chung
On 09/21/2017 11:51 PM, Jean-Jacques Hiblot wrote: > This series enables the ADMA present in some OMAP SOCs. > On a DRA7 the performances when reading from the eMMC go from 18MB/s > to 43MB/s. > Also while were at it, fix some incorrect bit operations > > This series applies on top of the series

Re: [U-Boot] Travis-CI: Checkout only v1.4.3 of dtc

2017-09-22 Thread Tom Rini
On Sun, Sep 17, 2017 at 09:42:25AM -0400, Tom Rini wrote: > Our minimum DTC version is 1.4.3, so check that out. > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing l

Re: [U-Boot] [PATCHv2] fs/fat: Reduce stack usage

2017-09-22 Thread Tom Rini
On Fri, Sep 22, 2017 at 09:02:09AM -0400, Tom Rini wrote: > We have limited stack in SPL builds. Drop itrblock and move to > malloc/free of itr to move this off of the stack. As part of this fix a > double-free issue in fat_size(). > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks!

Re: [U-Boot] [U-Boot, v2, 7/9] ARM: DTS: stm32: add stm32h743i-eval files

2017-09-22 Thread Tom Rini
On Wed, Sep 13, 2017 at 06:00:10PM +0200, patrice.chot...@st.com wrote: > From: Patrice Chotard > > This file is imported from linux kernel v4.13 > > Add device tree support for STM32H743 evaluation board. > This board offers : > _ STM32H743XIH6 microcontroller with 2 Mbytes of > Flash me

Re: [U-Boot] [U-Boot,v2,4/9] dm: reset: add stm32 reset driver

2017-09-22 Thread Tom Rini
On Wed, Sep 13, 2017 at 06:00:07PM +0200, patrice.chot...@st.com wrote: > From: Patrice Chotard > > This driver is adapted from linux drivers/reset/reset-stm32.c > It's compatible with STM32 F4/F7/H7 SoCs. > > This driver doesn't implement .of_match as it's binded > by MFD RCC driver. > > To a

Re: [U-Boot] spl: stash bootstage info before jump to next stage

2017-09-22 Thread Tom Rini
On Wed, Sep 13, 2017 at 06:24:24PM +0800, Kever Yang wrote: > Since we may jump to next stage like ATF/OP-TEE instead of U-Boot, > we need to stash the bootstage info before it. > > Signed-off-by: Kever Yang > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] [U-Boot, v2] net/tftp: fix build if CMD_BOOTEFI is not set

2017-09-22 Thread Tom Rini
On Fri, Sep 15, 2017 at 10:16:48PM +0200, Jörg Krause wrote: > Fixes: > net/tftp.c:811: undefined reference to `efi_set_bootdev' > > Signed-off-by: Jörg Krause > Reviewed-by: Bin Meng Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] Makefile: Update minimum dtc version to 1.4.3

2017-09-22 Thread Tom Rini
On Fri, Sep 15, 2017 at 01:15:25PM -0400, Tom Rini wrote: > With support for overlays and calling the -@ flag to dtc we need to have > at least 1.4.3 available now. > > Cc: Simon Glass > Reported-by: Stephen Warren > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signatu

Re: [U-Boot] [U-Boot, v2, 9/9] board: Add stm32h7 SoC, discovery and evaluation boards support

2017-09-22 Thread Tom Rini
On Wed, Sep 13, 2017 at 06:00:12PM +0200, patrice.chot...@st.com wrote: > From: Patrice Chotard > > This patch adds support for stm32h7 soc family, stm32h743 > discovery and evaluation boards. > > For more information about STM32H7 series, please visit: > http://www.st.com/en/microcontrollers/s

Re: [U-Boot] [U-Boot, v2, 3/9] dm: clk: add clk driver support for stm32h7 SoCs

2017-09-22 Thread Tom Rini
On Wed, Sep 13, 2017 at 06:00:06PM +0200, patrice.chot...@st.com wrote: > From: Patrice Chotard > > This driver implements basic clock setup, only clock gating > is implemented. > > This driver doesn't implement .of_match as it's binded > by MFD RCC driver. > > Files include/dt-bindings/clock/

Re: [U-Boot] Please pull u-boot-video/next

2017-09-22 Thread Tom Rini
On Fri, Sep 15, 2017 at 03:12:28PM +0200, Anatolij Gustschin wrote: > Hi Tom, > > please pull some new video patches. The full build passed: > > https://travis-ci.org/vdsao/u-boot-video/builds/275799369 > > The following changes since commit c98ac3487e413c71e5d36322ef3324b21c6f60f9: > > Pr

Re: [U-Boot] [U-Boot, v10, 09/10] ARM: dts: STiH410: update ehci and ohci compatible

2017-09-22 Thread Tom Rini
On Tue, Sep 05, 2017 at 11:04:26AM +0200, patrice.chot...@st.com wrote: > From: Patrice Chotard > > Update ehci and ohci node's compatible string in order to > use ehci-generic and ohci-generic drivers. > > Signed-off-by: Patrice Chotard > Reviewed-by: Simon Glass Applied to u-boot/master, t

Re: [U-Boot] [U-Boot, v2, 1/9] pinctrl: stm32: add stm32h743-pinctrl compatible

2017-09-22 Thread Tom Rini
On Wed, Sep 13, 2017 at 06:00:04PM +0200, patrice.chot...@st.com wrote: > From: Patrice Chotard > > STM32H7 SoCs uses the same pinctrl block as found into > STM32F7 SoCs > > Signed-off-by: Patrice Chotard > Reviewed-by: Simon Glass > Reviewed-by: Vikas Manocha Applied to u-boot/master, than

Re: [U-Boot] [U-Boot,v2,2/9] serial: stm32x7: add STM32H7 support

2017-09-22 Thread Tom Rini
On Wed, Sep 13, 2017 at 06:00:05PM +0200, patrice.chot...@st.com wrote: > From: Patrice Chotard > > STM32F7 and STM32H7 shares the same UART block, add > STM32H7 compatible string. > > Signed-off-by: Patrice Chotard > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom sign

Re: [U-Boot] [U-Boot,V2] test/py: gpt: make use of infra-structure

2017-09-22 Thread Tom Rini
On Fri, Sep 15, 2017 at 12:19:38PM -0600, Stephen Warren wrote: > From: Stephen Warren > > Make various changes to the GPT test: > > 1) Reference the disk image using an absolute path in all cases. This > allows test/py to operate correctly if it's run from a directory other > than the root of

Re: [U-Boot] [U-Boot,v10,04/10] usb: phy: Add STi USB2 PHY

2017-09-22 Thread Tom Rini
On Tue, Sep 05, 2017 at 11:04:21AM +0200, patrice.chot...@st.com wrote: > From: Patrice Chotard > > This is the generic phy driver for the picoPHY ports > used by USB2/1.1 controllers. It is found on STiH407 SoC > family from STMicroelectronics. > > Signed-off-by: Patrice Chotard > Reviewed-by

Re: [U-Boot] [U-Boot, v10, 07/10] usb: dwc3: Add dwc3 glue driver support for STi

2017-09-22 Thread Tom Rini
On Tue, Sep 05, 2017 at 11:04:24AM +0200, patrice.chot...@st.com wrote: > From: Patrice Chotard > > This patch adds the ST glue logic to manage the DWC3 HC > on STiH407 SoC family. It configures the internal glue > logic and syscfg registers. > > Part of this code been extracted from kernel.org

Re: [U-Boot] [U-Boot, v10, 10/10] board: STiH410-B2260: add fastboot support

2017-09-22 Thread Tom Rini
On Tue, Sep 05, 2017 at 11:04:27AM +0200, patrice.chot...@st.com wrote: > From: Patrice Chotard > > Add usb_gadget_handle_interrupts(), board_usb_init(), > board_usb_cleanup() and g_dnl_board_usb_cable_connected() > callbacks needed for FASTBOOT support > > Signed-off-by: Patrice Chotard > Rev

Re: [U-Boot] [U-Boot, v10, 08/10] ARM: dts: STiH410: set DWC3 dual role mode to peripheral

2017-09-22 Thread Tom Rini
On Tue, Sep 05, 2017 at 11:04:25AM +0200, patrice.chot...@st.com wrote: > From: Patrice Chotard > > On STi 96boards, configure by default the micro USB connector > (managed by DWC3 hardware block) in peripheral mode. > This will allow to use fastboot feature. > > Signed-off-by: Patrice Chotard

Re: [U-Boot] [U-Boot, v2, 6/9] ARM: DTS: stm32: add stm32h743i-disco files

2017-09-22 Thread Tom Rini
On Wed, Sep 13, 2017 at 06:00:09PM +0200, patrice.chot...@st.com wrote: > From: Patrice Chotard > > All these files are imported from linux kernel v4.13 > > Add device tree support for STM32H743 SoC and discovery > board. This board offers : > _ STM32H743XIH6 microcontroller with 2 Mbytes of

Re: [U-Boot] [U-Boot, 4/5] pci: layerscape: Remove unused field 'hose' from struct ls_pcie

2017-09-22 Thread Tom Rini
On Fri, Sep 01, 2017 at 05:26:01PM +0300, Tuomas Tynkkynen wrote: > This field is no longer used since the DM conversion. Drop it. > > Signed-off-by: Tuomas Tynkkynen > Reviewed-by: Bin Meng Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [U-Boot, v10, 06/10] STiH410-B2260: enable USB, fastboot, reset, PHY related flags

2017-09-22 Thread Tom Rini
On Tue, Sep 05, 2017 at 11:04:23AM +0200, patrice.chot...@st.com wrote: > From: Patrice Chotard > > Signed-off-by: Patrice Chotard > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [U-Boot, v10, 05/10] STiH410-B2260: enable USB Host Networking

2017-09-22 Thread Tom Rini
On Tue, Sep 05, 2017 at 11:04:22AM +0200, patrice.chot...@st.com wrote: > From: Patrice Chotard > > Enable USB Host Networking support by enabling Ethernet/USB > adaptors support and by enabling some BOOTP flags > > Signed-off-by: Patrice Chotard > Reviewed-by: Simon Glass Applied to u-boot/

Re: [U-Boot] [U-Boot, v10, 03/10] mmc: sti_sdhci: Use reset framework

2017-09-22 Thread Tom Rini
On Tue, Sep 05, 2017 at 11:04:20AM +0200, patrice.chot...@st.com wrote: > From: Patrice Chotard > > Signed-off-by: Patrice Chotard > Reviewed-by: Jaehoon Chung > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [U-Boot, v2] arm: am33xx: Make pin multiplexing functions optional

2017-09-22 Thread Tom Rini
On Thu, Sep 14, 2017 at 02:37:08PM +0200, Felix Brack wrote: > This patch provides default implementations of the two functions > set_uart_mux_conf and set_mux_conf_regs. Hence boards not using > them do not need to provide their distinct empty definitions. > > Signed-off-by: Felix Brack > Revie

Re: [U-Boot] [U-Boot,v2,5/9] dm: misc: add stm32 rcc driver

2017-09-22 Thread Tom Rini
On Wed, Sep 13, 2017 at 06:00:08PM +0200, patrice.chot...@st.com wrote: > From: Christophe Kerello > > This patch adds the support of reset and clock control > block (rcc) found on STM32 SoCs. > This driver is similar to a MFD linux driver. > > This driver supports currently STM32H7 only. > STM

Re: [U-Boot] [U-Boot, 3/5] pci: tegra: Remove unused field 'hose' from struct tegra_pcie

2017-09-22 Thread Tom Rini
On Fri, Sep 01, 2017 at 05:26:00PM +0300, Tuomas Tynkkynen wrote: > This field is no longer used since the DM conversion. Drop it. > > Signed-off-by: Tuomas Tynkkynen > Reviewed-by: Bin Meng Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [U-Boot, 2/5] pci: xilinx: Remove unused field 'hose' from struct xilinx_pcie

2017-09-22 Thread Tom Rini
On Fri, Sep 01, 2017 at 05:25:59PM +0300, Tuomas Tynkkynen wrote: > This field has never been used as the driver has been DM-based since the > beginning. Drop it. > > Signed-off-by: Tuomas Tynkkynen > Reviewed-by: Bin Meng Applied to u-boot/master, thanks! -- Tom signature.asc Description:

Re: [U-Boot] [U-Boot, v10, 01/10] mmc: sti_sdhci: Rework sti_mmc_core_config()

2017-09-22 Thread Tom Rini
On Tue, Sep 05, 2017 at 11:04:18AM +0200, patrice.chot...@st.com wrote: > From: Patrice Chotard > > Use struct udevice* as input parameter. Previous > parameters are retrieved through plat and priv data. > > This to prepare to use the reset framework. > > Signed-off-by: Patrice Chotard > Revi

Re: [U-Boot] [U-Boot, v10, 02/10] ARM: dts: stih410-family: Add missing reset_names for mmc1 node

2017-09-22 Thread Tom Rini
On Tue, Sep 05, 2017 at 11:04:19AM +0200, patrice.chot...@st.com wrote: > From: Patrice Chotard > > reset-names property is needed to use the reset > API for STi sdhci driver. > > Signed-off-by: Patrice Chotard > Reviewed-by: Jaehoon Chung > Reviewed-by: Simon Glass Applied to u-boot/master

Re: [U-Boot] [U-Boot, 5/5] pci: Remove unnecessary 'default n' from Kconfig

2017-09-22 Thread Tom Rini
On Fri, Sep 01, 2017 at 05:26:02PM +0300, Tuomas Tynkkynen wrote: > 'default n' is the default anyway so it doesn't need to be specified > explicitly, and the rest of the file doesn't specify it either anywhere. > Drop it. > > Signed-off-by: Tuomas Tynkkynen > Reviewed-by: Bin Meng Applied to

Re: [U-Boot] Uboot send pull request

2017-09-22 Thread Tom Rini
On Thu, Sep 21, 2017 at 10:45:08AM +0800, ub...@andestech.com wrote: > Hi Tom, > > Please pull the following patch from u-boot-nds32 into your tree. > Thanks! > > The following changes since commit e884656c2c0b2406b9bf99ea76f5a8c75128a331: > > Merge git://www.denx.de/git/u-boot-imx (2017-0

Re: [U-Boot] [U-Boot, 1/5] pci: xilinx: Fix doc comments on config space accessors

2017-09-22 Thread Tom Rini
On Fri, Sep 01, 2017 at 05:25:58PM +0300, Tuomas Tynkkynen wrote: > These take the 'struct udevice *' as an argument, not the > 'struct xilinx_pcie *` which is a local variable. Fix the comments to > match the code. > > Signed-off-by: Tuomas Tynkkynen > Reviewed-by: Bin Meng Applied to u-boot/

Re: [U-Boot] [PATCH v3 0/2] power: Add a driver to handle the PBIAS cell of the TI SOCs

2017-09-22 Thread Jaehoon Chung
On 09/22/2017 12:03 AM, Jean-Jacques Hiblot wrote: > In the TI SOCs a PBIAS cell exists to provide a bias voltage to the MMC1 > IO cells. Without this bias voltage these I/O cells can not function > properly. This bias voltage is either 1.8v or 3.0v. > > The first patch adds 2 functions to the DM

Re: [U-Boot] [PATCH] drivers: pci: imx: add imx_pcie_remove function

2017-09-22 Thread ELSOFT AG
Hello Does the code below really work? On my custom MX6Q board, the code hangs on the read of the "PCIE_PL_PFLR". Please note that this code sequence is not entered the first time after a power up; I have to execute a U-Boot reset to actually trigger the hang. Any ideas what is going wrong? Whi

Re: [U-Boot] [PATCH v2 24/26] mmc: use the right voltage level for MMC DDR and HS200 modes

2017-09-22 Thread Jaehoon Chung
On 09/21/2017 11:30 PM, Jean-Jacques Hiblot wrote: > HS200 only supports 1.2v and 1.8v signal voltages. DDR52 supports 3.3v/1.8v > or 1.2v signal voltages. > Select the lowest voltage available when using those modes. > > Signed-off-by: Jean-Jacques Hiblot > --- > drivers/mmc/mmc.c | 68 > +

Re: [U-Boot] [PATCH v2 26/26] dm: mmc: Add a library function to parse generic dt binding

2017-09-22 Thread Jaehoon Chung
On 09/21/2017 11:30 PM, Jean-Jacques Hiblot wrote: > From: Kishon Vijay Abraham I > > Add a new function to parse host controller dt node and > set mmc_config. This function can be used by mmc controller > drivers to set the generic mmc_config. > This function can be extended to set other UHS mod

Re: [U-Boot] [PATCH v2 23/26] mmc: Retry some MMC cmds on failure

2017-09-22 Thread Jaehoon Chung
On 09/21/2017 11:30 PM, Jean-Jacques Hiblot wrote: > From: Kishon Vijay Abraham I > > With certain SD cards like Kingston 8GB/16GB UHS card, it is seen that > MMC_CMD_ALL_SEND_CID cmd fails on first attempt, but succeeds > subsequently. Therefore, retry MMC_CMD_ALL_SEND_CID cmd a few time > as do

Re: [U-Boot] [PATCH v2 13/26] mmc: Enable signal voltage to be selected from mmc core

2017-09-22 Thread Jaehoon Chung
On 09/21/2017 11:30 PM, Jean-Jacques Hiblot wrote: > From: Kishon Vijay Abraham I > > Add a new function *mmc_set_signal_voltage* in mmc core > which can be used during mmc initialization to select the > signal voltage. Platform driver should use the set_ios > callback function to select the sign

Re: [U-Boot] [PATCH v2 07/26] mmc: Add a function to dump the mmc capabilities

2017-09-22 Thread Jaehoon Chung
Hi, On 09/21/2017 11:29 PM, Jean-Jacques Hiblot wrote: > This adds a simple helper function to display information (bus width and > mode) based on a capability mask. Useful for debug. I agreed this is useful.. but there is no usage in your patch. How did you use this? and Where does call this fun

Re: [U-Boot] [PATCH V3 1/5] mmc: uniphier-sd: Factor out register IO

2017-09-22 Thread Jaehoon Chung
On 08/21/2017 12:11 AM, Marek Vasut wrote: > This patch prepares the driver to support controller(s) with registers > at locations shifted by constant. Pull out the readl()/writel() from > the driver into separate functions, where the adjustment of the register > offset can be easily contained. So

Re: [U-Boot] [PATCH 06/13] log: Add an implemention of logging

2017-09-22 Thread Bin Meng
Hi Simon, On Thu, Sep 21, 2017 at 12:58 PM, Simon Glass wrote: > Hi Bin, > > On 20 September 2017 at 08:41, Bin Meng wrote: >> >> Hi Simon, >> >> On Wed, Sep 20, 2017 at 9:50 PM, Simon Glass wrote: >> > Hi Bin, >> > >> > On 17 September 2017 at 21:45, Bin Meng wrote: >> >> Hi Simon, >> >> >> >

Re: [U-Boot] Armada 38x clearfog pci trouble

2017-09-22 Thread Bin Meng
Hi, On Fri, Sep 22, 2017 at 8:32 PM, Stefan Roese wrote: > On 22.09.2017 14:13, Владислав wrote: >> >> I try to port sm750fb driver to uboot. I need to access bar0 because its >> framebuffer memory of video card. >> >> After little research i find out pciauto_region_allocate failed for >> allocat

Re: [U-Boot] [PATCH v2 1/2] ls1088ardb: Enable USB command RDB qspi-boot

2017-09-22 Thread Bin Meng
Hi Ran, On Thu, Sep 21, 2017 at 1:34 PM, Ran Wang wrote: > From: Ashish Kumar > > Signed-off-by: Ashish Kumar > Signed-off-by: Amrita Kumari > Signed-off-by: Ran Wang > --- > Change in v2: > 1.Adjust USB nodes position in dts to keep them sorted in > unit-address. >

[U-Boot] [PATCH v2] sun50i: h5: Add NanoPi Neo Plus2 DT initial support

2017-09-22 Thread Antony Antony
Add initial DT for NanoPi NEO Plus2 by FriendlyARM - Allwinner quad core H5 Cortex A53 with an ARM Mali-450MP GPU - 1 GB DDR3 RAM - 8GB eMMC flash (Samsung KLM8G1WEPD-B031) - micro SD card slot - Gigabit Ethernet (external RTL8211E-VB-CG chip) - 802.11 b/g/n WiFi, Bluetooth 4.0 (Ampak AP6212A modul

[U-Boot] [PATCHv2] fs/fat: Reduce stack usage

2017-09-22 Thread Tom Rini
We have limited stack in SPL builds. Drop itrblock and move to malloc/free of itr to move this off of the stack. As part of this fix a double-free issue in fat_size(). Signed-off-by: Tom Rini --- Rework to use malloc/free as moving this to a global overflows some SH targets. fs/fat/fat.c | 14

Re: [U-Boot] Armada 38x clearfog pci trouble

2017-09-22 Thread Stefan Roese
On 22.09.2017 14:13, Владислав wrote: I try to port sm750fb driver to uboot. I need to access bar0 because its framebuffer memory of video card. After little research i find out pciauto_region_allocate failed for allocation region for bar0: PCI Autoconfig: BAR 0, Mem, size=0x400, No room

[U-Boot] [PATCH] doc: Fix statements on case sensitivity for regulator prefix

2017-09-22 Thread Felix Brack
The regulator bindings state that regulator prefixes are allowd to be in upper or lower case. However pmic_bind_children from pmic_uclass uses strncmp to compare DT node name against prefix. This comparison is case sensitive hence the regulator driver prefix case matters. Signed-off-by: Felix Brac

Re: [U-Boot] Antwort: Re: QSPI "sf probe ...", "sf read ..." on Altera SoC FPGA

2017-09-22 Thread Clément Péron
Sorry these are my local commits you can find them here : https://patchwork.ozlabs.org/patch/765992/ https://patchwork.ozlabs.org/patch/765996/ https://patchwork.ozlabs.org/patch/765997/ https://patchwork.ozlabs.org/patch/765998/ 2017-09-22 14:12 GMT+02:00 Clément Péron : > Hi, > > I got also som

Re: [U-Boot] Antwort: Re: QSPI "sf probe ...", "sf read ..." on Altera SoC FPGA

2017-09-22 Thread Clément Péron
Hi, I got also somme issue with my QSPI on CycmoneV and u-boot 2017.07 I cherry-picked commits from Jason Rush : b90ce1c29023abe730d2b4174294bdc09acef3e0 836a0278476be94c95ff084f81c2302fc5c0265c b0eac7e0d1e4817388543b58d30b322d0bac49a8 Also i forgot to put the "u-boot,dm-pre-reloc;" in my device

Re: [U-Boot] [linux-sunxi] Re: [PATCH v5 1/4] sunxi: change the DE1 video option to CONFIG_VIDEO_SUNXI

2017-09-22 Thread Maxime Ripard
On Fri, Sep 22, 2017 at 06:41:40AM +, icen...@aosc.io wrote: > 在 2017-09-22 03:18,Maxime Ripard 写道: > > On Thu, Sep 21, 2017 at 07:48:20AM +, Icenowy Zheng wrote: > > > > > > > > > 于 2017年9月21日 GMT+08:00 下午3:40:23, Maxime Ripard > > > 写到: > > > >Hi, > > > > > > > >On Wed, Sep 20, 2017 at

Re: [U-Boot] Armada 38x clearfog pci trouble

2017-09-22 Thread Stefan Roese
On 22.09.2017 08:32, Влад Мао wrote: > Hello. I have a clearfog base board with PCI-E video card based on > SIlicon Motion s750 (InnoDisk EMPV-1201), and i have trouble with > u-boot and accessing to this card. > > I use last u-boot from git, and when i try to read memory from Base > address 0 of

Re: [U-Boot] [PATCH 4/9] sunxi: Switch MUSB to gadget mode on the Bananapi M3

2017-09-22 Thread Chen-Yu Tsai
On Fri, Sep 22, 2017 at 4:14 PM, Maxime Ripard wrote: > On Fri, Sep 22, 2017 at 07:26:30AM +, Chen-Yu Tsai wrote: >> The Bananapi M3 has a micro-USB OTG port. It supports both host and >> gadget mode. Having the OTG port operate in gadget mode is more useful, >> as we can use it for fastboot o

Re: [U-Boot] [PATCH 4/9] sunxi: Switch MUSB to gadget mode on the Bananapi M3

2017-09-22 Thread Maxime Ripard
On Fri, Sep 22, 2017 at 07:26:30AM +, Chen-Yu Tsai wrote: > The Bananapi M3 has a micro-USB OTG port. It supports both host and > gadget mode. Having the OTG port operate in gadget mode is more useful, > as we can use it for fastboot or Ethernet over USB. > > The board has 2 other USB host por

Re: [U-Boot] [PATCH 6/9] net: sun8i_emac: Support RX/TX delay chains

2017-09-22 Thread Maxime Ripard
On Fri, Sep 22, 2017 at 07:26:32AM +, Chen-Yu Tsai wrote: > The EMAC syscon has configurable RX/TX delay chains for use with RGMII > PHYs. > > This adds support for configuring them via device tree properties. The > property names and format were defined in Linux's dwmac-sun8i binding > that w

Re: [U-Boot] [PATCH 3/9] sunxi: Fix USB PHY control register offset for A83T

2017-09-22 Thread Maxime Ripard
Hi On Fri, Sep 22, 2017 at 07:26:29AM +, Chen-Yu Tsai wrote: > It was recently discovered that the USB PHY control register offset on > the A83T is 0x410 like on the A33, not 0x404. Fix it. > > Fixes: 0c935acb9e5d ("sunxi: usb_phy: Add support for A83T USB PHYs") > Signed-off-by: Chen-Yu Tsai

  1   2   >