Re: [U-Boot] [ANN] U-Boot v2018.01 is released

2018-01-15 Thread Wolfgang Denk
Dear Tom, In message <20180109012807.GI2621@bill-the-cat> you wrote: > > I've released v2018.01 and it's now live on git and FTP and ACD (along > with PGP sig file). Sorry for being late with the release statistics. It't now online as usual at [1]; here the short summary: [1] http://www.denx.d

Re: [U-Boot] UEFI on u-boot

2018-01-15 Thread Alexander Graf
Hi Udit, On 15.01.18 10:09, Udit Kumar wrote: > Hi Alex, > Hope you are doing great, > > Could you help on UEFI over the u-boot. > 1- I couldn't locate EFI_DXE_SERVICES in u-boot, do you have plan to add > those Right now the model is that all device drivers are implemented by U-Boot and tha

Re: [U-Boot] [PATCH v1 03/05] db820c: add qualcomm dragonboard 820C support

2018-01-15 Thread Jorge Ramirez
On 01/10/2018 11:33 AM, Jorge Ramirez-Ortiz wrote: From: Jorge Ramirez-Ortiz This commit adds support for 96Boards Dragonboard820C. any feedback please? The board is based on APQ8086 Qualcomm Soc, complying with the 96Boards specification. Features - 4x Kyro CPU (64 bit) up to 2.15GHz

[U-Boot] [PATCH] arm64: zynqmp: Remove unused empty functions

2018-01-15 Thread Michal Simek
Remove functions which are no longer renerated by PCW. Signed-off-by: Michal Simek --- board/xilinx/zynqmp/xil_io.h | 12 1 file changed, 12 deletions(-) diff --git a/board/xilinx/zynqmp/xil_io.h b/board/xilinx/zynqmp/xil_io.h index 679d234b0709..0e4f81064ca8 100644 --- a/board/xi

[U-Boot] [RESEND PATCH v2 02/27] cfi_flash: Fix style of pointer declarations

2018-01-15 Thread Mario Six
Signed-off-by: Mario Six --- v1 -> v2: None --- 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 0dc7f4a6ba..a1b217cc0c 100644 --- a/drivers/mtd/

[U-Boot] [RESEND PATCH v2 03/27] cfi_flash: Fix Parenthesis spacing

2018-01-15 Thread Mario Six
Signed-off-by: Mario Six --- v1 -> v2: None --- 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 a1b217cc0c..e8f1739254 100644 --- a/drivers/mtd/cfi_flash.c +++ b/drivers/

[U-Boot] [RESEND PATCH v2 01/27] cfi_flash: Fix space between function name and parenthesis

2018-01-15 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/drivers/m

[U-Boot] [RESEND PATCH v2 04/27] cfi_flash: Fix whitespace with casting

2018-01-15 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_flash.c @@ -2

[U-Boot] [RESEND PATCH v2 09/27] cfi_flash: Fix logical continuations

2018-01-15 Thread Mario Six
Signed-off-by: Mario Six --- v1 -> v2: None --- 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 e2469055b8..eebd641e36 100644 --- a/drivers/mtd/cfi_flash.c +++ b/driv

[U-Boot] [RESEND PATCH v2 06/27] cfi_flash: Fix spacing around casts/operators

2018-01-15 Thread Mario Six
Signed-off-by: Mario Six --- v1 -> v2: None --- 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 b77fd3c0a2..0d58914e44 100644 --- a/drivers/mtd/cfi_flash.c +++ b/drivers/mtd/cf

[U-Boot] [RESEND PATCH v2 05/27] cfi_flash: Fix indent of case statements

2018-01-15 Thread Mario Six
Signed-off-by: Mario Six --- v1 -> v2: None --- 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 2dc6b09cd9..b77fd3c0a2 100644 --- a/drivers/m

[U-Boot] [RESEND PATCH v2 08/27] cfi_flash: Remove braces for single-statement blocks

2018-01-15 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/mtd/cfi_

