[U-Boot] [PATCH v2 30/78] serial: ns16550: Fix style violation

2017-12-12 Thread Mario Six
Clarify the computation precedence in two ternary operator constructions. Reviewed-by: Simon Glass Signed-off-by: Mario Six --- v1 -> v2: None --- drivers/serial/ns16550.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/serial/ns16550.c b/drivers/ser

[U-Boot] [PATCH v2 27/78] i2c: fsl_i2c: Make live-tree compatible

2017-12-12 Thread Mario Six
Make the fsl_i2c driver compatible with a live device tree. Reviewed-by: Heiko Schocher Signed-off-by: Mario Six --- v1 -> v2: None --- 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_i2

[U-Boot] [PATCH v2 68/78] common: board_f: Fix style violations

2017-12-12 Thread Mario Six
Fix some style violations in the board_f file. Reviewed-by: Simon Glass Signed-off-by: Mario Six --- v1 -> v2: None --- common/board_f.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/common/board_f.c b/common/board_f.c index e46eceda7d..df589fd570 100644 --

[U-Boot] [PATCH v2 37/78] cfi_flash: Fix whitespace with casting

2017-12-12 Thread Mario Six
Signed-off-by: Mario Six --- v1 -> v2: None --- 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 e8f1739254..2dc6b09cd9 100644 --- a/drivers/mtd/cfi_flash.c +++ b/drivers/mtd/cfi_flas

[U-Boot] [PATCH v2 12/78] clk: clk_fixed_rate: Fix style violation

2017-12-12 Thread Mario Six
Fix a mis-indented function call in clk_fixed_rate.c Reviewed-by: Simon Glass Signed-off-by: Mario Six --- v1 -> v2: None --- 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 in

[U-Boot] [PATCH v2 61/78] gpio: mpc85xx_gpio: Fix style violations

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

[U-Boot] [PATCH v2 69/78] common: board_r: Fix style violations

2017-12-12 Thread Mario Six
Fix some style violations in the board_r file. Reviewed-by: Simon Glass Signed-off-by: Mario Six --- v1 -> v2: None --- 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 09167c1

[U-Boot] [PATCH v2 34/78] cfi_flash: Fix space between function name and parenthesis

2017-12-12 Thread Mario Six
Signed-off-by: Mario Six --- v1 -> v2: None --- 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 f096e039cb..0dc7f4a6ba 100644 --- a/driv

[U-Boot] [PATCH v2 43/78] cfi_flash: Use __func__ macro instead of function name

2017-12-12 Thread Mario Six
Signed-off-by: Mario Six --- v1 -> v2: None --- 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 eebd641e36..6ae1ac871f 100644 --- a/drivers/mtd/cfi_flash.c +++ b/drivers/mtd/cfi_flas

[U-Boot] [PATCH v2 13/78] clk: Remove superfluous gd declarations

2017-12-12 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. Reviewed-by: Simon Glass Signed-off-by: Mario Six --- v1 -> v2: None --- drivers/clk/clk-uclass.c | 2 -- drivers/clk/clk_fixed_rate.c | 2 -- 2 fi

[U-Boot] [PATCH v2 24/78] net: tsec: Make live-tree compatible

2017-12-12 Thread Mario Six
Make the tsec ethernet driver compatible with a live device tree. Reviewed-by: Simon Glass Signed-off-by: Mario Six --- v1 -> v2: None --- drivers/net/tsec.c | 41 ++--- 1 file changed, 18 insertions(+), 23 deletions(-) diff --git a/drivers/net/tsec.

[U-Boot] [PATCH v2 62/78] gpio: mpc85xx: Rename driver file to mpc8xxx

2017-12-12 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 --- v1 -> v2: None --- drivers/gpio/Makefile | 2 +- drivers/gpio/{mpc85xx_gpio.c => mpc8xxx_gpio.c} | 0 2 files chan

[U-Boot] [PATCH v2 11/78] clk: clk-uclass: Fix style violations

2017-12-12 Thread Mario Six
checkpatch.pl complains that the clk_ops structures used in clk-uclass.c ought to be const, so we mark them as const. Reviewed-by: Simon Glass Signed-off-by: Mario Six --- v1 -> v2: * Changed commit message and text to used the correct word "const" instead of "static"

