[U-Boot] [PATCH v2 76/78] i2c: ihs_i2c: Make DM compatible

2017-12-12 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

[U-Boot] [PATCH v2 59/78] cfi_flash: Always define cfi_flash_num_flash_banks

2017-12-12 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 v2 31/78] gdsys: Post ppc4xx removal cleanup

2017-12-12 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

[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

[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

[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

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

[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

[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

[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

[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

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

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

[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

[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

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

[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

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

[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

[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

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

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

[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

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

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

2017-12-12 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

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

[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

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

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

[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

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

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

2017-12-12 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

[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

[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

[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

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

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

[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

[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

[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

[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

Re: [U-Boot] [PATCH v2 1/1] arm: sunxi: Allwinner A10 SPI driver

2017-12-12 Thread Jagan Teki
On Wed, Dec 13, 2017 at 11:43 AM, Stefan Mavrodiev wrote: > On 12/13/2017 07:19 AM, Jagan Teki wrote: >> >> On Fri, Dec 8, 2017 at 5:08 PM, Jagan Teki >> wrote: >>> >>> On Fri, Dec 8, 2017 at 2:05 PM, Stefan Mavrodiev >>> wrote:

Re: [U-Boot] [PATCH v2 1/1] arm: sunxi: Allwinner A10 SPI driver

2017-12-12 Thread Stefan Mavrodiev
On 12/13/2017 07:19 AM, Jagan Teki wrote: On Fri, Dec 8, 2017 at 5:08 PM, Jagan Teki wrote: On Fri, Dec 8, 2017 at 2:05 PM, Stefan Mavrodiev wrote: Add spi driver for sun4i, sun5i and sun7i SoCs. The driver is adapted from mailine kernel

[U-Boot] [PATCH v3 4/5] docs: README.sunxi: Move sunxi64 documentation

2017-12-12 Thread Jagan Teki
Move documentation of README.sunxi64 from board files into docs/README.sunxi Signed-off-by: Jagan Teki --- Changes for v3: - New patch board/sunxi/README.sunxi64 | 165 -- doc/README.sunxi | 173

[U-Boot] [PATCH v3 3/5] docs: Document verified-boot for sunxi a64

2017-12-12 Thread Jagan Teki
Add verified-boot documentation for sunxi a64 platform. Signed-off-by: Jagan Teki --- Changes for v3: - Create separate document file Changes for v2: - New patch doc/README.sunxi | 193 +++ 1 file changed, 193

[U-Boot] [PATCH v3 2/5] sunxi: arm64: Increase CONFIG_SYS_BOOTM_LEN to 32MB

2017-12-12 Thread Jagan Teki
From: Jagan Teki The default value of CONFIG_SYS_BOOTM_LEN, 0x80, causes error when uncompressing Image.gz out of FIT image. Uncompressing Kernel Image ... Error: inflate() returned -5 Image too large: increase CONFIG_SYS_BOOTM_LEN and loading Image out of FIT

[U-Boot] [PATCH v3 5/5] docs: README.sunxi: Move nand documentation

2017-12-12 Thread Jagan Teki
Move documentation of README.nand from board files into docs/README.sunxi Signed-off-by: Jagan Teki --- Changes for v3: - New patch board/sunxi/README.nand | 54 doc/README.sunxi| 60

[U-Boot] [PATCH v5 5/5] docs: README.sunxi: Move nand documentation

2017-12-12 Thread Jagan Teki
Move documentation of README.nand from board files into docs/README.sunxi Signed-off-by: Jagan Teki --- Changes for v3: - New patch board/sunxi/README.nand | 54 doc/README.sunxi| 60

[U-Boot] [PATCH v3 1/5] sunxi: a64: Enable FIT Signature

2017-12-12 Thread Jagan Teki
From: Jagan Teki Enable FIT_SIGNATURE for sunxi a64. Signed-off-by: Jagan Teki --- Changes for v3: - Move imply outside block Changes for v2: - Use imply instead of select arch/arm/mach-sunxi/Kconfig | 1 + 1 file changed, 1 insertion(+)

[U-Boot] [PATCH v5 4/5] docs: README.sunxi: Move sunxi64 documentation

2017-12-12 Thread Jagan Teki
Move documentation of README.sunxi64 from board files into docs/README.sunxi Signed-off-by: Jagan Teki --- Changes for v3: - New patch board/sunxi/README.sunxi64 | 165 -- doc/README.sunxi | 173

[U-Boot] [PATCH v5 3/5] docs: Document verified-boot for sunxi a64

2017-12-12 Thread Jagan Teki
Add verified-boot documentation for sunxi a64 platform. Signed-off-by: Jagan Teki --- Changes for v3: - Create separate document file Changes for v2: - New patch doc/README.sunxi | 193 +++ 1 file changed, 193

[U-Boot] [PATCH v5 1/5] sunxi: a64: Enable FIT Signature

2017-12-12 Thread Jagan Teki
From: Jagan Teki Enable FIT_SIGNATURE for sunxi a64. Signed-off-by: Jagan Teki --- Changes for v3: - Move imply outside block Changes for v2: - Use imply instead of select arch/arm/mach-sunxi/Kconfig | 1 + 1 file changed, 1 insertion(+)

Re: [U-Boot] [PATCH] am335x_evm: Fix DFU for eMMC

2017-12-12 Thread Lokesh Vutla
On Tuesday 12 December 2017 11:37 PM, Sam Protsenko wrote: > Use dfu_alt_info_emmc variable from include/environment/ti/dfu.h file. > It was probably overlooked when extracting DFU variables to mentioned > file. > > This patch fixes DFU on BeagleBone Black, so that we can use commands > like

Re: [U-Boot] [PATCH v2 3/3] sunxi: README.sunxi64: Document verified-boot for a64

2017-12-12 Thread Jagan Teki
On Mon, Nov 13, 2017 at 2:45 PM, Maxime Ripard wrote: > Hi, > > On Fri, Nov 10, 2017 at 10:21:10PM +0530, Jagan Teki wrote: >> Add verified-boot documentation for sunxi a64 platform. >> >> Signed-off-by: Jagan Teki >> --- >> Changes

Re: [U-Boot] [PATCH v2 1/1] arm: sunxi: Allwinner A10 SPI driver

2017-12-12 Thread Jagan Teki
On Fri, Dec 8, 2017 at 5:08 PM, Jagan Teki wrote: > On Fri, Dec 8, 2017 at 2:05 PM, Stefan Mavrodiev wrote: >> Add spi driver for sun4i, sun5i and sun7i SoCs. The driver is >> adapted from mailine kernel (currently 4.15.0-rc1). >> >> Signed-off-by:

Re: [U-Boot] [linux-sunxi] Re: [PATCH 12/16] configs: sun50i: enable ums on bananapi-m64

2017-12-12 Thread Jagan Teki
On Wed, Dec 13, 2017 at 7:31 AM, Stefan Brüns wrote: > On Wednesday, December 13, 2017 2:36:26 AM CET Icenowy Zheng wrote: >> 在 2017年12月12日星期二 CST 下午4:12:13,Maxime Ripard 写道: >> >> > Hi, >> > >> > On Tue, Dec 12, 2017 at 12:28:27PM +0530, Jagan Teki wrote: >> > >

[U-Boot] please pull u-boot-samsung master

2017-12-12 Thread Jaehoon Chung
The below message is from Minkyu. I just resend his original PR. Forwarded Message Subject: please pull u-boot-samsung master Date: Tue, 12 Dec 2017 15:48:17 +0900 From: Minkyu Kang Organization: SAMSUNG ELECTRONICS To: Jaehoon Chung

Re: [U-Boot] [PATCH v3 0/2] Generic firmware loader

2017-12-12 Thread Chee, Tien Fong
On Sel, 2017-12-12 at 16:51 +0100, Marek Vasut wrote: > On 12/12/2017 12:56 PM, tien.fong.c...@intel.com wrote: > > > > From: Tien Fong Chee > > > > This patchset contains generic firmware loader which is very close > > to Linux > > firmware loader but for U-Boot

Re: [U-Boot] [PATCH v3 2/2] common: Generic firmware loader for file system

2017-12-12 Thread Chee, Tien Fong
On Sel, 2017-12-12 at 15:12 +0100, Lothar Waßmann wrote: > Hi, > > On Tue, 12 Dec 2017 19:56:17 +0800 tien.fong.c...@intel.com wrote: > > > > From: Tien Fong Chee > > > > This is file system generic loader which can be used to load > > the file image from the storage

[U-Boot] How to re-use the driver data for pre-reloc in post-reloc driver

2017-12-12 Thread Kever Yang
Hi Simon, This is not the topic about disable the relocate feature in U-Boot proper. My target is re-use kernel dtb in U-Boot and U-Boot can work properly even if some of dts node in kernel is broken. - U-Boot mark a set of driver as u-boot,dm-pre-reloc, suppose to able to get into

Re: [U-Boot] [linux-sunxi] Re: [PATCH 12/16] configs: sun50i: enable ums on bananapi-m64

2017-12-12 Thread Stefan Brüns
On Wednesday, December 13, 2017 2:36:26 AM CET Icenowy Zheng wrote: > 在 2017年12月12日星期二 CST 下午4:12:13,Maxime Ripard 写道: > > > Hi, > > > > On Tue, Dec 12, 2017 at 12:28:27PM +0530, Jagan Teki wrote: > > > This patch enable ums through CMD_USB_MASS_STORAGE. > > > > > > Signed-off-by: Jagan Teki

Re: [U-Boot] [U-Boot,4/4] meson: use the clock driver

2017-12-12 Thread Tom Rini
On Sun, Dec 03, 2017 at 10:17:13AM +0100, Beniamino Galvani wrote: > Use the clk framework to initialize clocks from drivers that need them > instead of having hardcoded frequencies and initializations from board > code. > > Signed-off-by: Beniamino Galvani > Reviewed-by:

Re: [U-Boot] [U-Boot,09/10] ata: Migrate CONFIG_LIBATA to Kconfig

2017-12-12 Thread Tom Rini
On Fri, Dec 08, 2017 at 03:36:20PM +0200, Tuomas Tynkkynen wrote: > This symbol enables some library code used by various SATA drivers, > so make this a non-user-visible symbol select'ed by the respective > drivers, and let moveconfig handle the rest. > > Signed-off-by: Tuomas Tynkkynen

Re: [U-Boot] [U-Boot, 03/10] ata: Migrate CONFIG_SATA_SIL to Kconfig

2017-12-12 Thread Tom Rini
On Fri, Dec 08, 2017 at 03:36:14PM +0200, Tuomas Tynkkynen wrote: > Use 'imply' here liberally to avoid the combinatorial explosion of > defconfig changes in the PowerPC boards. > > Signed-off-by: Tuomas Tynkkynen Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [U-Boot,05/10] ata: Migrate CONFIG_SATA_MV to Kconfig

2017-12-12 Thread Tom Rini
On Fri, Dec 08, 2017 at 03:36:16PM +0200, Tuomas Tynkkynen wrote: > Signed-off-by: Tuomas Tynkkynen Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list

Re: [U-Boot] [U-Boot, 08/10] ata: Migrate CONFIG_SCSI_AHCI to Kconfig

2017-12-12 Thread Tom Rini
On Fri, Dec 08, 2017 at 03:36:19PM +0200, Tuomas Tynkkynen wrote: > And use 'imply' liberally. > > Signed-off-by: Tuomas Tynkkynen Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___

Re: [U-Boot] [U-Boot, 07/10] ata: Migrate CONFIG_DWC_AHSATA to Kconfig

2017-12-12 Thread Tom Rini
On Fri, Dec 08, 2017 at 03:36:18PM +0200, Tuomas Tynkkynen wrote: > Signed-off-by: Tuomas Tynkkynen Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list

Re: [U-Boot] [U-Boot, 10/10] ata: Migrate CONFIG_MVSATA_IDE to Kconfig

2017-12-12 Thread Tom Rini
On Fri, Dec 08, 2017 at 03:36:21PM +0200, Tuomas Tynkkynen wrote: > Signed-off-by: Tuomas Tynkkynen Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list

Re: [U-Boot] [U-Boot, 06/10] ata: Migrate CONFIG_FSL_SATA to Kconfig

2017-12-12 Thread Tom Rini
On Fri, Dec 08, 2017 at 03:36:17PM +0200, Tuomas Tynkkynen wrote: > Use 'imply' here liberally to avoid the combinatorial explosion of > defconfig changes in the PowerPC boards. > > Signed-off-by: Tuomas Tynkkynen Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [U-Boot, 04/10] ata: Migrate CONFIG_SATA_SIL3114 to Kconfig

2017-12-12 Thread Tom Rini
On Fri, Dec 08, 2017 at 03:36:15PM +0200, Tuomas Tynkkynen wrote: > Signed-off-by: Tuomas Tynkkynen Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list

Re: [U-Boot] [U-Boot,02/10] ata: Drop CONFIG_MX51_PATA

2017-12-12 Thread Tom Rini
On Fri, Dec 08, 2017 at 03:36:13PM +0200, Tuomas Tynkkynen wrote: > The last user of this driver went away in August 2015 in commit: > b6073fd2115 ("arm: Remove mx51_efikamx, mx51_efikasb boards") > > Signed-off-by: Tuomas Tynkkynen Applied to u-boot/master, thanks!

Re: [U-Boot] [U-Boot,01/10] ata: Drop CONFIG_SATA_DWC

2017-12-12 Thread Tom Rini
On Fri, Dec 08, 2017 at 03:36:12PM +0200, Tuomas Tynkkynen wrote: > The last user of this driver went away in June 2017, in commit: > 98f705c9ce ("powerpc: remove 4xx support") > > Signed-off-by: Tuomas Tynkkynen Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [PATCH v6 2/2] DW SPI: Get clock value from Device Tree

2017-12-12 Thread Simon Glass
On 11 December 2017 at 09:41, Marek Vasut wrote: > On 12/11/2017 05:37 PM, Eugeniy Paltsev wrote: >> On Mon, 2017-12-11 at 17:21 +0100, Marek Vasut wrote: >>> On 12/11/2017 05:18 PM, Eugeniy Paltsev wrote: Add option to set spi controller clock frequency via device tree

Re: [U-Boot] [linux-sunxi] Re: [PATCH 12/16] configs: sun50i: enable ums on bananapi-m64

2017-12-12 Thread Icenowy Zheng
在 2017年12月12日星期二 CST 下午4:12:13,Maxime Ripard 写道: > Hi, > > On Tue, Dec 12, 2017 at 12:28:27PM +0530, Jagan Teki wrote: > > This patch enable ums through CMD_USB_MASS_STORAGE. > > > > Signed-off-by: Jagan Teki > > --- > > > > configs/bananapi_m64_defconfig | 1 + > >

Re: [U-Boot] [PATCH 1/2] distro_bootcmd: Add command to run FreeBSD

2017-12-12 Thread Heinrich Schuchardt
On 12/12/2017 09:00 PM, Emmanuel Vadot wrote: > On Tue, 12 Dec 2017 20:29:42 +0100 > Heinrich Schuchardt wrote: > >> On 12/12/2017 10:03 AM, Emmanuel Vadot wrote: >>> >>> Hi Heinrich, >>> >>> On Mon, 4 Dec 2017 20:18:22 +0100 >>> Heinrich Schuchardt

Re: [U-Boot] [PATCH 1/2] distro_bootcmd: Add command to run FreeBSD

2017-12-12 Thread Emmanuel Vadot
On Tue, 12 Dec 2017 20:29:42 +0100 Heinrich Schuchardt wrote: > On 12/12/2017 10:03 AM, Emmanuel Vadot wrote: > > > > Hi Heinrich, > > > > On Mon, 4 Dec 2017 20:18:22 +0100 > > Heinrich Schuchardt wrote: > > > >> On 12/04/2017 08:06 PM, Emmanuel Vadot

[U-Boot] [RFC] Design of UEFI drivers

2017-12-12 Thread Heinrich Schuchardt
2a92080d8c4 [PATCH] efi_loader: add file/filesys support implemented the EFI_SIMPLE_FILE_SYSTEM_PROTOCOL. Unfortunately it assumes that the available media are constant. iPXE offers the possibility to attach iSCSI targets. On the handle for the attached target the EFI_BLOCK_IO_PROTOCOL and the

[U-Boot] [PATCH] armv8: ls1046aqds: Adjust IFC timing for NOR flash

2017-12-12 Thread York Sun
Increase setup, assertion and hold time related to chip-select signal. Additional delay is needed for the signal to propogate through FPGA. This adjustment slightly increase the read and write cycle but has no impact on burst read or write. Signed-off-by: York Sun --- This

Re: [U-Boot] [PATCH 1/2] distro_bootcmd: Add command to run FreeBSD

2017-12-12 Thread Heinrich Schuchardt
On 12/12/2017 10:03 AM, Emmanuel Vadot wrote: > > Hi Heinrich, > > On Mon, 4 Dec 2017 20:18:22 +0100 > Heinrich Schuchardt wrote: > >> On 12/04/2017 08:06 PM, Emmanuel Vadot wrote: >>> Add commands that scans for the FreeBSD loader and run it if found. >>> FreeBSD has two

[U-Boot] [PATCH] am335x_evm: Fix DFU for eMMC

2017-12-12 Thread Sam Protsenko
Use dfu_alt_info_emmc variable from include/environment/ti/dfu.h file. It was probably overlooked when extracting DFU variables to mentioned file. This patch fixes DFU on BeagleBone Black, so that we can use commands like ones below to upgrade various images on eMMC: => setenv dfu_alt_info

Re: [U-Boot] [PATCH 2/3][v3] arm: Add support of updating dts before fix-up

2017-12-12 Thread York Sun
On 11/23/2017 03:22 AM, Prabhakar Kushwaha wrote: > "ethernet" node fix-up for device tree happens before Linux boot. > > There can be requirement of updating "ethernet" node even before > fix-up. So, add support of updating "ethernet" node. > > Signed-off-by: Prabhakar Kushwaha

Re: [U-Boot] [PATCH 3/3] [v3] boards: ls1046ardb: disable unavailable "ethernet" node in dts

2017-12-12 Thread York Sun
On 11/23/2017 03:22 AM, Prabhakar Kushwaha wrote: > Linux device tree contains "ethernet" node for all possible > interface supported by SoC i.e. LS1046A. > > It is not necessary for a SerDes protocol to support all possible > interface. So disable unavailable "ethernet" node in device tree. > >

Re: [U-Boot] [PATCH 1/3][v3] common: Fix-up MAC addr in dts by fetching env variable serially

2017-12-12 Thread York Sun
On 11/23/2017 03:22 AM, Prabhakar Kushwaha wrote: > The MAC addresses get fixed in the device tree for "ethernet" nodes > is by using trailing number behind "ethernet" found in "/aliases". > It may not be necessary for the "ethernet" nodes to be sequential. > There can be gaps in between or any

[U-Boot] [PATCH v2] x86: tangier: Use official ACPI HID for FLIS IP

2017-12-12 Thread Andy Shevchenko
FLIS IP since now gets its own ACPI ID. Drop PRP0001 workaround in favour of official ACPI HID. Corresponding kernel commit dabd4bc6de2b pinctrl: intel: merrifield: Introduce ACPI device table in the pin control subsystem tree [1] targeting v4.16. [1]:

Re: [U-Boot] [PATCH] serial: sh: Add support for R7S72100 (RZ/A1)

2017-12-12 Thread Chris Brandt
On Monday, November 27, 2017, Chris Brandt wrote: > Add support for RZ/A1 series SoCs. > > Signed-off-by: Chris Brandt > --- > drivers/serial/serial_sh.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/serial/serial_sh.h

Re: [U-Boot] [RFC 0/5] sf: Update spi-nor framework

2017-12-12 Thread Marek Vasut
On 12/12/2017 05:12 PM, Jagan Teki wrote: > On Tue, Dec 12, 2017 at 9:31 PM, Marek Vasut wrote: >> On 12/12/2017 08:37 AM, Jagan Teki wrote: >>> On Tue, Dec 12, 2017 at 11:44 AM, Prabhakar Kushwaha >>> wrote: Hi Marek, >

Re: [U-Boot] [RFC 0/5] sf: Update spi-nor framework

2017-12-12 Thread Jagan Teki
On Tue, Dec 12, 2017 at 9:31 PM, Marek Vasut wrote: > On 12/12/2017 08:37 AM, Jagan Teki wrote: >> On Tue, Dec 12, 2017 at 11:44 AM, Prabhakar Kushwaha >> wrote: >>> Hi Marek, >>> -Original Message- From: Marek Vasut

Re: [U-Boot] [RFC 0/5] sf: Update spi-nor framework

2017-12-12 Thread Marek Vasut
On 12/12/2017 08:37 AM, Jagan Teki wrote: > On Tue, Dec 12, 2017 at 11:44 AM, Prabhakar Kushwaha > wrote: >> Hi Marek, >> >>> -Original Message- >>> From: Marek Vasut [mailto:marek.va...@gmail.com] >>> Sent: Monday, December 11, 2017 3:04 PM >>> To: Prabhakar

Re: [U-Boot] Please pull ARC changes

2017-12-12 Thread Tom Rini
On Tue, Dec 12, 2017 at 03:52:43PM +, Alexey Brodkin wrote: > Hi Tom, > > This is just a one-line improvement for HSDK GPIO's Kconfig that was not > included in > the previous pull-request as I was waiting for Simon's reviewed-by tag. > > > The following changes since commit

Re: [U-Boot] [PATCH] musb: sunxi: Use base address from device tree

2017-12-12 Thread Marek Vasut
On 12/12/2017 08:24 AM, Chen-Yu Tsai wrote: > Now that the musb sunxi glue driver is completely device model / device > tree driven, we should use the base address from the device tree, > instead of hard-coding it in the source code. > > Fixes: 3a61b080acee ("musb: sunxi: switch to the device

Re: [U-Boot] [PATCH v3 0/2] Generic firmware loader

2017-12-12 Thread Marek Vasut
On 12/12/2017 12:56 PM, tien.fong.c...@intel.com wrote: > From: Tien Fong Chee > > This patchset contains generic firmware loader which is very close to Linux > firmware loader but for U-Boot framework. Generic firmware loader can be used > load whatever into target

[U-Boot] Please pull ARC changes

2017-12-12 Thread Alexey Brodkin
Hi Tom, This is just a one-line improvement for HSDK GPIO's Kconfig that was not included in the previous pull-request as I was waiting for Simon's reviewed-by tag. The following changes since commit 87f3dee22b174aa32db8213a3187aa809859c9e2:   Merge git://git.denx.de/u-boot-uniphier

[U-Boot] [PATCH u-boot] net: phy: meson-gxl: detect LPA corruption

2017-12-12 Thread Neil Armstrong
From: Jerome Brunet This patch is ported from the Linux patch posted at [1] and applied to net tree as commit f1e2400a80ff. The purpose of this change is to fix the incorrect detection of the link partner (LP) advertised capabilities which sometimes happens with this PHY

Re: [U-Boot] [PATCH v6 2/2] DW SPI: Get clock value from Device Tree

2017-12-12 Thread Eugeniy Paltsev
On Mon, 2017-12-11 at 17:41 +0100, Marek Vasut wrote: > On 12/11/2017 05:37 PM, Eugeniy Paltsev wrote: > > On Mon, 2017-12-11 at 17:21 +0100, Marek Vasut wrote: > > > On 12/11/2017 05:18 PM, Eugeniy Paltsev wrote: > > > > Add option to set spi controller clock frequency via device tree > > > >

Re: [U-Boot] [PATCH v3 2/2] common: Generic firmware loader for file system

2017-12-12 Thread Lothar Waßmann
Hi, On Tue, 12 Dec 2017 19:56:17 +0800 tien.fong.c...@intel.com wrote: > From: Tien Fong Chee > > This is file system generic loader which can be used to load > the file image from the storage into target such as memory. > The consumer driver would then use this loader

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

2017-12-12 Thread Tom Rini
On Tue, Dec 12, 2017 at 12:15:15PM +0100, Felix Brack wrote: > Hi Simon, > > Are you sure this one made it to Tom? You didn't CC him I think. > > regards Felix > > On 08.12.2017 23:44, Simon Glass wrote: > > Hi Tom, > > > > This is the binman symbol feature plus a few other things that I found

Re: [U-Boot] [PATCH v2 3/5] Introduce CONFIG_ENABLE_BUG_CHECKS to disable BUG{_ON} by default

2017-12-12 Thread Tom Rini
On Tue, Dec 12, 2017 at 10:06:19AM +0100, Lothar Waßmann wrote: > Hi, > > On Mon, 4 Dec 2017 12:37:02 +0900 Masahiro Yamada wrote: > > BUG() and BUG_ON() are generally used to test a condition that should > > never happen. If it does, it is a bug. > > > > Linux always enables them, but doing

[U-Boot] [PATCH u-boot] ARM: arch-meson: fix writel arguments order

2017-12-12 Thread Neil Armstrong
From: Hans Verkuil Using writel causes a "Synchronous Abort". Invert the arguments. Signed-off-by: Hans Verkuil Signed-off-by: Neil Armstrong --- arch/arm/mach-meson/eth.c | 4 ++-- 1 file changed, 2 insertions(+), 2

Re: [U-Boot] [PATCH V11 1/4] usb: rockchip: add the rockusb gadget

2017-12-12 Thread Lukasz Majewski
Hi Eddie, > On 12/01/2017 08:20 AM, Eddie Cai wrote: > > this patch implement rockusb protocol on the device side. this is > > based on USB download gadget infrastructure. the rockusb function > > implements the rd, wl, rid commands. it can work with rkdeveloptool > > > > Signed-off-by: Eddie

[U-Boot] [PATCH v3 2/2] common: Generic firmware loader for file system

2017-12-12 Thread tien . fong . chee
From: Tien Fong Chee This is file system generic loader which can be used to load the file image from the storage into target such as memory. The consumer driver would then use this loader to program whatever, ie. the FPGA device. Signed-off-by: Tien Fong Chee

  1   2   >