[U-Boot] [RESEND PATCH v2 13/27] cfi_flash: Add missing braces in blocks

2018-01-15 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_flash.c @@ -11

[U-Boot] [RESEND PATCH v2 07/27] cfi_flash: Fix missing/superfluous lines

2018-01-15 Thread Mario Six
Signed-off-by: Mario Six --- v1 -> v2: None --- 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 0d58914e44..9cc1b2b16f 100644 --- a/drivers/mtd/cfi_flash.c +++ b/drivers/mtd/cfi_flash

[U-Boot] [RESEND PATCH v2 12/27] cfi_flash: Remove unnecessary braces

2018-01-15 Thread Mario Six
Signed-off-by: Mario Six --- v1 -> v2: None --- 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 a21c407ed7..0a24e9173a 100644 --- a/drivers/mtd/

[U-Boot] [RESEND PATCH v2 19/27] cfi_flash: Use u8 pointers instead of void pointers

2018-01-15 Thread Mario Six
Signed-off-by: Mario Six --- v1 -> v2: None --- 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 48086ded5c..fced9847ef 100644 --- a/drivers/mtd/cfi_flash.c +++ b/drivers/mtd/cfi_flash.c @

[U-Boot] [RESEND PATCH v2 4/4] core: Make device_is_compatible live-tree compatible

2018-01-15 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 ++- 1 fil

[U-Boot] [RESEND PATCH v2 16/27] cfi_flash: Fix placement of brace

2018-01-15 Thread Mario Six
Signed-off-by: Mario Six --- v1 -> v2: None --- 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 5b3c071b30..7aa379b0d8 100644 --- a/drivers/mtd/cfi_flash.c +++ b/drivers/mtd/cfi_flash.c @@ -192

[U-Boot] [RESEND PATCH v2 1/2] lib: fdtdec: Fix whitespace style violations

2018-01-15 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/lib/fdt

[U-Boot] [RESEND PATCH v2 24/27] cfi_flash: Fix long lines

2018-01-15 Thread Mario Six
Signed-off-by: Mario Six --- v1 -> v2: None --- 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 61c2e6379d..88c47cad90 100644 --- a/drivers/mtd/cfi_flash.c +++ b

[U-Boot] [RESEND PATCH v2 25/27] cfi_flash: Fix indention

2018-01-15 Thread Mario Six
Signed-off-by: Mario Six --- v1 -> v2: None --- 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 88c47cad90..347382f529 100644 --- a/drivers/m

[U-Boot] [RESEND PATCH v2 15/27] cfi_flash: Fix else after break

2018-01-15 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_flash.c @@

[U-Boot] [RESEND PATCH v2 2/4] clk: clk_fixed_rate: Fix style violation

2018-01-15 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 index

[U-Boot] [RESEND PATCH v2 1/4] core: ofnode: Fix style violations

2018-01-15 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 index 00

[U-Boot] [RESEND PATCH v2 17/27] cfi_flash: Remove return from void function

2018-01-15 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 +1280,6 @@ void

[U-Boot] [RESEND PATCH v2 10/27] cfi_flash: Use __func__ macro instead of function name

2018-01-15 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_flash.c @@ -555,7

[U-Boot] [RESEND PATCH v2 3/4] core: Add {ofnode, dev}_translate_address functions

2018-01-15 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/core/o

[U-Boot] [RESEND PATCH v2 27/27] mtd: cfi_flash: Make live-tree compatible

2018-01-15 Thread Mario Six
Make the cfi_flash driver compatible with a live device tree. Signed-off-by: Mario Six --- v1 -> v2: None --- 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 da44e6184e..

[U-Boot] [RESEND PATCH v2 18/27] cfi_flash: Remove assignments from if conditions

2018-01-15 Thread Mario Six
Signed-off-by: Mario Six --- v1 -> v2: None --- 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 d16357343f..48086ded5c 100644 --- a/drivers/mtd/cfi_flash.c +++ b/drivers/mtd/c

[U-Boot] [RESEND PATCH v2 26/27] cfi_flash: Always define cfi_flash_num_flash_banks