[U-Boot] [PATCH v2 29/78] gpio: pca953x_gpio: Make live-tree compatible

2017-12-12 Thread Mario Six
Make the pca953x_gpio driver compatible with a live device tree. Reviewed-by: Simon Glass Signed-off-by: Mario Six --- v1 -> v2: None --- drivers/gpio/pca953x_gpio.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpio/pca953x_gpio.c b/drivers/g

[U-Boot] [PATCH v2 50/78] cfi_flash: Remove return from void function

2017-12-12 Thread Mario Six
Signed-off-by: Mario Six --- v1 -> v2: None --- 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 7aa379b0d8..d16357343f 100644 --- a/drivers/mtd/cfi_flash.c +++ b/drivers/mtd/cfi_flash.c @@ -1280,7 +128

[U-Boot] [PATCH v2 14/78] spi: Fix style violation and improve code

2017-12-12 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 --- v1 -> v2: None --- drivers/spi/spi.c | 7 --- 1 file changed, 4 insertions(+), 3 deleti

[U-Boot] [PATCH v2 41/78] cfi_flash: Remove braces for single-statement blocks

2017-12-12 Thread Mario Six
Signed-off-by: Mario Six --- v1 -> v2: None --- 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 9cc1b2b16f..e2469055b8 100644 --- a/drivers/mtd/cfi_flash.c +++ b/drivers/

[U-Boot] [PATCH v2 48/78] cfi_flash: Fix else after break

2017-12-12 Thread Mario Six
Signed-off-by: Mario Six --- v1 -> v2: None --- 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 4c5e1568e6..5b3c071b30 100644 --- a/drivers/mtd/cfi_flash.c +++ b/drivers/mtd/cfi_flas

[U-Boot] [PATCH v2 46/78] cfi_flash: Add missing braces in blocks

2017-12-12 Thread Mario Six
Signed-off-by: Mario Six --- v1 -> v2: None --- 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 0a24e9173a..53842443eb 100644 --- a/drivers/mtd/cfi_flash.c +++ b/drivers/mtd/cfi_flas

[U-Boot] [PATCH v2 19/78] spi: sf_probe: Fix style violations

2017-12-12 Thread Mario Six
Fix two indention-related style violations. Signed-off-by: Mario Six --- v1 -> v2: None --- 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 --

[U-Boot] [PATCH v2 22/78] net: tsec: Fix style violations

2017-12-12 Thread Mario Six
Signed-off-by: Mario Six --- v1 -> v2: None --- 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..071595218e 100644 --- a/drivers/net/tse

[U-Boot] [PATCH v2 23/78] net: tsec: Fix memory leak in error path

2017-12-12 Thread Mario Six
case. Signed-off-by: Mario Six --- v1 -> v2: None --- drivers/net/tsec.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/net/tsec.c b/drivers/net/tsec.c index 071595218e..44140fb037 100644 --- a/drivers/net/tsec.c +++ b/drivers/net/tsec.c @@ -701,8 +701,10 @@ sta

[U-Boot] [PATCH v2 16/78] spi: Remove spi_flash_probe_fdt

2017-12-12 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. Reviewed-by: Simon Glass Reviewed-by: Jagan Teki Signed-off-by: Mario Six --- v1 -

[U-Boot] [PATCH v2 28/78] gpio: pca953x_gpio: Fix style violations

2017-12-12 Thread Mario Six
Fix some style violations in the pca953x_gpio driver. Signed-off-by: Mario Six --- v1 -> v2: None --- 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 791d1d1

[U-Boot] [PATCH v2 18/78] spi: Remove CONFIG_OF_SPI_FLASH

2017-12-12 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. Reviewed-by: Simon Glass Reviewed-by: Jagan Teki Signed-off-by: Mario Six --- v1 -> v2: None --- scripts/config_whitelist.txt | 1 - 1 file changed

[U-Boot] [PATCH v2 21/78] sf_probe: Merge spi_flash_probe_tail into spi_flash_probe

2017-12-12 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. Reviewed-by: Simon Glass Signed-off-by: Mario Six --- v1 -> v2: None --- drivers/mtd/spi/sf_probe.c | 19 +++ 1 file changed, 7 insertions(+), 12 deletions(-) d

