Re: [U-Boot] Patman - Submitting to mailing list

2017-09-29 Thread Chris Packham
Hi Duncan, On Fri, Sep 29, 2017 at 10:05 AM, Duncan Hare wrote: > Get the following message from running tools/patman/pathan.py > git: 'send-email' is not a git command. See 'git --help'. > > What do I need to do? Duncan Hare (I'm assuming your using some variant of GNU/Linux) For Ubuntu (not s

Re: [U-Boot] [PATCH v2 04/19] arm: socfpga: Add Arria 10 SoCFPGA programming interface

2017-09-29 Thread Chee, Tien Fong
On Isn, 2017-09-25 at 11:03 +0200, Marek Vasut wrote: > On 09/25/2017 10:40 AM, tien.fong.c...@intel.com wrote: > > > > From: Tien Fong Chee > > > > Add code necessary into the FPGA driver framework in U-Boot > > so it can be used via the 'fpga' command for programing Arria 10 > > SoCFPGA. > >

Re: [U-Boot] [PATCH v3 4/7] armv8: ls1043ardb: Use static DDR setting for SPL boot

2017-09-29 Thread Łukasz Majewski
Hi York, This board has soldered DDR chips. To reduce the SPL image size, use static DDR setting instead of dynamic DDR driver. I'm just wondering - since your board supports FIT in SPL, maybe it would be good to have a binary blob with DDR RAM settings embedded into it? Then you would be a

Re: [U-Boot] [PATCH v3 5/7] armv8: layerscape: Enable falcon boot

2017-09-29 Thread Łukasz Majewski
Hi York, Add jump_to_image_linux() for arm64. Add "noreturn" flag to armv8_switch_to_el2(). Add hooks to fsl-layerscape to enable falcon boot. Signed-off-by: York Sun Reviewed-by: Simon Glass --- Changes in v3: Fix typo in subject and other cosmetic fix. Changes in v2: Relace getenv_f() wi

Re: [U-Boot] Patman - Submitting to mailing list

2017-09-29 Thread Łukasz Majewski
On 09/28/2017 11:05 PM, Duncan Hare wrote: Get the following message from running tools/patman/pathan.py git: 'send-email' is not a git command. See 'git --help'. What do I need to do? Duncan Hare 714 931 7952 ___ U-Boot mailing list U-Boot@lists.denx

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

2017-09-29 Thread Chen-Yu Tsai
On Wed, Sep 27, 2017 at 11:53 PM, Joe Hershberger wrote: > On Fri, Sep 22, 2017 at 2:26 AM, 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 for

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

2017-09-29 Thread Clément Péron
Hi Simon, > Disable the data cache tooI change the "compatible" string of the flash chip from "n25q00" to "spi-flash". Yes, missed to mention these steps. Did you also test the saveenv and sf unlock ? Did you get some strange behaviors after a "warm reboot" from linux ? A week that i'm using a n

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

2017-09-29 Thread Hannes Schmelzer
Clément Péron wrote: Hi, > Did you get some strange behaviors after a "warm reboot" from linux ? > A week that i'm using a new u-boot but i catch some strange behavior > after a reboot from linux. there may some issue since linux can set the flash into another (4byte) addressing mode which can

Re: [U-Boot] [PATCH] usb: storage: Fix overwritten in usb_stor_set_max_xfer_blk()

2017-09-29 Thread Bin Meng
Hi Marek, On Fri, Sep 29, 2017 at 10:30 AM, Marek Vasut wrote: > On 09/29/2017 01:36 AM, Bin Meng wrote: >> Hi Marek, >> >> On Thu, Sep 28, 2017 at 11:24 PM, Marek Vasut wrote: >>> On 09/28/2017 06:50 AM, Bin Meng wrote: The stored 'blk' value is overwritten to 'size / 512' before it can >>

Re: [U-Boot] [PATCH] dm: core: Correct address cast in dev_read_addr_ptr()

2017-09-29 Thread Bin Meng
On Thu, Sep 28, 2017 at 8:35 PM, Simon Glass wrote: > This currently causes a warning in sandbox and will not do the right > thing: > > drivers/core/read.c: In function ‘dev_read_addr_ptr’: > drivers/core/read.c:64:44: warning: cast to pointer from integer of > different size [-Wint-to-poi

Re: [U-Boot] Ethernet problem with u-boot for APF27

2017-09-29 Thread Vincent Paratte
Hello, Thank you for your answers. I found a solution. The problem came from the environment variables. I just used the wrong argument with the command "setenv". Know I have "eth0:on" everywhere and I reach to do all the run update again. Vincent > Hi Vincent, > > Which U-Boot

Re: [U-Boot] [PATCH v1 1/6] serial: stm32x7: cleanup code

2017-09-29 Thread Patrice CHOTARD
Hi Bo On 09/29/2017 08:12 AM, Bo Shen wrote: > Hi Patrice, > > On 09/27/2017 06:44 AM, patrice.chot...@st.com wrote: >> From: Patrice Chotard >> >> Use BIT() macro and GENMASK() macro >> >> Signed-off-by: Patrice Chotard >> Reviewed-by: Vikas Manocha >> --- >>   drivers/serial/serial_stm32x7.h

Re: [U-Boot] [PATCH v1 3/6] serial: stm32x7: prepare the ground to STM32F4 support

2017-09-29 Thread Patrice CHOTARD
Hi Bo On 09/29/2017 08:24 AM, Bo Shen wrote: > Hi Patrice, >   For this patch, overall I think you can use more generic method like > define the parameter called ip_version in stm32_uart_info structure, and > according to this information to covert base to different register map > as following

[U-Boot] [PATCH] Revert "sunxi: imply USB_GADGET"

2017-09-29 Thread Icenowy Zheng
This reverts commit 061221ae61440eb05fd5b94ca77c7731315cbddd. The implying of USB_GADGET makes the boards without USB_MUSB_GADGET enabled not able to be built in the U-Boot, and the number of the boards broken is much more than the boards benefited from this commit. So it's reverted. Signed-off-b

[U-Boot] [PATCH v3 0/7] Enable falcon boot for LS1043ARDB

2017-09-29 Thread York Sun
This is the 3rd version to enable falcon boot for LS1043ARDB. With SPL FIT patches merged, enabling falcon boot for this board is straight forward after fixing some errors introduced by other commits. Falcon boot is not enabled by default due to a conflict with recent PPA image update, which takes

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

2017-09-29 Thread Goldschmidt Simon
On 09/22/2017 02:20 PM, Clément Péron wrote: > 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/ Tested on

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

2017-09-29 Thread Goldschmidt Simon
On 09/27/2017 06:54 AM, Hannes Schmelzer wrote: > On 09/22/2017 02:20 PM, Clément Péron wrote: >> 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/ >

[U-Boot] Debugging SPL

2017-09-29 Thread Goldschmidt Simon
Hi, When trying to debug SPL on the socfpga platform with CONFIG_OF_EMBED, I get an error message "SPL image too big" when linking SPL. It seems this is because the U-Boot DTB (~16 Kbyte) is not stripped for SPL when building this way. Is this a known issue? Is there a workaround other than man

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

2017-09-29 Thread Goldschmidt Simon
Hi Clement, > Did you also test the saveenv and sf unlock ? Not yet. > Did you get some strange behaviors after a "warm reboot" from linux ? Unfortunately, I'm not that far, yet. My Linux image only uses the sd-card for now. Regards, Simon ___ U-Bo

Re: [U-Boot] [PATCH v1 5/6] serial: stm32x7: add STM32F4 support

2017-09-29 Thread Patrice CHOTARD
Hi Bo On 09/29/2017 08:26 AM, Bo Shen wrote: > Hi Patrice, > > On 09/27/2017 06:44 AM, patrice.chot...@st.com wrote: >> From: Patrice Chotard >> >> stm32f4 doesn't support FIFO and OVERRUN feature. >> The enable bit is not at the same location in CR1 >> register than for STM32F7 and STM32H7. >>

Re: [U-Boot] [GIT PULL v2] u-boot-sunxi/master

2017-09-29 Thread Maxime Ripard
Hi, On Thu, Sep 28, 2017 at 01:02:58PM +, Tom Rini wrote: > On Thu, Sep 28, 2017 at 11:12:55AM +0200, Maxime Ripard wrote: > > > Hi Tom, > > > > Here is the second version of the pull request sent yesterday. It > > shouldn't show the config warnings anymore. > > > > Thanks! > > Maxime > >

Re: [U-Boot] [PATCH 06/14] arm: socfpga: stratix10: Add misc support for Stratix10 SoC

2017-09-29 Thread See, Chin Liang
On Tue, 2017-09-26 at 17:46 -0500, Dinh Nguyen wrote: > On Tue, Sep 19, 2017 at 4:22 AM,   wrote: > > > > From: Chin Liang See > > > > Add misc support for Stratix SoC > Just because the file is call misc.c doesn't mean you can just keep > the commit > message that simple. Can you add what funct

Re: [U-Boot] [GIT PULL v2] u-boot-sunxi/master

2017-09-29 Thread Tom Rini
On Fri, Sep 29, 2017 at 02:37:55PM +0200, Maxime Ripard wrote: > Hi, > > On Thu, Sep 28, 2017 at 01:02:58PM +, Tom Rini wrote: > > On Thu, Sep 28, 2017 at 11:12:55AM +0200, Maxime Ripard wrote: > > > > > Hi Tom, > > > > > > Here is the second version of the pull request sent yesterday. It >

[U-Boot] [PATCH 003/080] mpc83xx: spd_sdram: Fix style violations

2017-09-29 Thread Mario Six
Fix style violations in the MPC83xx SPD-SDRAM code and make the code more readable. Signed-off-by: Mario Six --- arch/powerpc/cpu/mpc83xx/spd_sdram.c | 49 1 file changed, 22 insertions(+), 27 deletions(-) diff --git a/arch/powerpc/cpu/mpc83xx/spd_sdram.c b

[U-Boot] [PATCH 004/080] include: dm: Fix 'devioe'/'devuce' typos

2017-09-29 Thread Mario Six
There are some typos in the documentation of some functions in read.h; fix those. Signed-off-by: Mario Six --- include/dm/read.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/dm/read.h b/include/dm/read.h index 8114037e97..d2f47a678f 100644 --- a/include/dm/

[U-Boot] [PATCH 014/080] spi: Fix style violation and improve code

2017-09-29 Thread Mario Six
This patch fixes a printf specifier style violation, reduces the scope of a variable, and turns a void pointer that is used with pointer arithmetic into a u8 pointer. Signed-off-by: Mario Six --- drivers/spi/spi.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers

[U-Boot] [PATCH 011/080] clk: clk-uclass: Fix style violations

2017-09-29 Thread Mario Six
checkpatch.pl complains that the clk_ops structures used in clk-uclass.c ought to be static, so we mark them as static. Signed-off-by: Mario Six --- drivers/clk/clk-uclass.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/clk/clk-uclass.c b/driv

[U-Boot] [PATCH 026/080] i2c: fsl_i2c: Remove inline declarations

2017-09-29 Thread Mario Six
Some functions in the fsl_i2c driver are declared as inline, even though they are quite large, which needlessly increases the size of the resulting binary. This patch removes the inline declarations. Signed-off-by: Mario Six --- drivers/i2c/fsl_i2c.c | 14 +++--- 1 file changed, 7 inser

[U-Boot] [PATCH 006/080] lib: fdtdec: Fix some style violations

2017-09-29 Thread Mario Six
Fix some style violations in fdtdec.c, and reduce the scope of some variables. Signed-off-by: Mario Six --- lib/fdtdec.c | 31 --- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/lib/fdtdec.c b/lib/fdtdec.c index f354a1f9af..b291c155a9 100644 --- a/lib

[U-Boot] [PATCH 029/080] gpio: pca953x_gpio: Make live-tree compatible

2017-09-29 Thread Mario Six
Make the pca953x_gpio driver compatible with a live device tree. Signed-off-by: Mario Six --- drivers/gpio/pca953x_gpio.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpio/pca953x_gpio.c b/drivers/gpio/pca953x_gpio.c index 9ad81fe2ba..05bc4049c2 100644 --- a/dri

[U-Boot] [PATCH 025/080] i2c: fsl_i2c: Fix style violations

2017-09-29 Thread Mario Six
Fix some style violations in the fsl_i2c I2C driver, and use shorter type names for variables in some cases. Signed-off-by: Mario Six --- drivers/i2c/fsl_i2c.c | 111 +- 1 file changed, 56 insertions(+), 55 deletions(-) diff --git a/drivers/i2c/fs

[U-Boot] [PATCH 008/080] core: read: Fix style violations

2017-09-29 Thread Mario Six
There are some whitespace-related style violations in read.c; fix those. Signed-off-by: Mario Six --- drivers/core/read.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/core/read.c b/drivers/core/read.c index eacf1716fd..2766d228a6 100644 --- a/drivers/core/

[U-Boot] [PATCH 017/080] spi: Remove spi_setup_slave_fdt

2017-09-29 Thread Mario Six
A previous patch removed the spi_flash_probe_fdt function, which contained the last call of the spi_setup_slave_fdt function, which is now equally obsolete. This patch removes the function. Signed-off-by: Mario Six --- drivers/spi/spi-uclass.c | 16 include/spi.h| 1

[U-Boot] [PATCH 012/080] clk: clk_fixed_rate: Fix style violation

2017-09-29 Thread Mario Six
Fix a mis-indented function call in clk_fixed_rate.c Signed-off-by: Mario Six --- drivers/clk/clk_fixed_rate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/clk_fixed_rate.c b/drivers/clk/clk_fixed_rate.c index 63565b6ed8..9dd6bc5726 100644 --- a/drivers/clk

[U-Boot] [PATCH 016/080] spi: Remove spi_flash_probe_fdt

2017-09-29 Thread Mario Six
Commit ba45756 ("dm: x86: spi: Convert ICH SPI driver to driver model") removed the last usage of the spi_flash_probe_fdt function, rendering it obsolete. This patch removes the function. Signed-off-by: Mario Six --- drivers/mtd/spi/sf_probe.c | 13 - include/spi_flash.h| 12

[U-Boot] [PATCH 043/080] cfi_flash: Fix logical continuations

2017-09-29 Thread Mario Six
Signed-off-by: Mario Six --- drivers/mtd/cfi_flash.c | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c index 06795fe754..b73b72bcee 100644 --- a/drivers/mtd/cfi_flash.c +++ b/drivers/mtd/cfi_flash.c @

[U-Boot] [PATCH 020/080] spi: spi-uclass: Fix style violations

2017-09-29 Thread Mario Six
Remove a superfluous newline, and reduce the scope of a variable. Signed-off-by: Mario Six --- drivers/spi/spi-uclass.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/spi/spi-uclass.c b/drivers/spi/spi-uclass.c index 6db0eb02b4..15d90a54a1 100644 --- a/drivers/s

[U-Boot] [PATCH 048/080] cfi_flash: Fix spelling of "Unknown"

2017-09-29 Thread Mario Six
Signed-off-by: Mario Six --- drivers/mtd/cfi_flash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c index 2a165cb328..0d015a3863 100644 --- a/drivers/mtd/cfi_flash.c +++ b/drivers/mtd/cfi_flash.c @@ -1140,7 +1140,7 @@ int flas

[U-Boot] [PATCH 042/080] cfi_flash: Remove braces for single-statement blocks

2017-09-29 Thread Mario Six
Signed-off-by: Mario Six --- drivers/mtd/cfi_flash.c | 15 +-- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c index 1ccb05091d..06795fe754 100644 --- a/drivers/mtd/cfi_flash.c +++ b/drivers/mtd/cfi_flash.c @@ -329,9 +32

[U-Boot] [PATCH 036/080] cfi_flash: Fix style of pointer declarations

2017-09-29 Thread Mario Six
Signed-off-by: Mario Six --- drivers/mtd/cfi_flash.c | 48 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c index b3dda8bd4a..1b0eb3398c 100644 --- a/drivers/mtd/cfi_flash.c +++ b/dri

[U-Boot] [PATCH 013/080] clk: Remove superfluous gd declarations

2017-09-29 Thread Mario Six
The clk uclass was converted to support a live device tree recently, hence the global data pointer declarations are no longer needed. Signed-off-by: Mario Six --- drivers/clk/clk-uclass.c | 2 -- drivers/clk/clk_fixed_rate.c | 2 -- 2 files changed, 4 deletions(-) diff --git a/drivers/clk/c

[U-Boot] [PATCH 019/080] spi: sf_probe: Fix style violations

2017-09-29 Thread Mario Six
Fix two indention-related style violations. Signed-off-by: Mario Six --- drivers/mtd/spi/sf_probe.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mtd/spi/sf_probe.c b/drivers/mtd/spi/sf_probe.c index e25513b77a..68009a6328 100644 --- a/drivers/mtd/spi/sf_probe.c

[U-Boot] [PATCH 030/080] serial: ns16550: Fix style violation

2017-09-29 Thread Mario Six
Clarify the computation precedence in two ternary operator constructions. Signed-off-by: Mario Six --- drivers/serial/ns16550.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/serial/ns16550.c b/drivers/serial/ns16550.c index c702304e79..6f9ce689cf 100644 --- a/dr

[U-Boot] [PATCH 028/080] gpio: pca953x_gpio: Fix style violations

2017-09-29 Thread Mario Six
Fix some style violations in the pca953x_gpio driver. Signed-off-by: Mario Six --- drivers/gpio/pca953x_gpio.c | 19 +-- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/drivers/gpio/pca953x_gpio.c b/drivers/gpio/pca953x_gpio.c index 4962f25230..9ad81fe2ba 100644 --

[U-Boot] [PATCH 005/080] lib: fdtdec: Fix whitespace style violations

2017-09-29 Thread Mario Six
Fix some whitespace-related style violations in fdtdec.c. Signed-off-by: Mario Six --- lib/fdtdec.c | 56 ++-- 1 file changed, 30 insertions(+), 26 deletions(-) diff --git a/lib/fdtdec.c b/lib/fdtdec.c index 107a892e79..f354a1f9af 100644 --- a

[U-Boot] [PATCH] sandbox: Add clrbits/setbits macros

2017-09-29 Thread Tom Rini
We borrow the macros for these functions from ARM and remove references to '__raw_'. Signed-off-by: Tom Rini --- arch/sandbox/include/asm/io.h | 57 +++ 1 file changed, 57 insertions(+) diff --git a/arch/sandbox/include/asm/io.h b/arch/sandbox/include/asm

[U-Boot] [PATCH 021/080] sf_probe: Merge spi_flash_probe_tail into spi_flash_probe

2017-09-29 Thread Mario Six
spi_flash_probe_tail is now only called from spi_flash_probe, hence we can merge its body into spi_flash_probe. Signed-off-by: Mario Six --- drivers/mtd/spi/sf_probe.c | 19 +++ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/drivers/mtd/spi/sf_probe.c b/drivers/mt

[U-Boot] [PATCH 001/080] mpc8308rdb: Fix style violation

2017-09-29 Thread Mario Six
Fix a indention style violation in the freescale MPC8308RDB SDRAM code. Signed-off-by: Mario Six --- board/freescale/mpc8308rdb/sdram.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/freescale/mpc8308rdb/sdram.c b/board/freescale/mpc8308rdb/sdram.c index 81e155a401..c

[U-Boot] [PATCH 022/080] net: tsec: Fix style violations

2017-09-29 Thread Mario Six
Signed-off-by: Mario Six --- drivers/net/tsec.c | 72 -- 1 file changed, 37 insertions(+), 35 deletions(-) diff --git a/drivers/net/tsec.c b/drivers/net/tsec.c index 18e7a83d0f..aa261845f3 100644 --- a/drivers/net/tsec.c +++ b/drivers/net/tsec.

[U-Boot] [PATCH 027/080] i2c: fsl_i2c: Make live-tree compatible

2017-09-29 Thread Mario Six
Make the fsl_i2c driver compatible with a live device tree. Signed-off-by: Mario Six --- drivers/i2c/fsl_i2c.c | 16 ++-- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/drivers/i2c/fsl_i2c.c b/drivers/i2c/fsl_i2c.c index a7f3ec472f..cb0f5ea233 100644 --- a/drivers/i2c

[U-Boot] [PATCH 072/080] gdsys: mpc8308: Fix style violations

2017-09-29 Thread Mario Six
Fix some style violations in the gdsys MPC8308 board files, and make the code more readable. Signed-off-by: Mario Six --- board/gdsys/mpc8308/hrcon.c | 55 ++- board/gdsys/mpc8308/mpc8308.c | 12 +- board/gdsys/mpc8308/strider.c | 49

[U-Boot] [PATCH 002/080] mpc83xx: spd_sdram: Fix whitespace style violations

2017-09-29 Thread Mario Six
Fix whitespace style violations in the MPC83xx SPD-SDRAM code. Signed-off-by: Mario Six --- arch/powerpc/cpu/mpc83xx/spd_sdram.c | 134 +-- 1 file changed, 67 insertions(+), 67 deletions(-) diff --git a/arch/powerpc/cpu/mpc83xx/spd_sdram.c b/arch/powerpc/cpu/mpc

[U-Boot] [PATCH 045/080] cfi_flash: Fix comment style

2017-09-29 Thread Mario Six
Signed-off-by: Mario Six --- drivers/mtd/cfi_flash.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c index 2ec8f5a27b..5576092d8f 100644 --- a/drivers/mtd/cfi_flash.c +++ b/drivers/mtd/cfi_flash.c @@ -946,7 +946,8 @@ stat

[U-Boot] [PATCH 007/080] core: ofnode: Fix style violations

2017-09-29 Thread Mario Six
There are some style violations in ofnode.c; fix those. Signed-off-by: Mario Six --- drivers/core/ofnode.c | 18 ++ 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/drivers/core/ofnode.c b/drivers/core/ofnode.c index c6ca13fabf..a59e40aa97 100644 --- a/drivers/core/

[U-Boot] [PATCH 046/080] cfi_flash: Remove unnecessary braces

2017-09-29 Thread Mario Six
Signed-off-by: Mario Six --- drivers/mtd/cfi_flash.c | 48 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c index 5576092d8f..229e0a8177 100644 --- a/drivers/mtd/cfi_flash.c +++ b/dri

[U-Boot] [PATCH 055/080] cfi_flash: Fix strings split across lines

2017-09-29 Thread Mario Six
Signed-off-by: Mario Six --- drivers/mtd/cfi_flash.c | 17 - 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c index 2ff1a97658..b2857f372d 100644 --- a/drivers/mtd/cfi_flash.c +++ b/drivers/mtd/cfi_flash.c @@ -1254,10

Re: [U-Boot] [PATCH 04/14] arm: socfpga: stratix10: Add Reset Manager driver for Stratix10 SoC

2017-09-29 Thread See, Chin Liang
On Tue, 2017-09-26 at 17:08 -0500, Dinh Nguyen wrote: > On Tue, Sep 19, 2017 at 4:22 AM,   wrote: > > > > From: Chin Liang See > > > > Add Reset Manager driver support for Stratix SoC > > > > Signed-off-by: Chin Liang See > > --- > >  arch/arm/mach-socfpga/Makefile |   1 +

[U-Boot] [PATCH 047/080] cfi_flash: Add missing braces in blocks

2017-09-29 Thread Mario Six
Signed-off-by: Mario Six --- drivers/mtd/cfi_flash.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c index 229e0a8177..2a165cb328 100644 --- a/drivers/mtd/cfi_flash.c +++ b/drivers/mtd/cfi_flash.c @@ -1154,10 +1154,12 @@ int

[U-Boot] [PATCH 018/080] spi: Remove CONFIG_OF_SPI_FLASH

2017-09-29 Thread Mario Six
Previous patches removed the last usages of this config variable, so that it is now obsolete. This patch removes it from the whitelist. Signed-off-by: Mario Six --- scripts/config_whitelist.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/config_whitelist.txt b/scripts/config_whit

[U-Boot] [PATCH 073/080] gdsys: mpc8308: Use shadow register for output GPIO values

2017-09-29 Thread Mario Six
Since gpio output status on MPC8xxx cannot be read back, it has to be buffered locally. Signed-off-by: Dirk Eibach Signed-off-by: Mario Six --- board/gdsys/mpc8308/hrcon.c | 4 ++-- board/gdsys/mpc8308/mpc8308.c | 19 +++ board/gdsys/mpc8308/mpc8308.h | 3 +++ board/gdsys/mp

[U-Boot] [PATCH 080/080] clk: Makefile: Sort entries alphabetically

2017-09-29 Thread Mario Six
The Makefile entries in the clk driver directory were not alphabetically sorted. Correct this. Signed-off-by: Mario Six --- drivers/clk/Makefile | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/clk/Makefile b/drivers/clk/Makefile index 83fe88ce9f

[U-Boot] [PATCH 070/080] common: board_f: Fix style violations

2017-09-29 Thread Mario Six
Fix some style violations in the board_f file. Signed-off-by: Mario Six --- common/board_f.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/common/board_f.c b/common/board_f.c index 9220815441..953b8fb3e7 100644 --- a/common/board_f.c +++ b/common/board_f.c @@ -50

[U-Boot] [PATCH 069/080] cmd: mdio: Fix style violations

2017-09-29 Thread Mario Six
Fix some style violations in the MDIO command. Signed-off-by: Mario Six --- cmd/mdio.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/cmd/mdio.c b/cmd/mdio.c index 21dc103736..3f11963006 100644 --- a/cmd/mdio.c +++ b/cmd/mdio.c @@ -14,7 +14,6 @@ #include #include

[U-Boot] [PATCH 071/080] common: board_r: Fix style violations

2017-09-29 Thread Mario Six
Fix some style violations in the board_r file. Signed-off-by: Mario Six --- common/board_r.c | 27 ++- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/common/board_r.c b/common/board_r.c index 94697e7bc1..a81addc005 100644 --- a/common/board_r.c +++ b/comm

[U-Boot] [PATCH 061/080] cfi_flash: Always define cfi_flash_num_flash_banks

2017-09-29 Thread Mario Six
The variable cfi_flash_num_flash_banks is defined iff CONFIG_SYS_MAX_FLASH_BANKS_DETECT is defined, but it is used unconditionally in the function cfi_flash_init_dm. This leads to a undefined variable compile error when CONFIG_SYS_MAX_FLASH_BANKS_DETECT is not defined, but DM is enabled. Fix this

[U-Boot] [PATCH 077/080] i2c: ihs_i2c: Prepare DM conversion

2017-09-29 Thread Mario Six
Prepare the function interface of the ihs_i2c driver for DM conversion in a future patch. While we're at it, fix some style violations, and make the code more readable. Signed-off-by: Mario Six --- drivers/i2c/ihs_i2c.c | 69 +-- 1 file changed, 4

[U-Boot] [PATCH 066/080] gpio: mpc8xxx: Make compatible with more SoCs

2017-09-29 Thread Mario Six
Finally, make the mpc8xxx driver capable of handling more GPIO devices; this entails adding a special case for the MPC5121 SoC, and adding a set of new compatible strings. Signed-off-by: Mario Six --- drivers/gpio/mpc8xxx_gpio.c | 23 +-- 1 file changed, 21 insertions(+), 2 d

[U-Boot] [PATCH 056/080] cfi_flash: Rename camel-case variables

2017-09-29 Thread Mario Six
Signed-off-by: Mario Six --- drivers/mtd/cfi_flash.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c index b2857f372d..dff8b73055 100644 --- a/drivers/mtd/cfi_flash.c +++ b/drivers/mtd/cfi_flash.c @@ -1686,8 +1

[U-Boot] [PATCH 064/080] gpio: mpc85xx: Rename driver file to mpc8xxx

2017-09-29 Thread Mario Six
In preparation to making the MPC85xx GPIO driver useable for a broader range of SoCs, rename the driver file. Signed-off-by: Mario Six --- drivers/gpio/Makefile | 2 +- drivers/gpio/{mpc85xx_gpio.c => mpc8xxx_gpio.c} | 0 2 files changed, 1 insertion(+), 1 deletion(-)

[U-Boot] [PATCH 052/080] cfi_flash: Reduce the scope of some variables

2017-09-29 Thread Mario Six
Signed-off-by: Mario Six --- drivers/mtd/cfi_flash.c | 26 ++ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c index c47ba416b9..c597c621ca 100644 --- a/drivers/mtd/cfi_flash.c +++ b/drivers/mtd/cfi_flash.c @

[U-Boot] [PATCH 040/080] cfi_flash: Fix spacing around casts/operators

2017-09-29 Thread Mario Six
Signed-off-by: Mario Six --- drivers/mtd/cfi_flash.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c index a766facb2a..a28f5eaea9 100644 --- a/drivers/mtd/cfi_flash.c +++ b/drivers/mtd/cfi_flash.c @@ -231,7 +

Re: [U-Boot] [PATCH 03/14] arm: socfpga: stratix10: Add Clock Manager driver for Stratix10 SoC

2017-09-29 Thread See, Chin Liang
On Tue, 2017-09-26 at 17:04 -0500, Dinh Nguyen wrote: > On Tue, Sep 19, 2017 at 4:22 AM,   wrote: > > > > From: Chin Liang See > > > > Add Clock Manager driver support for Stratix SoC > > > > Signed-off-by: Chin Liang See > > --- > >  arch/arm/mach-socfpga/Makefile |   4 +

[U-Boot] [PATCH 041/080] cfi_flash: Fix missing/superfluous lines

2017-09-29 Thread Mario Six
Signed-off-by: Mario Six --- drivers/mtd/cfi_flash.c | 11 --- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c index a28f5eaea9..1ccb05091d 100644 --- a/drivers/mtd/cfi_flash.c +++ b/drivers/mtd/cfi_flash.c @@ -269,6 +269,7 @

[U-Boot] [PATCH 037/080] cfi_flash: Fix Parenthesis spacing

2017-09-29 Thread Mario Six
Signed-off-by: Mario Six --- drivers/mtd/cfi_flash.c | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c index 1b0eb3398c..03bfb634cc 100644 --- a/drivers/mtd/cfi_flash.c +++ b/drivers/mtd/cfi_flash.c @@ -2

[U-Boot] [PATCH 009/080] core: Add {ofnode, dev}_translate_address functions

2017-09-29 Thread Mario Six
Signed-off-by: Mario Six --- drivers/core/ofnode.c | 8 drivers/core/read.c | 5 + include/dm/ofnode.h | 13 + include/dm/read.h | 17 + 4 files changed, 43 insertions(+) diff --git a/drivers/core/ofnode.c b/drivers/core/ofnode.c index a59e40aa9

[U-Boot] [PATCH 079/080] i2c: ihs_i2c: Factor out send_buffer method

2017-09-29 Thread Mario Six
Simplify the driver logic by extracting a common send_buffer method. Signed-off-by: Mario Six --- drivers/i2c/ihs_i2c.c | 50 ++ 1 file changed, 26 insertions(+), 24 deletions(-) diff --git a/drivers/i2c/ihs_i2c.c b/drivers/i2c/ihs_i2c.c index c3f

[U-Boot] [PATCH 010/080] core: Make device_is_compatible live-tree compatible

2017-09-29 Thread Mario Six
Judging from its name and parameters, device_is_compatible looks like it is compatible with a live device tree, but it actually isn't. Make is compatible with a live device tree. Signed-off-by: Mario Six --- drivers/core/device.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff

[U-Boot] [PATCH 051/080] cfi_flash: Remove return from void function

2017-09-29 Thread Mario Six
Signed-off-by: Mario Six --- drivers/mtd/cfi_flash.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c index cd89c666d6..c47ba416b9 100644 --- a/drivers/mtd/cfi_flash.c +++ b/drivers/mtd/cfi_flash.c @@ -1280,7 +1280,6 @@ void flash_print_info(fla

[U-Boot] [PATCH 076/080] phy: Fix style violations

2017-09-29 Thread Mario Six
Fix some style violations in the generic PHY management code. Signed-off-by: Mario Six --- drivers/net/phy/phy.c | 82 ++- 1 file changed, 49 insertions(+), 33 deletions(-) diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c index 5be51d73c

[U-Boot] [PATCH 024/080] net: tsec: Make live-tree compatible

2017-09-29 Thread Mario Six
Make the tsec ethernet driver compatible with a live device tree. Signed-off-by: Mario Six --- drivers/net/tsec.c | 41 ++--- 1 file changed, 18 insertions(+), 23 deletions(-) diff --git a/drivers/net/tsec.c b/drivers/net/tsec.c index 44140fb037..3eb09e93b2 1

[U-Boot] [PATCH 053/080] cfi_flash: Remove assignments from if conditions

2017-09-29 Thread Mario Six
Signed-off-by: Mario Six --- drivers/mtd/cfi_flash.c | 18 +++--- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c index c597c621ca..bc7bd3036e 100644 --- a/drivers/mtd/cfi_flash.c +++ b/drivers/mtd/cfi_flash.c @@ -1338,7

[U-Boot] [PATCH 032/080] gdsys: Post ppc4xx removal cleanup

2017-09-29 Thread Mario Six
The ppc4xx architecture was recently removed, and with it several old gdsys 44x boards, but some "debris" from these purged boards was left over. This patch removes these remnants (mostly entries in Makefiles, some now superfluous data structures and some now obsolete config variables from the whi

[U-Boot] [PATCH 044/080] cfi_flash: Use __func__ macro instead of function name

2017-09-29 Thread Mario Six
Signed-off-by: Mario Six --- drivers/mtd/cfi_flash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c index b73b72bcee..2ec8f5a27b 100644 --- a/drivers/mtd/cfi_flash.c +++ b/drivers/mtd/cfi_flash.c @@ -555,7 +555,7 @@ static int

[U-Boot] [PATCH 023/080] net: tsec: Fix memory leak in error path

2017-09-29 Thread Mario Six
tsec_initialize allocates a private driver structure using malloc. Should the memory allocation of this private structure fail, the function execution is aborted with a return 0, but the previously allocated device structure is never freed, hence leaked. Free the device structure in the error case

[U-Boot] [PATCH 074/080] strider, hrcon: Reset CAT phy on CON2 module

2017-09-29 Thread Mario Six
From: Dirk Eibach The phy on the CON2 module needs a defined reset pulse of at least 10 ms to work reliably. Signed-off-by: Dirk Eibach Signed-off-by: Mario Six --- board/gdsys/mpc8308/hrcon.c | 30 ++ board/gdsys/mpc8308/strider.c | 24

[U-Boot] [PATCH 049/080] cfi_flash: Fix else after break

2017-09-29 Thread Mario Six
Signed-off-by: Mario Six --- drivers/mtd/cfi_flash.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c index 0d015a3863..a82f5272c1 100644 --- a/drivers/mtd/cfi_flash.c +++ b/drivers/mtd/cfi_flash.c @@ -1820,9 +1820,9 @@ st

[U-Boot] [PATCH 067/080] mpc83xx: Prepare usage of DM gpio driver

2017-09-29 Thread Mario Six
The MPC85xx GPIO driver was converted to handle a broader range of SoCs. Prepare the MPC83xx code for usage of this driver. Signed-off-by: Mario Six --- arch/powerpc/include/asm/arch-mpc83xx/gpio.h | 8 1 file changed, 8 insertions(+) diff --git a/arch/powerpc/include/asm/arch-mpc83xx

[U-Boot] [PATCH 035/080] cfi_flash: Fix space between function name and parenthesis

2017-09-29 Thread Mario Six
Signed-off-by: Mario Six --- drivers/mtd/cfi_flash.c | 428 1 file changed, 214 insertions(+), 214 deletions(-) diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c index 8a5babea7b..b3dda8bd4a 100644 --- a/drivers/mtd/cfi_flash.c +++ b/

[U-Boot] [PATCH 034/080] net: phy: marvell 88e151x: Fix handling of bare RGMII interface type

2017-09-29 Thread Mario Six
Commit 68e6eca ("net: phy: marvell 88e151x: Fix handling of RGMII interface types") fixed the initialization of 88e151x phys, but made it so that interfaces of type PHY_INTERFACE_MODE_RGMII had both RX and TX delay bits cleared. The default (like in m88es_config) is to have both bits set. Henc

[U-Boot] [PATCH 050/080] cfi_flash: Fix placement of brace

2017-09-29 Thread Mario Six
Signed-off-by: Mario Six --- drivers/mtd/cfi_flash.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c index a82f5272c1..cd89c666d6 100644 --- a/drivers/mtd/cfi_flash.c +++ b/drivers/mtd/cfi_flash.c @@ -1919,8 +1919,7 @@ static

Re: [U-Boot] [PATCH] Revert "sunxi: imply USB_GADGET"

2017-09-29 Thread Maxime Ripard
On Fri, Sep 29, 2017 at 11:44:48AM +, Icenowy Zheng wrote: > This reverts commit 061221ae61440eb05fd5b94ca77c7731315cbddd. > > The implying of USB_GADGET makes the boards without USB_MUSB_GADGET > enabled not able to be built in the U-Boot, and the number of the > boards broken is much more th

[U-Boot] [PATCH 015/080] spi: Remove obsolete spi_base_setup_slave_fdt

2017-09-29 Thread Mario Six
0efc024 ("spi_flash: Add spi_flash_probe_fdt() to locate SPI by FDT node") added a helper function spi_base_setup_slave_fdt to to set up a SPI slave from a given FDT blob. The only user was the exynos SPI driver. But commit 73186c9 ("dm: exynos: Convert SPI to driver model") removed the use of thi

Re: [U-Boot] [PATCH 02/14] arm: dts: Add dts for Stratix10 SoC

2017-09-29 Thread See, Chin Liang
On Tue, 2017-09-26 at 16:34 -0500, Dinh Nguyen wrote: > On Tue, Sep 19, 2017 at 4:22 AM,   wrote: > > > > From: Chin Liang See > > > > Device tree for Stratix10 SoC > > > > Signed-off-by: Chin Liang See > > --- > >  arch/arm/dts/Makefile|   3 +- > >  arch/arm/dts/socfpga_st

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

2017-09-29 Thread Mario Six
Make the cfi_flash driver compatible with a live device tree. Signed-off-by: Mario Six --- drivers/mtd/cfi_flash.c | 21 +++-- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c index 4415bcca24..accbd432e7 100644 ---

[U-Boot] [PATCH 063/080] gpio: mpc85xx_gpio: Fix style violations

2017-09-29 Thread Mario Six
Fix some style violations in the MPC85XX GPIO driver. Signed-off-by: Mario Six --- drivers/gpio/mpc85xx_gpio.c | 42 ++ 1 file changed, 22 insertions(+), 20 deletions(-) diff --git a/drivers/gpio/mpc85xx_gpio.c b/drivers/gpio/mpc85xx_gpio.c index cfeb6e76

[U-Boot] [PATCH 033/080] net: phy: marvell: Fix style violations

2017-09-29 Thread Mario Six
Fix some style violations (mostly wrong indentions) in the Marvell PHY driver. Signed-off-by: Mario Six --- drivers/net/phy/marvell.c | 44 ++-- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/drivers/net/phy/marvell.c b/drivers/net/phy/mar

[U-Boot] [PATCH 065/080] gpio: mpc8xxx: Rename Kconfig option, structures, and functions

2017-09-29 Thread Mario Six
Rename the Kconfig option, structures (and their members), as well as functions of the mpc85xx driver to include mpc8xxx to reflect the more generic usage. Signed-off-by: Mario Six --- arch/powerpc/include/asm/arch-mpc85xx/gpio.h | 2 +- drivers/gpio/Kconfig | 9 +--

[U-Boot] [PATCH 038/080] cfi_flash: Fix whitespace with casting

2017-09-29 Thread Mario Six
Signed-off-by: Mario Six --- drivers/mtd/cfi_flash.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c index 03bfb634cc..8c62648642 100644 --- a/drivers/mtd/cfi_flash.c +++ b/drivers/mtd/cfi_flash.c @@ -234,10 +234,10 @@ stat

[U-Boot] [PATCH 031/080] serial: ns16550: Fix address translation

2017-09-29 Thread Mario Six
The dev_read_addr function does not do any bus translations, and just returns the raw address read from the device tree, which makes the driver not work on systems that need bus translations to get the actual memory address of the device's register space. Since the dev_read_addr function is widely

[U-Boot] [PATCH 039/080] cfi_flash: Fix indent of case statements

2017-09-29 Thread Mario Six
Signed-off-by: Mario Six --- drivers/mtd/cfi_flash.c | 200 1 file changed, 100 insertions(+), 100 deletions(-) diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c index 8c62648642..a766facb2a 100644 --- a/drivers/mtd/cfi_flash.c +++ b/

  1   2   3   >