2018-01-15 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] [RESEND PATCH v2 23/27] cfi_flash: Bound-check index before array access

2018-01-15 Thread Mario Six
In a while loop in cfi_flash.c the array "start" is accessed at the index "sector" before the index variable "sector" is bounds-checked, which might lead to accesses beyond the bounds of the array. Swap the order of the checks in the "&&" expression, so that the short-circuit evaluation prevents o

[U-Boot] [RESEND PATCH v2 14/27] cfi_flash: Fix spelling of "Unknown"

2018-01-15 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 53842443eb..4c5e1568e6 100644 --- a/drivers/mtd/cfi_flash.c +++ b/drivers/mtd/cfi_flash.c @@ -1140,

[U-Boot] [RESEND PATCH v2 22/27] flash: Fix spelling of "ERR_TIMOUT"

2018-01-15 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 --- v1 -> v2: None --- board/cobra5272/flash.c | 2 +- common/flash.c| 4 ++-- drivers/mtd/cfi_flash.c | 4

[U-Boot] [RESEND PATCH v2 1/4] clk: clk-uclass: Fix style violations

2018-01-15 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". --- drivers/clk/clk-

[U-Boot] [RESEND PATCH v2 4/7] gpio: mpc85xx: Rename driver file to mpc8xxx

2018-01-15 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 changed, 1 insertio

[U-Boot] [RESEND PATCH v2 20/27] cfi_flash: Fix strings split across lines

2018-01-15 Thread Mario Six
Signed-off-by: Mario Six --- v1 -> v2: None --- 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 fced9847ef..8040e43de7 100644 --- a/drivers/mtd/cfi_flash.c +++ b/drivers/mtd/cfi

[U-Boot] [RESEND PATCH v2 1/7] gpio: pca953x_gpio: Fix style violations

2018-01-15 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 791d1d1516.

[U-Boot] [RESEND PATCH v2 3/6] i2c: fsl_i2c: Make live-tree compatible

2018-01-15 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_i2c.c ind

[U-Boot] [RESEND PATCH v2 7/7] gpio: mpc8xxx: Make live-tree compatible

2018-01-15 Thread Mario Six
Make the MPC8xxx GPIO driver compatible with a live device tree. Signed-off-by: Mario Six --- v1 -> v2: None --- 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 0a

[U-Boot] [RESEND PATCH v2 6/7] gpio: mpc8xxx: Make compatible with more SoCs

2018-01-15 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 --- v1 -> v2: None --- drivers/gpio/mpc8xxx_gpio.c | 23 +-- 1 file changed,

[U-Boot] [RESEND PATCH v2 4/4] clk: Makefile: Sort entries alphabetically

2018-01-15 Thread Mario Six
The Makefile entries in the clk driver directory were not alphabetically sorted. Correct this. Reviewed-by: Simon Glass Signed-off-by: Mario Six --- v1 -> v2: None --- drivers/clk/Makefile | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/clk/M

[U-Boot] [RESEND PATCH v2 21/27] cfi_flash: Rename camel-case variables

2018-01-15 Thread Mario Six
Signed-off-by: Mario Six --- v1 -> v2: None --- 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 8040e43de7..e94a7269e1 100644 --- a/drivers/mtd/cfi_flash.c +++ b/drivers/mtd/cfi_

[U-Boot] [RESEND PATCH v2 3/4] clk: Remove superfluous gd declarations

2018-01-15 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 files chan

[U-Boot] [RESEND PATCH v2 5/6] i2c: ihs_i2c: Make DM compatible

2018-01-15 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 --- v1 -> v2: * Use put_unaligned_le32 instead of manual buffer copying

[U-Boot] [RESEND PATCH v2 7/7] phy: Fix style violations

2018-01-15 Thread Mario Six
Fix some style violations in the generic PHY management code. Acked-by: Joe Hershberger Signed-off-by: Mario Six --- v1 -> v2: * Fixed comment style according to Joe's comments --- drivers/net/phy/phy.c | 94 +++ 1 file changed, 57 insertions(+