[U-Boot] [PATCH v2 01/78] mpc8308rdb: Fix style violation

2017-12-12 Thread Mario Six
Fix a indention style violation in the freescale MPC8308RDB SDRAM code. Signed-off-by: Mario Six --- v1 -> v2: None --- board/freescale/mpc8308rdb/sdram.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/freescale/mpc8308rdb/sdram.c b/board/freescale/mpc8308

[U-Boot] [PATCH v2 17/78] spi: Remove spi_setup_slave_fdt

2017-12-12 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. Reviewed-by: Simon Glass Reviewed-by: Jagan Teki Signed-off-by: Mario Six --- v1 -> v2: N

[U-Boot] [PATCH v2 15/78] spi: Remove obsolete spi_base_setup_slave_fdt

2017-12-12 Thread Mario Six
) removed the use of this function, hence rendering it obsolete. Remove this function, as well as the CONFIG_OF_SPI option, which guarded only this function. Reviewed-by: Simon Glass Reviewed-by: Jagan Teki Signed-off-by: Mario Six --- v1 -> v2: None --- drivers/sp

[U-Boot] [PATCH v2 05/78] lib: fdtdec: Fix whitespace style violations

2017-12-12 Thread Mario Six
Fix some whitespace-related style violations in fdtdec.c. Reviewed-by: Simon Glass Signed-off-by: Mario Six --- v1 -> v2: None --- lib/fdtdec.c | 56 ++-- 1 file changed, 30 insertions(+), 26 deletions(-) diff --git a/lib/fdtdec.c b/

[U-Boot] [PATCH v2 02/78] mpc83xx: spd_sdram: Fix whitespace style violations

2017-12-12 Thread Mario Six
Fix whitespace style violations in the MPC83xx SPD-SDRAM code. Signed-off-by: Mario Six --- v1 -> v2: * Fix compilation error (resulting from broken commit split) --- arch/powerpc/cpu/mpc83xx/spd_sdram.c | 142 +-- 1 file changed, 71 insertions(+), 71 deleti

[U-Boot] [PATCH v2 09/78] core: Add {ofnode, dev}_translate_address functions

2017-12-12 Thread Mario Six
Reviewed-by: Simon Glass Signed-off-by: Mario Six --- v1 -> v2: None --- 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/c

[U-Boot] [PATCH v2 10/78] core: Make device_is_compatible live-tree compatible

2017-12-12 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 it compatible with a live device tree. Reviewed-by: Simon Glass Signed-off-by: Mario Six --- v1 -> v2: None --- drivers/core/device.c | 7 ++

[U-Boot] [PATCH v2 06/78] lib: fdtdec: Fix some style violations

2017-12-12 Thread Mario Six
Fix some style violations in fdtdec.c, and reduce the scope of some variables. Reviewed-by: Simon Glass Signed-off-by: Mario Six --- v1 -> v2: None --- lib/fdtdec.c | 29 +++-- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/lib/fdtdec.c b/lib/fdtde

[U-Boot] [PATCH v2 03/78] mpc83xx: spd_sdram: Fix style violations

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

[U-Boot] [PATCH v2 08/78] core: read: Fix style violations

2017-12-12 Thread Mario Six
There are some whitespace-related style violations in read.c; fix those. Reviewed-by: Simon Glass Signed-off-by: Mario Six --- v1 -> v2: None --- drivers/core/read.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/core/read.c b/drivers/core/read.c in

[U-Boot] [PATCH v2 07/78] core: ofnode: Fix style violations

2017-12-12 Thread Mario Six
There are some style violations in ofnode.c; fix those. Reviewed-by: Simon Glass Signed-off-by: Mario Six --- v1 -> v2: None --- drivers/core/ofnode.c | 18 ++ 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/drivers/core/ofnode.c b/drivers/core/ofnode.c in

[U-Boot] [PATCH v2 04/78] include: dm: Fix 'devioe'/'devuce' typos

2017-12-12 Thread Mario Six
There are some typos in the documentation of some functions in read.h; fix those. Signed-off-by: Mario Six Reviewed-by: Simon Glass --- v1 -> v2: None --- include/dm/read.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/dm/read.h b/include/dm/read.h in

Re: [U-Boot] u-boot-dm crashes early on NVIDIA Beaver, Jetson TK1