[U-Boot] [RESEND PATCH v2 6/7] cmd: mdio: Fix style violations

2018-01-15 Thread Mario Six
Fix some style violations in the MDIO command. Acked-by: Joe Hershberger Signed-off-by: Mario Six --- v1 -> v2: None --- 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

[U-Boot] [RESEND PATCH v2 5/7] gpio: mpc8xxx: Rename Kconfig option, structures, and functions

2018-01-15 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 --- v1 -> v2: None --- arch/powerpc/include/asm/arch-mpc85xx/gpio.h | 2 +- drivers/gpio/Kconfig

[U-Boot] [RESEND PATCH v2 5/7] net: phy: marvell 88e151x: Fix handling of bare RGMII interface type

2018-01-15 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] [RESEND PATCH v2 5/8] spi: Remove CONFIG_OF_SPI_FLASH

2018-01-15 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, 1 dele

[U-Boot] [RESEND PATCH v2 11/27] cfi_flash: Fix comment style

2018-01-15 Thread Mario Six
Signed-off-by: Mario Six --- v1 -> v2: None --- 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 6ae1ac871f..a21c407ed7 100644 --- a/drivers/mtd/cfi_flash.c +++ b/drivers/mtd/cfi_flash.c @@

[U-Boot] [RESEND PATCH v2 2/4] core: read: Fix style violations

2018-01-15 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 index 5d

[U-Boot] [RESEND PATCH v2 2/7] gpio: pca953x_gpio: Make live-tree compatible

2018-01-15 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/gpio/pca953x_gpio.

[U-Boot] [RESEND PATCH v2 2/7] net: tsec: Fix memory leak in error path

2018-01-15 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] [RESEND PATCH v2 3/7] gpio: mpc85xx_gpio: Fix style violations

2018-01-15 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/gpio/mpc85xx_

Re: [U-Boot] [RESEND PATCH v2 2/4] clk: clk_fixed_rate: Fix style violation

2018-01-15 Thread Dr. Philipp Tomsich
Tom, > On 15 Jan 2018, at 11:06, Mario Six wrote: > > Fix a mis-indented function call in clk_fixed_rate.c A general question: do we want to have such gardening commits create an additional indirection in our history for people using git-blame frequently (e.g. I usually use git-blame to find th

[U-Boot] [RESEND PATCH v2 2/2] lib: fdtdec: Fix some style violations

2018-01-15 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/fdtdec.c

[U-Boot] [RESEND PATCH v2 4/7] net: phy: marvell: Fix style violations

2018-01-15 Thread Mario Six
Fix some style violations (mostly wrong indentions) in the Marvell PHY driver. Acked-by: Joe Hershberger Signed-off-by: Mario Six --- v1 -> v2: None --- drivers/net/phy/marvell.c | 44 ++-- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a

[U-Boot] [RESEND PATCH v2 1/4] include: dm: Fix 'devioe'/'devuce' typos

2018-01-15 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 index

[U-Boot] [RESEND PATCH v2 6/6] i2c: ihs_i2c: Factor out send_buffer method

2018-01-15 Thread Mario Six
Simplify the driver logic by extracting a common send_buffer method. Signed-off-by: Mario Six --- v1 -> v2: None --- drivers/i2c/ihs_i2c.c | 50 ++ 1 file changed, 26 insertions(+), 24 deletions(-) diff --git a/drivers/i2c/ihs_i2c.c b/drivers/i2

[U-Boot] [RESEND PATCH v2 8/8] sf_probe: Merge spi_flash_probe_tail into spi_flash_probe

2018-01-15 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(-) diff

[U-Boot] [RESEND PATCH v2 7/8] spi: spi-uclass: Fix style violations

2018-01-15 Thread Mario Six
Remove a superfluous newline, and reduce the scope of a variable. Reviewed-by: Simon Glass Reviewed-by: Jagan Teki Signed-off-by: Mario Six --- v1 -> v2: None --- drivers/spi/spi-uclass.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/spi/spi-uclass.c b/driv

[U-Boot] [RESEND PATCH v2 1/6] i2c: fsl_i2c: Fix style violations

2018-01-15 Thread Mario Six
Fix some style violations in the fsl_i2c I2C driver, and use shorter type names for variables in some cases. Reviewed-by: Heiko Schocher Signed-off-by: Mario Six --- v1 -> v2: None --- drivers/i2c/fsl_i2c.c | 111 +- 1 file changed, 56 insertion

[U-Boot] [RESEND PATCH v2 4/8] spi: Remove spi_setup_slave_fdt

2018-01-15 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: None --- driv

[U-Boot] [RESEND PATCH v2 2/4] serial: ns16550: Fix style violation

2018-01-15 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/serial/ns16550

[U-Boot] [RESEND PATCH v2 2/6] i2c: fsl_i2c: Remove inline declarations

2018-01-15 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. Reviewed-by: Heiko Schocher Signed-off-by: Mario Six --- v1 -> v2: None --- drivers/i2c/fsl_

[U-Boot] [RESEND PATCH v2 4/6] i2c: ihs_i2c: Prepare DM conversion

2018-01-15 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 --- v1 -> v2: None --- drivers/i2c/ihs_i2c.c | 69 +

[U-Boot] [RESEND PATCH v2 3/7] net: tsec: Make live-tree compatible

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

[U-Boot] [RESEND PATCH v2 1/7] net: tsec: Fix style violations

2018-01-15 Thread Mario Six
Signed-off-by: Mario Six Acked-by: Joe Hershberger --- 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

[U-Boot] [RESEND PATCH v2 1/8] spi: Fix style violation and improve code

2018-01-15 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 deletions(-)

[U-Boot] [RESEND PATCH v2 4/4] common: board_r: Fix style violations

2018-01-15 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 09167c13cc..e304

[U-Boot] [RESEND PATCH v2 3/4] common: board_f: Fix style violations

2018-01-15 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 --- a/co

[U-Boot] [RESEND PATCH v2 6/8] spi: sf_probe: Fix style violations

2018-01-15 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 --- a/drive

[U-Boot] [RESEND PATCH v2 3/8] spi: Remove spi_flash_probe_fdt

2018-01-15 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 -> v2: None --- driver

[U-Boot] [RESEND PATCH v2 2/8] spi: Remove obsolete spi_base_setup_slave_fdt

2018-01-15 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] [RESEND PATCH v2 2/4] clk: clk_fixed_rate: Fix style violation

2018-01-15 Thread Mario Six
On Mon, Jan 15, 2018 at 11:19 AM, Dr. Philipp Tomsich wrote: > Tom, > >> On 15 Jan 2018, at 11:06, Mario Six wrote: >> >> Fix a mis-indented function call in clk_fixed_rate.c > > A general question: do we want to have such gardening commits > create an additional indirection in our history for pe

Re: [U-Boot] [PATCH 0/9] Add new OPTEE bootm support to u-boot

2018-01-15 Thread Dr. Philipp Tomsich
> On 15 Jan 2018, at 11:24, Dr. Philipp Tomsich > wrote: > >> >> On 15 Jan 2018, at 05:39, Kever Yang wrote: >> >> Hi Bryan, >> >> On 01/12/2018 10:52 PM, Bryan O'Donoghue wrote: >>> This series adds a new OPTEE bootable image type to u-boot, which is >>> directly bootable with the bootm co

Re: [U-Boot] [PATCH 0/9] Add new OPTEE bootm support to u-boot

2018-01-15 Thread Dr. Philipp Tomsich
> On 15 Jan 2018, at 05:39, Kever Yang wrote: > > Hi Bryan, > > On 01/12/2018 10:52 PM, Bryan O'Donoghue wrote: >> This series adds a new OPTEE bootable image type to u-boot, which is >> directly bootable with the bootm command. >> >> There is already a TEE image type but, in this case the TEE