2017-12-12 Thread Mario Six
f69a66acd4156392b6a45cc51042b3 is the first bad commit >> commit 0c98340717f69a66acd4156392b6a45cc51042b3 >> Author: Mario Six >> Date: Fri Nov 24 07:51:40 2017 +0100 >> >> drivers: core: Add translation in live tree case >> The function dev_read_addr c

[U-Boot] [PATCH v2] drivers: core: Add translation in live tree case

2017-11-23 Thread Mario Six
the live tree case as well. Signed-off-by: Mario Six --- Changes v1 -> v2: * Added IS_ENABLED(CONFIG_OF_TRANSLATE) case distinction --- drivers/core/ofnode.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/core/ofnode.c b/drivers/core/ofnode.c in

[U-Boot] [PATCH] drivers: core: Add translation in live tree case

2017-10-13 Thread Mario Six
the live tree case as well. Signed-off-by: Mario Six --- drivers/core/ofnode.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/core/ofnode.c b/drivers/core/ofnode.c index 9123e88425..d7d8f039b9 100644 --- a/drivers/core/ofnode.c +++ b/drivers/core/ofnode.c

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

2017-10-11 Thread Mario Six
Hi, On Mon, Oct 9, 2017 at 4:09 PM, Simon Glass wrote: > Hi, > > On 9 October 2017 at 06:55, Dr. Philipp Tomsich > wrote: >> >>> On 9 Oct 2017, at 14:45, Mario Six wrote: >>> >>> (adding Philipp since he converted lots of drivers to livetree rec

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

2017-10-09 Thread Mario Six
(adding Philipp since he converted lots of drivers to livetree recently) On Mon, Oct 9, 2017 at 6:48 AM, Simon Glass wrote: > Hi Mario, > > On 29 September 2017 at 06:51, Mario Six wrote: >> The dev_read_addr function does not do any bus translations, and just >> returns

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

2017-10-09 Thread Mario Six
Hi Simon, On Mon, Oct 9, 2017 at 6:46 AM, Simon Glass wrote: > On 29 September 2017 at 06:51, Mario Six wrote: >> checkpatch.pl complains that the clk_ops structures used in clk-uclass.c >> ought to be static, so we mark them as static. > > Do you mean static, or const? &

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

2017-10-03 Thread Mario Six
Hi Masahiro, On Fri, Sep 29, 2017 at 7:10 PM, Masahiro Yamada wrote: > 2017-09-29 21:52 GMT+09:00 Mario Six : >> Signed-off-by: Mario Six >> --- >> drivers/mtd/cfi_flash.c | 26 ++ >> 1 file changed, 14 insertions(+), 12 deletions(-) >

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

2017-10-03 Thread Mario Six
Hi Wolfgang, On Fri, Sep 29, 2017 at 4:03 PM, Wolfgang Denk wrote: > Dear Mario, > > In message <20170929125238.26226-2-mario@gdsys.cc> you wrote: >> Fix whitespace style violations in the MPC83xx SPD-SDRAM code. > ... > >> - ddr->csbnds[1].csbnds = ( (banksize(spd.row_dens) >> 8)

[U-Boot] [PATCH 059/080] cfi_flash: Fix long lines

2017-09-29 Thread Mario Six
Signed-off-by: Mario Six --- drivers/mtd/cfi_flash.c | 31 +++ 1 file changed, 19 insertions(+), 12 deletions(-) diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c index 40a3544e5b..e640a70d0f 100644 --- a/drivers/mtd/cfi_flash.c +++ b/drivers/mtd

[U-Boot] [PATCH 054/080] cfi_flash: Use u8 pointers instead of void pointers

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

[U-Boot] [PATCH 068/080] gpio: mpc8xxx: Make live-tree compatible

2017-09-29 Thread Mario Six
Make the MPC8xxx GPIO driver compatible with a live device tree. Signed-off-by: Mario Six --- drivers/gpio/mpc8xxx_gpio.c | 17 +++-- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/drivers/gpio/mpc8xxx_gpio.c b/drivers/gpio/mpc8xxx_gpio.c index 0aa72ecd9f..326fd1672d

[U-Boot] [PATCH 058/080] cfi_flash: Bound-check index before array access

2017-09-29 Thread Mario Six
n, so that the short-circuit evaluation prevents out-of-bounds array accesses. 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 93bf9ed539..40a3544e5b 100644

[U-Boot] [PATCH 057/080] flash: Fix spelling of "ERR_TIMOUT"

2017-09-29 Thread Mario Six
checkpatch.pl complains about the spelling of ERR_TIMOUT. Since the error is only used in a handful of files, we rename the error to ERR_TIMEOUT. Signed-off-by: Mario Six --- board/cobra5272/flash.c | 2 +- common/flash.c| 4 ++-- drivers/mtd/cfi_flash.c | 4 ++-- drivers/mtd

[U-Boot] [PATCH 060/080] cfi_flash: Fix indention

2017-09-29 Thread Mario Six
Signed-off-by: Mario Six --- drivers/mtd/cfi_flash.c | 238 1 file changed, 118 insertions(+), 120 deletions(-) diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c index e640a70d0f..7795d25825 100644 --- a/drivers/mtd/cfi_flash.c +++ b

[U-Boot] [PATCH 078/080] i2c: ihs_i2c: Make DM compatible

2017-09-29 Thread Mario Six
Make the ihs_i2c driver DM-compatible; for legacy boards, the old functions are retained within #ifdefs. No board uses the new DM driver yet; this patch only lays the foundation for future support. Signed-off-by: Mario Six --- drivers/i2c/ihs_i2c.c | 201

[U-Boot] [PATCH 075/080] gdsys:phy: Adapt fixup_88e1518() to latest Release Notes

2017-09-29 Thread Mario Six
From: Dirk Eibach The initialization sequence described in the latest Release Notes MV-S302033-00 for the Marvell 88E1518 phy omits two register writes. Use this new sequence for the setup of this phy. Signed-off-by: Dirk Eibach Signed-off-by: Mario Six --- board/gdsys/common/phy.c | 2

[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

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

2017-09-29 Thread Mario Six
on is widely used, we refrain from modifying it, and instead read the raw address from the device tree, and apply the bus translations using the recently introduced dev_translate_address function. Signed-off-by: Mario Six --- drivers/serial/ns16550.c | 5 +++-- 1 file changed, 3 insertions(+), 2 dele

[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

[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 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

[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

[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 015/080] spi: Remove obsolete spi_base_setup_slave_fdt

2017-09-29 Thread Mario Six
) removed the use of this function, hence rendering it obsolete. Remove this function, as well as the CONFIG_OF_SPI option, which guarded only this function. Signed-off-by: Mario Six --- drivers/spi/spi.c| 20 include/spi.h| 14 ---

[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

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

2017-09-29 Thread Mario Six
h bits set. Hence, this patch changes the behavior in the PHY_INTERFACE_MODE_RGMII case so that both bits are set. Signed-off-by: Mario Six --- drivers/net/phy/marvell.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/phy/marvell.c b/drivers/net/phy/marvell.c index

[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 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

[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

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

2017-09-29 Thread Mario Six
case. Signed-off-by: Mario Six --- drivers/net/tsec.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/tsec.c b/drivers/net/tsec.c index aa261845f3..44140fb037 100644 --- a/drivers/net/tsec.c +++ b/drivers/net/tsec.c @@ -702,7 +702,9 @@ static int tsec_initialize(bd_t *bis, struct

[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

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

2017-09-29 Thread Mario Six
s from the whitelist). Signed-off-by: Mario Six --- board/gdsys/common/Makefile | 4 -- board/gdsys/common/miiphybb.c | 128 -- include/gdsys_fpga.h | 96 --- scripts/config_whitelist.txt | 10 4 files ch

[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

[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

[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

[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

[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

[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

[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

[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 del

[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 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

[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 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 delet

[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

[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

[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 ch

[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

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

2017-09-29 Thread Mario Six
by always defining the cfi_flash_num_flash_banks variable. Signed-off-by: Mario Six --- drivers/mtd/cfi_flash.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c index 7795d25825..4415bcca24 100644 --- a/drivers/mtd/cfi_flash.c +++ b/drivers

[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 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

[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

[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

[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

[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

[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

[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

[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 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

[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

[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

<    4   5   6   7   8   9   10   11   12   >