Re: [U-Boot] [PATCH] mmc: fsl_esdhc: Fix i.MX53 eSDHCv3 clock

2018-01-15 Thread Stefano Babic
Hi Benoît, On 15/01/2018 00:46, Benoît Thébaudeau wrote: > Commit 4f425280fa71 ("mmc: fsl_esdhc: Allow all supported prescaler > values") made it possible to set SYSCTL.SDCLKFS to 0 in SDR mode on > i.MX, thus bypassing the SD clock frequency prescaler, in order to be > able to get higher SD clock

Re: [U-Boot] [PATCH] ubi: Fix filesystem corruption on detach when fastmap enabled

2018-01-15 Thread Heiko Schocher
Hello Martin, Am 12.01.2018 um 20:03 schrieb Martin Townsend: From d35b7ea298fbd6c9d08b1b7132d43b9289d2b914 Mon Sep 17 00:00:00 2001 From: Martin Townsend Date: Fri, 12 Jan 2018 18:59:23 + Subject: [PATCH] ubi: Fix filesystem corruption on detach when fastmap enabled MIME-Version: 1.0 Cont

Re: [U-Boot] UEFI on u-boot

2018-01-15 Thread Alexander Graf
On 15.01.18 10:32, Udit Kumar wrote: > Hi Alex > >> -Original Message- >> From: Alexander Graf [mailto:ag...@suse.de] >> Sent: Monday, January 15, 2018 2:45 PM >> To: Udit Kumar >> >> Hi Udit, >> >> On 15.01.18 10:09, Udit Kumar wrote: >>> Hi Alex, >>> Hope you are doing great, >>> >>>

Re: [U-Boot] [PATCH v2 0/3] cadence-quadspi: Fix issues with non 32bit aligned accesses

2018-01-15 Thread Vignesh R
Marek, On 09-Jan-18 6:49 PM, Vignesh R wrote: > This series reverts use of bounce_buf.c for non-DMA related alignment > restriction and replaces it with local bounce buffer to handle problems > with non 32 bit aligned writes on TI platforms. > Based on top of Jason's series: > https://patchwork.oz

Re: [U-Boot] [PATCH 1/2] ARM: dts: exynos5: remove the duplicated nodes

2018-01-15 Thread Anand Moon
Hi Jaehoon On 12 January 2018 at 16:37, Jaehoon Chung wrote: > Remove the duplicated gic and combiner nodes in exynos5.dtsi. > > Signed-off-by: Jaehoon Chung Reviewed-by: Anand Moon > --- > arch/arm/dts/exynos5.dtsi | 27 --- > 1 file changed, 27 deletions(-) > > diff

Re: [U-Boot] [PATCH v2 0/3] cadence-quadspi: Fix issues with non 32bit aligned accesses

2018-01-15 Thread Marek Vasut
On 01/15/2018 12:36 PM, Vignesh R wrote: > Marek, > > On 09-Jan-18 6:49 PM, Vignesh R wrote: >> This series reverts use of bounce_buf.c for non-DMA related alignment >> restriction and replaces it with local bounce buffer to handle problems >> with non 32 bit aligned writes on TI platforms. >> Bas

Re: [U-Boot] [PATCH 2/2] ARM: dts: exynos5: add the interrupt-parent property

2018-01-15 Thread Anand Moon
Hi Jaehoo, On 12 January 2018 at 16:37, Jaehoon Chung wrote: > Add the interrupt-parent property as gic. > > Signed-off-by: Jaehoon Chung > --- Please add my Reviewed-by: Anand Moon > arch/arm/dts/exynos5.dtsi | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/arch/arm/dts/exynos5.dt

Re: [U-Boot] [PATCH v2 0/3] cadence-quadspi: Fix issues with non 32bit aligned accesses

2018-01-15 Thread Simon Goldschmidt
 Pepperl+Fuchs GmbH, Mannheim Geschaeftsfuehrer/Managing Directors: Dr.-Ing. Gunther Kegel (Vors./CEO), Werner Guthier, Mehmet Hatiboglu Vorsitzender des Aufsichtsrats/Chairman of the supervisory board: Claus Michael Registergericht/Register Court: AG Mannheim HRB 4713 On 15.01.2018 12:45, Marek

Re: [U-Boot] [PATCH v5 0/5] spi: cadence_spi: Adopt Linux DT bindings

2018-01-15 Thread Simon Goldschmidt
On 07.01.2018 12:41, Marek Vasut wrote: On 01/06/2018 07:17 PM, Jason Rush wrote: Adopt the Linux DT bindings. This also fixes an issue with the indaddrtrig register on the Cadence QSPI device being programmed with the wrong value for the socfpga arch. Tested on TI K2G platform: Tested-by: Vign

Re: [U-Boot] [PATCH 0/9] Add new OPTEE bootm support to u-boot

2018-01-15 Thread Peng Fan
On Mon, Jan 15, 2018 at 11:29:41AM +0100, Dr. Philipp Tomsich wrote: > >> On 15 Jan 2018, at 11:24, Dr. Philipp Tomsich >> wrote: >> >>> >>> On 15 Jan 2018, at 05:39, Kever Yang wrote: >>> >>> Hi Bryan, >>> >>> On 01/12/2018 10:52 PM, Bryan O'Donoghue wrote: This series adds a new OPTEE

Re: [U-Boot] [PATCH] ubi: Fix filesystem corruption on detach when fastmap enabled

2018-01-15 Thread Martin Townsend
Hi Heiko, On Mon, Jan 15, 2018 at 11:30 AM, Heiko Schocher wrote: > Hello Martin, > > > Am 12.01.2018 um 20:03 schrieb Martin Townsend: >>> >>> From d35b7ea298fbd6c9d08b1b7132d43b9289d2b914 Mon Sep 17 00:00:00 2001 >> >> From: Martin Townsend >> Date: Fri, 12 Jan 2018 18:59:23 + >> Subject:

Re: [U-Boot] [PATCH 1/2] arm64: zynqmp: Prepare psu_init rework

2018-01-15 Thread Michal Simek
Hi, 2018-01-10 16:38 GMT+01:00 Michal Simek : > Move generic functions to common location spl.c. Function declarations > are added to private header. > These changes are done in connection to the fact that still files from > HDF can be copied over and compilation should pass. > > Signed-off-by: M

Re: [U-Boot] [RESEND PATCH v2 2/4] clk: clk_fixed_rate: Fix style violation

2018-01-15 Thread Tom Rini
On Mon, Jan 15, 2018 at 11:44:46AM +0100, Mario Six wrote: > On Mon, Jan 15, 2018 at 11:19 AM, Dr. Philipp Tomsich > wrote: > > Tom, > > > >> On 15 Jan 2018, at 11:06, Mario Six wrote: > >> > >> Fix a mis-indented function call in clk_fixed_rate.c > > > > A general question: do we want to have su

Re: [U-Boot] FW: u-boot v2016 vs v2013

2018-01-15 Thread Mehmet Ali İPİN
Dear Estevam, Thank you very much for your answer. I downloaded u-boot 2018.01. Its make file required gcc 6.0 or later. Then I downloaded gcc 7.2. Building it. Do you know is there a yocto version which is stable with u-boot 2018? Thanks and best regards. -Original Message- From: Fa

Re: [U-Boot] [PATCH 0/9] Add new OPTEE bootm support to u-boot

2018-01-15 Thread Dr. Philipp Tomsich
> On 15 Jan 2018, at 13:03, Peng Fan wrote: > > On Mon, Jan 15, 2018 at 11:29:41AM +0100, Dr. Philipp Tomsich wrote: >> >>> On 15 Jan 2018, at 11:24, Dr. Philipp Tomsich >>> wrote: >>> On 15 Jan 2018, at 05:39, Kever Yang wrote: Hi Bryan, On 01/12/2018 10:52

Re: [U-Boot] [PATCH v2 0/3] cadence-quadspi: Fix issues with non 32bit aligned accesses

2018-01-15 Thread Jason Rush
On 1/15/2018 6:01 AM, Simon Goldschmidt wrote: > > Pepperl+Fuchs GmbH, Mannheim > Geschaeftsfuehrer/Managing Directors: Dr.-Ing. Gunther Kegel (Vors./CEO), > Werner Guthier, Mehmet Hatiboglu > Vorsitzender des Aufsichtsrats/Chairman of the supervisory board: Claus > Michael > Registergericht/Regi

[U-Boot] [PATCH] checkpatch: Ignore 'short' Kconfig help entries

2018-01-15 Thread Tom Rini
A 2 line help entry for a new Kconfig entry is, at this time, sufficient in some cases, so lets drop that warning for now. Signed-off-by: Tom Rini --- .checkpatch.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.checkpatch.conf b/.checkpatch.conf index d1d32fac9db5..95f19635d35a 1006

Re: [U-Boot] [U-Boot, v2, 01/12] riscv: cpu: Add nx25 to support RISC-V

2018-01-15 Thread Tom Rini
On Tue, Dec 26, 2017 at 01:55:48PM +0800, Andes wrote: > From: Rick Chen > > Add Andes nx25 cpu core (called AndesStar V5) to support RISC-V arch > > Verifications: > 1. startup and relocation ok. > 2. boot from rom or ram both ok. > 2. timer driver ok. > 3. uart driver ok > 4. mmc driver ok >

Re: [U-Boot] [U-Boot, v2, 02/12] riscv: nx25: lib: Add relative lib funcs to support RISC-V

2018-01-15 Thread Tom Rini
On Tue, Dec 26, 2017 at 01:55:49PM +0800, Andes wrote: > From: Rick Chen > > Add makefile, interrupts.c and boot.c,... functions > to support RISC-V arch. > > Signed-off-by: Rick Chen > Signed-off-by: Rick Chen > Signed-off-by: Greentime Hu > Cc: Padmarao Begari Applied to u-boot/master, t

Re: [U-Boot] [U-Boot, v2, 04/12] riscv: nx25: include: Add header files to support RISC-V

2018-01-15 Thread Tom Rini
On Tue, Dec 26, 2017 at 01:55:51PM +0800, Andes wrote: > From: Rick Chen > > Add header files for RISC-V. > Cache, ptregs, data type and other definitions are included. > > Signed-off-by: Rick Chen > Signed-off-by: Rick Chen > Signed-off-by: Greentime Hu Applied to u-boot/master, thanks! -

Re: [U-Boot] [U-Boot, v2, 08/12] riscv: defconfig: Add nx25-ae250 defconfig to support RISC-V

2018-01-15 Thread Tom Rini
On Tue, Dec 26, 2017 at 01:55:55PM +0800, Andes wrote: > From: Rick Chen > > Add nx25-ae250 default configuration for RISC-V > > Signed-off-by: Rick Chen > Signed-off-by: Rick Chen > Signed-off-by: Greentime Hu Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP sign

Re: [U-Boot] [U-Boot, v2, 03/12] riscv: nx25: dts: Add AE250 dts to support RISC-V

2018-01-15 Thread Tom Rini
On Tue, Dec 26, 2017 at 01:55:50PM +0800, Andes wrote: > From: Rick Chen > > AE250 is the Soc using NX25 cpu core base on RISC-V arch. > Details please see the doc/README.ae250. > > Signed-off-by: Rick Chen > Signed-off-by: Rick Chen > Signed-off-by: Greentime Hu Applied to u-boot/master, t

Re: [U-Boot] travis.yml: Support RISC-V

2018-01-15 Thread Tom Rini
On Fri, Jan 12, 2018 at 02:57:09PM +0800, Andes wrote: > From: Rick Chen > > Enable travis-ci support with a link having built. > > Signed-off-by: Chih-Mao Chen > Signed-off-by: Rick Chen > Signed-off-by: Rick Chen > Signed-off-by: Greentime Hu Applied to u-boot/master, thanks! -- Tom

  1   2   >