Re: [U-Boot] [PATCH] spl: dfu: compilation fixes for spl-dfu

2017-04-19 Thread B, Ravi
Hi Lukasz >> diff --git a/common/cli.c b/common/cli.c index a433ef2..5e0869b 100644 >> --- a/common/cli.c >> +++ b/common/cli.c >> @@ -28,7 +28,7 @@ DECLARE_GLOBAL_DATA_PTR; >> */ >> int run_command(const char *cmd, int flag) { -#ifndef >> CONFIG_HUSH_PARSER >> +#if defined(CONFIG_SPL_DFU_SUP

[U-Boot] [PATCH v2] rockchip: rk3399: use actual dram size

2017-04-19 Thread Kever Yang
Since our sdram driver is ready, we can use the actual size instead of hard code. Signed-off-by: Kever Yang Acked-by: Simon Glass --- Changes in v2: - fix compile warning of print type not match arch/arm/mach-rockchip/rk3399/sdram_rk3399.c | 8 board/rockchip/evb_rk3399/evb-rk3399.c

Re: [U-Boot] [PATCH v5 14/16] arm: socfpga: Add config and defconfig for Arria 10

2017-04-19 Thread Marek Vasut
On 04/19/2017 05:32 AM, Ley Foon Tan wrote: > On Tue, Apr 18, 2017 at 6:58 PM, Marek Vasut wrote: >> On 04/18/2017 05:12 AM, Ley Foon Tan wrote: >>> On Mon, Apr 17, 2017 at 6:39 PM, Marek Vasut wrote: On 04/17/2017 05:05 AM, Ley Foon Tan wrote: > On Fri, Apr 14, 2017 at 6:25 PM, Marek Va

Re: [U-Boot] [PATCH 0/6] Android A/B Bootloader support

2017-04-19 Thread Kever Yang
Hi Alex, It's great for this patch set which able to support full android boot flow, there was no support for parse misc and enter recovery in U-Boot mainline. Do you have a public tree or more detail step by step document, I want to test this patch set on my board. Thanks, - Kever O

Re: [U-Boot] [ANN] U-Boot v2017.05-rc2 released

2017-04-19 Thread Marek Vasut
On 04/19/2017 07:29 AM, Heiko Schocher wrote: > Hello Tom, > > added Lukasz, Marek and Felipe, > > Am 18.04.2017 um 00:22 schrieb Tom Rini: >> Hey all, >> >> It's release day and v2017.05-rc2 is out. I think my patchwork queue is >> looking good currently. I have some outstanding removal patche

Re: [U-Boot] [PATCH 5/5] arm64: mvebu: a8k: Add NAND configuration parameters

2017-04-19 Thread Stefan Roese
Hi Kosta, On 28.03.2017 17:16, kos...@marvell.com wrote: > From: Konstantin Porotchkin > > Add NAND configuration parameters to A8K shared config file. > Add defconfig for db-88f7040 board with boot from NAND setup. > > Signed-off-by: Konstantin Porotchkin > Cc: Stefan Roese > Cc: Igal Liberm

Re: [U-Boot] [PATCH v2] rockchip: reserve memory for rk3399 ATF data

2017-04-19 Thread Dr. Philipp Tomsich
Reviewed-by: Philipp Tomsich mailto:philipp.toms...@theobroma-systems.com>> > On 19 Apr 2017, at 08:42, Kever Yang wrote: > > There are 3 region used by rk3399 ATF: > - bl31 code, locate at 0x1; > - cortex-m0 code and data, locate at 0xff8c; > - bl31 data, locate at 0xff8c1000 ~ 0xff8c40

Re: [U-Boot] [PATCH] at91_udc.c: Fix unused variable warning

2017-04-19 Thread Marek Vasut
On 04/19/2017 04:23 AM, Tom Rini wrote: > With gcc-6 and later we see warnings that at91sam9263_udc_caps and > at91rm9200_udc_caps are unused. > > Fixes: 620197670a69 ("usb: gadget: at91_udc: add at91_udc into U-Boot") > Cc: Lukasz Majewski > Cc: Marek Vasut > Signed-off-by: Tom Rini I'd like

Re: [U-Boot] [PATCH v5 14/16] arm: socfpga: Add config and defconfig for Arria 10

2017-04-19 Thread Ley Foon Tan
On Wed, Apr 19, 2017 at 4:38 PM, Marek Vasut wrote: > On 04/19/2017 05:32 AM, Ley Foon Tan wrote: >> On Tue, Apr 18, 2017 at 6:58 PM, Marek Vasut wrote: >>> On 04/18/2017 05:12 AM, Ley Foon Tan wrote: On Mon, Apr 17, 2017 at 6:39 PM, Marek Vasut wrote: > On 04/17/2017 05:05 AM, Ley Foon

Re: [U-Boot] [EXT] Re: [PATCH 5/5] arm64: mvebu: a8k: Add NAND configuration parameters

2017-04-19 Thread Kostya Porotchkin
Hi, Stefan, > -Original Message- > From: Stefan Roese [mailto:s...@denx.de] > Sent: Wednesday, April 19, 2017 11:45 > To: Kostya Porotchkin; u-boot@lists.denx.de > Cc: Igal Liberman; Nadav Haklai > Subject: [EXT] Re: [PATCH 5/5] arm64: mvebu: a8k: Add NAND configuration > parameters > > E

Re: [U-Boot] [PATCH v5 14/16] arm: socfpga: Add config and defconfig for Arria 10

2017-04-19 Thread Marek Vasut
On 04/19/2017 10:49 AM, Ley Foon Tan wrote: > On Wed, Apr 19, 2017 at 4:38 PM, Marek Vasut wrote: >> On 04/19/2017 05:32 AM, Ley Foon Tan wrote: >>> On Tue, Apr 18, 2017 at 6:58 PM, Marek Vasut wrote: On 04/18/2017 05:12 AM, Ley Foon Tan wrote: > On Mon, Apr 17, 2017 at 6:39 PM, Marek Va

Re: [U-Boot] [EXT] Re: [PATCH 5/5] arm64: mvebu: a8k: Add NAND configuration parameters

2017-04-19 Thread Stefan Roese
Hi Kosta, On 19.04.2017 10:50, Kostya Porotchkin wrote: Hi, Stefan, -Original Message- From: Stefan Roese [mailto:s...@denx.de] Sent: Wednesday, April 19, 2017 11:45 To: Kostya Porotchkin; u-boot@lists.denx.de Cc: Igal Liberman; Nadav Haklai Subject: [EXT] Re: [PATCH 5/5] arm64: mvebu:

Re: [U-Boot] [PATCH v5 14/16] arm: socfpga: Add config and defconfig for Arria 10

2017-04-19 Thread Ley Foon Tan
On Wed, Apr 19, 2017 at 4:53 PM, Marek Vasut wrote: > On 04/19/2017 10:49 AM, Ley Foon Tan wrote: >> On Wed, Apr 19, 2017 at 4:38 PM, Marek Vasut wrote: >>> On 04/19/2017 05:32 AM, Ley Foon Tan wrote: On Tue, Apr 18, 2017 at 6:58 PM, Marek Vasut wrote: > On 04/18/2017 05:12 AM, Ley Foon

[U-Boot] [PATCH] imx-common: timer: clean up

2017-04-19 Thread Peng Fan
Drop the unneeded code. lib/time.c use timebase_l/h. Signed-off-by: Peng Fan Cc: Stefano Babic --- arch/arm/imx-common/timer.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/arm/imx-common/timer.c b/arch/arm/imx-common/timer.c index ee6eff2..9b01114 100644 --- a/arch/arm/imx-common/

Re: [U-Boot] [PATCH] imx-common: timer: clean up

2017-04-19 Thread Stefano Babic
On 19/04/2017 11:05, Peng Fan wrote: > Drop the unneeded code. lib/time.c use timebase_l/h. > > Signed-off-by: Peng Fan > Cc: Stefano Babic > --- > arch/arm/imx-common/timer.c | 3 --- > 1 file changed, 3 deletions(-) > > diff --git a/arch/arm/imx-common/timer.c b/arch/arm/imx-common/timer.c >

Re: [U-Boot] [PATCH v3 02/15] sysreset-uclass: ensure udevice is probed before requesting reset

2017-04-19 Thread Álvaro Fernández Rojas
This is what I think it's going on: sysreset_walk(): - calls uclass_first_device(): - Calls uclass_find_first_device(): - device is found. - ret is set to

Re: [U-Boot] [PATCH 1/4] dm: device_remove: Don't return in device_chld_remove() upon error

2017-04-19 Thread Stefan Roese
Hi Simon, sorry for the late replay - just back from vacation On 09.04.2017 21:28, Simon Glass wrote: Hi Stefan, On 6 April 2017 at 07:29, Stefan Roese wrote: On my x86 platform I've noticed, that calling dm_uninit() or the new function dm_remove_devices_flags() does not remove the desir

[U-Boot] [PATCH v6 00/16] Add Intel Arria 10 SoC support

2017-04-19 Thread Ley Foon Tan
This is the 6th version of patchset to adds support for Intel Arria 10 SoC. This is initial patchset enables the basic support for Arria 10 and other features will come after this. There is only one minor change in patch #5. This series is rebased on top of http://git.denx.de/?p=u-boot/u-boot-so

[U-Boot] [PATCH v6 02/16] arm: socfpga: Restructure reset manager driver

2017-04-19 Thread Ley Foon Tan
Restructure reset manager driver in the preparation to support A10. Move the Gen5 specific code to gen5 files. Change socfpga_per_reset() return type to int. Signed-off-by: Ley Foon Tan --- arch/arm/mach-socfpga/Makefile | 2 +- arch/arm/mach-socfpga/include/mach/reset_mana

[U-Boot] [PATCH v6 01/16] arm: socfpga: Restructure clock manager driver

2017-04-19 Thread Ley Foon Tan
Restructure clock manager driver in the preparation to support A10. Move the Gen5 specific code to _gen5 files. - Change all uint32_t to u32 and change to use macro BIT(n) for bit shift. - Check return value from wait_for_bit(). So change return type to int for cm_write_with_phase() and cm_basic

[U-Boot] [PATCH v6 03/16] arm: socfpga: Restructure system manager

2017-04-19 Thread Ley Foon Tan
Restructure system manager in the preparation to support A10. No functional change. Change uint32_t to u32. Signed-off-by: Ley Foon Tan --- arch/arm/mach-socfpga/Makefile | 5 +- .../arm/mach-socfpga/include/mach/system_manager.h | 128 ++--- .../{system_ma

[U-Boot] [PATCH v6 04/16] arm: socfpga: Restructure misc driver

2017-04-19 Thread Ley Foon Tan
Restructure misc driver in the preparation to support A10. Move the Gen5 specific code to gen5 file. Change all uint32_t_to u32 and check return value from socfpga_bridges_reset. Signed-off-by: Ley Foon Tan --- arch/arm/mach-socfpga/Makefile| 2 +- arch/arm/mach-socfpga/includ

[U-Boot] [PATCH v6 08/16] arm: socfpga: Add system manager for Arria 10

2017-04-19 Thread Ley Foon Tan
Add system manager register struct and macros for Arria 10. Signed-off-by: Tien Fong Chee Signed-off-by: Ley Foon Tan --- .../arm/mach-socfpga/include/mach/system_manager.h | 74 +--- .../include/mach/system_manager_arria10.h | 81 ++ 2 files changed

[U-Boot] [PATCH v6 06/16] arm: socfpga: Add reset driver support for Arria 10

2017-04-19 Thread Ley Foon Tan
Add reset driver support for Arria 10. Signed-off-by: Tien Fong Chee Signed-off-by: Ley Foon Tan --- arch/arm/mach-socfpga/Makefile | 2 + arch/arm/mach-socfpga/include/mach/reset_manager.h | 2 + .../include/mach/reset_manager_arria10.h | 146 arch/ar

[U-Boot] [PATCH v6 05/16] arm: socfpga: Add A10 macros

2017-04-19 Thread Ley Foon Tan
Add i2c, timer and other A10 macros. Signed-off-by: Ley Foon Tan --- arch/arm/mach-socfpga/include/mach/base_addr_a10.h | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-socfpga/include/mach/base_addr_a10.h b/arch/arm/mach-socfpga/include/mach/base_addr_a1

[U-Boot] [PATCH v6 11/16] arm: socfpga: Add misc support for Arria 10

2017-04-19 Thread Ley Foon Tan
Add misc support for Arria 10. Signed-off-by: Tien Fong Chee Signed-off-by: Ley Foon Tan --- arch/arm/mach-socfpga/Makefile| 1 + arch/arm/mach-socfpga/include/mach/misc.h | 6 + arch/arm/mach-socfpga/misc_arria10.c | 259 ++ 3 files changed, 266

[U-Boot] [PATCH v6 07/16] arm: socfpga: Add clock driver for Arria 10

2017-04-19 Thread Ley Foon Tan
Add clock driver support for Arria 10. Signed-off-by: Tien Fong Chee Signed-off-by: Ley Foon Tan --- arch/arm/mach-socfpga/Makefile |3 +- arch/arm/mach-socfpga/clock_manager.c | 10 + arch/arm/mach-socfpga/clock_manager_arria10.c | 1096 +

[U-Boot] [PATCH v6 10/16] arm: socfpga: Add pinmux for Arria 10

2017-04-19 Thread Ley Foon Tan
Add pinmux support for Arria 10. Signed-off-by: Tien Fong Chee Signed-off-by: Ley Foon Tan --- arch/arm/mach-socfpga/Makefile | 1 + arch/arm/mach-socfpga/include/mach/pinmux.h | 17 + arch/arm/mach-socfpga/pinmux_arria10.c | 96 + 3 files chan

[U-Boot] [PATCH v6 12/16] arm: dts: Add dts and dtsi for Arria 10

2017-04-19 Thread Ley Foon Tan
Device tree files for Arria 10 Signed-off-by: Tien Fong Chee Signed-off-by: Ley Foon Tan --- arch/arm/dts/Makefile | 1 + arch/arm/dts/socfpga_arria10.dtsi | 869 + arch/arm/dts/socfpga_arria10_socdk_sdmmc.dts | 38 + ..

[U-Boot] [PATCH v6 09/16] arm: socfpga: Add sdram header file for Arria 10

2017-04-19 Thread Ley Foon Tan
Add sdram header file for Arria 10. Signed-off-by: Tien Fong Chee Signed-off-by: Ley Foon Tan --- arch/arm/mach-socfpga/include/mach/sdram_arria10.h | 380 + 1 file changed, 380 insertions(+) create mode 100644 arch/arm/mach-socfpga/include/mach/sdram_arria10.h diff --git

[U-Boot] [PATCH v6 13/16] arm: socfpga: Add SPL support for Arria 10

2017-04-19 Thread Ley Foon Tan
Add SPL support for Arria 10. Signed-off-by: Tien Fong Chee Signed-off-by: Ley Foon Tan --- arch/arm/mach-socfpga/spl.c | 72 + 1 file changed, 67 insertions(+), 5 deletions(-) diff --git a/arch/arm/mach-socfpga/spl.c b/arch/arm/mach-socfpga/spl.c in

[U-Boot] [PATCH v6 14/16] arm: socfpga: Add config and defconfig for Arria 10

2017-04-19 Thread Ley Foon Tan
Add config and defconfig for the Arria10 and update socfpga_common.h. Signed-off-by: Tien Fong Chee Signed-off-by: Ley Foon Tan --- configs/socfpga_arria10_defconfig | 29 +++ include/configs/socfpga_arria10_socdk.h | 66 + include/configs/socfp

[U-Boot] [PATCH v3 2/3] doc: dtbinding: add pwm binding file

2017-04-19 Thread Kever Yang
This is a copy from kernel. Signed-off-by: Kever Yang --- Changes in v3: None Changes in v2: None doc/device-tree-bindings/pwm/pwm.txt | 69 1 file changed, 69 insertions(+) create mode 100644 doc/device-tree-bindings/pwm/pwm.txt diff --git a/doc/device-t

[U-Boot] [PATCH v3 3/3] dm: sanbox: pwm: add test for pwm_set_invert()

2017-04-19 Thread Kever Yang
Add test case for new interface set_invert(). Signed-off-by: Kever Yang --- Changes in v3: None Changes in v2: None drivers/pwm/sandbox_pwm.c | 16 test/dm/pwm.c | 1 + 2 files changed, 17 insertions(+) diff --git a/drivers/pwm/sandbox_pwm.c b/drivers/pwm/sandbox

[U-Boot] [PATCH v6 15/16] arm: socfpga: Add board files for the Arria10

2017-04-19 Thread Ley Foon Tan
Add support for the Arria10 SoCDK. Signed-off-by: Tien Fong Chee Signed-off-by: Ley Foon Tan --- board/altera/arria10-socdk/Kconfig | 18 ++ board/altera/arria10-socdk/Makefile | 7 +++ board/altera/arria10-socdk/socfpga.c | 7 +++ 3 files changed, 32 insertions(+)

[U-Boot] [PATCH v6 16/16] arm: socfpga: Enable build for Arria 10

2017-04-19 Thread Ley Foon Tan
Update Kconfig and Makefile to enable Arria 10. Clean up Makefile and sorting *.o alphanumerically. Signed-off-by: Tien Fong Chee Signed-off-by: Ley Foon Tan --- arch/arm/mach-socfpga/Kconfig | 10 + arch/arm/mach-socfpga/Makefile | 46 ++ 2 file

Re: [U-Boot] [PATCH v5 14/16] arm: socfpga: Add config and defconfig for Arria 10

2017-04-19 Thread Marek Vasut
On 04/19/2017 10:58 AM, Ley Foon Tan wrote: > On Wed, Apr 19, 2017 at 4:53 PM, Marek Vasut wrote: >> On 04/19/2017 10:49 AM, Ley Foon Tan wrote: >>> On Wed, Apr 19, 2017 at 4:38 PM, Marek Vasut wrote: On 04/19/2017 05:32 AM, Ley Foon Tan wrote: > On Tue, Apr 18, 2017 at 6:58 PM, Marek Va

[U-Boot] [PATCH v3 1/3] power: regulator: pwm: support pwm polarity setting

2017-04-19 Thread Kever Yang
The latest kernel PWM drivers enable the polarity settings. When system run from U-Boot to kerenl, if there are differences in polarity set or duty cycle, the PMW will re-init: close -> set polarity and duty cycle -> enable the PWM. The power supply controled by pwm regulator may have voltage sha

Re: [U-Boot] [PATCH v6 00/16] Add Intel Arria 10 SoC support

2017-04-19 Thread Marek Vasut
On 04/19/2017 11:29 AM, Ley Foon Tan wrote: > This is the 6th version of patchset to adds support for Intel Arria 10 SoC. > This is initial patchset enables the basic support for Arria 10 and other > features will come after this. > > There is only one minor change in patch #5. > > This series is

Re: [U-Boot] [ANN] U-Boot v2017.05-rc2 released

2017-04-19 Thread Heiko Schocher
Hello Marek, Am 19.04.2017 um 10:43 schrieb Marek Vasut: On 04/19/2017 07:29 AM, Heiko Schocher wrote: Hello Tom, added Lukasz, Marek and Felipe, Am 18.04.2017 um 00:22 schrieb Tom Rini: Hey all, It's release day and v2017.05-rc2 is out. I think my patchwork queue is looking good currently

Re: [U-Boot] [PATCH 2/4] dm: core: Add DM_FLAG_PRE_OS_FINALIZE flag

2017-04-19 Thread Stefan Roese
Hi Simon, On 09.04.2017 21:28, Simon Glass wrote: Hi Stefan, On 6 April 2017 at 07:29, Stefan Roese wrote: This new flag can be added to DM device drivers, which need to do some final configuration before U-Boot exits and the OS (e.g. Linux) is started. The remove functions of those drivers w

Re: [U-Boot] [ANN] U-Boot v2017.05-rc2 released

2017-04-19 Thread Marek Vasut
On 04/19/2017 11:46 AM, Heiko Schocher wrote: > Hello Marek, > > Am 19.04.2017 um 10:43 schrieb Marek Vasut: >> On 04/19/2017 07:29 AM, Heiko Schocher wrote: >>> Hello Tom, >>> >>> added Lukasz, Marek and Felipe, >>> >>> Am 18.04.2017 um 00:22 schrieb Tom Rini: Hey all, It's release

Re: [U-Boot] [PATCH] ehci-ppc4xx: Prepare for usage of readl()/writel() accessors

2017-04-19 Thread Stefan Roese
On 17.04.2017 18:13, Alexey Brodkin wrote: We used to have opencoded ehci_readl()/writel() which required no external functions to be called. Now with attempt to switch to generic readl()/writel() accessors we see a missing declaration of those accessors in ehci-ppc4xx. Something like that happe

Re: [U-Boot] [PATCH 1/2] rockchip: dts: rk3399: sync with kernel dts

2017-04-19 Thread Kever Yang
Hi Simon, Some change of the patch is on list and I will update the firefly dts for there are some dts properties order change. I will send out version 2. Thanks, - Kever On 04/17/2017 03:31 AM, Simon Glass wrote: On 12 April 2017 at 03:49, Kever Yang wrote: The kernel dts has update a

[U-Boot] [PATCH v2 1/2] rockchip: dts: rk3399: sync with kernel dts

2017-04-19 Thread Kever Yang
The kernel dts has update a lot since the first time we commit rk3399.dtsi, sync with kernel for further development. Signed-off-by: Kever Yang Acked-by: Simon Glass --- Changes in v2: None arch/arm/dts/rk3399.dtsi | 1274 +- include/dt-bindings/pin

[U-Boot] [PATCH v2 2/2] rockchip: dts: add rk3399-firefly dts

2017-04-19 Thread Kever Yang
Firefly-rk3399 is a bord from T-Firefly, you can find detail about it here: http://en.t-firefly.com/en/firenow/Firefly_RK3399/ This patch add basic node for the board and make it able to bring up. Peripheral/interfaces on board: - usb hub which connect to ehci controller; - UART2 debug - eMMC - P

[U-Boot] [PATCH] fix: mvebu_ comphy: Update COMPHY sequence number

2017-04-19 Thread kostap
From: Konstantin Porotchkin Use local static counter for maintaining the COMPHY chip-ID upon its initialization. The dev->seq originally used as the COMPHY chip-ID depends on the device tree scan order and produces wrong results that breaks the deficated PHYs init flow, which in turn breaks the U

Re: [U-Boot] [ANN] U-Boot v2017.05-rc2 released

2017-04-19 Thread Heiko Schocher
Hello Marek, Am 19.04.2017 um 11:51 schrieb Marek Vasut: On 04/19/2017 11:46 AM, Heiko Schocher wrote: Hello Marek, Am 19.04.2017 um 10:43 schrieb Marek Vasut: On 04/19/2017 07:29 AM, Heiko Schocher wrote: Hello Tom, added Lukasz, Marek and Felipe, Am 18.04.2017 um 00:22 schrieb Tom Rini:

Re: [U-Boot] [ANN] U-Boot v2017.05-rc2 released

2017-04-19 Thread Lukasz Majewski
Hi Heiko, > Hello Tom, > > added Lukasz, Marek and Felipe, > > Am 18.04.2017 um 00:22 schrieb Tom Rini: > > Hey all, > > > > It's release day and v2017.05-rc2 is out. I think my patchwork > > queue is looking good currently. I have some outstanding removal > > patches to take from Masahiro rel

Re: [U-Boot] [PATCH] spl: dfu: compilation fixes for spl-dfu

2017-04-19 Thread Lukasz Majewski
Hi Ravi, Please add u-boot mailing list to CC, when sending patches. > This patch fixes the compilation error > common/cli_hush.c:3349: undefined reference to 'realloc_simple' > > The dfu does not depend on HUSH_PARSER. > The dfu, fastboot uses run_command(), it is > part of cli.c and use cli_si

Re: [U-Boot] [PATCH] spl: dfu: compilation fixes for spl-dfu

2017-04-19 Thread B, Ravi
Hi Lukasz >> >> diff --git a/common/Makefile b/common/Makefile index bcd2486..dc5cb1d >> 100644 >> --- a/common/Makefile >> +++ b/common/Makefile >> @@ -90,7 +90,6 @@ endif # !CONFIG_SPL_BUILD >> >> ifdef CONFIG_SPL_BUILD >> obj-$(CONFIG_SPL_DFU_SUPPORT) += dfu.o >> -obj-$(CONFIG_SPL_DFU_SUP

Re: [U-Boot] [PATCH v1] cpu: Add Intel Tangier support

2017-04-19 Thread Andy Shevchenko
On Tue, 2017-04-18 at 18:12 -0600, Simon Glass wrote: > On 18 April 2017 at 08:21, Andy Shevchenko > wrote: > > From: Felipe Balbi > > > > Add Intel Tangier SoC support. > > > > Intel Tangier SoC is a core part of Intel Merrifield platform. For > > example, Intel Edison board is based on such p

Re: [U-Boot] [ANN] U-Boot v2017.05-rc2 released

2017-04-19 Thread Marek Vasut
On 04/19/2017 12:39 PM, Heiko Schocher wrote: > Hello Marek, > > Am 19.04.2017 um 11:51 schrieb Marek Vasut: >> On 04/19/2017 11:46 AM, Heiko Schocher wrote: >>> Hello Marek, >>> >>> Am 19.04.2017 um 10:43 schrieb Marek Vasut: On 04/19/2017 07:29 AM, Heiko Schocher wrote: > Hello Tom, >>>

[U-Boot] [PATCH v2 1/1] core/uclass: iterate over all devices of a uclass

2017-04-19 Thread Heinrich Schuchardt
When iterating over the devices of an uclass the iteration stops at the first device that cannot be probed. When calling booefi this will result in no block device being passed to the EFI executable if the first device cannot be probed. The problem was reported by Andreas Färber in https://lists.d

Re: [U-Boot] [PATCH v1] mmc: sdhci: SDHCI controllers also need power

2017-04-19 Thread Andy Shevchenko
On Tue, 2017-04-18 at 18:12 -0600, Simon Glass wrote: > Hi Andy, > > On 18 April 2017 at 08:45, Andy Shevchenko > wrote: > > On Tue, 2017-04-18 at 08:33 -0600, Simon Glass wrote: > > > Hi Andy, > > > > > > On 18 April 2017 at 08:29, Andy Shevchenko > > > wrote: > > > > On Fri, 2017-04-07 at 19:

Re: [U-Boot] [PATCH] ehci-ppc4xx: Prepare for usage of readl()/writel() accessors

2017-04-19 Thread Marek Vasut
On 04/19/2017 12:05 PM, Stefan Roese wrote: > On 17.04.2017 18:13, Alexey Brodkin wrote: >> We used to have opencoded ehci_readl()/writel() which required no >> external functions to be called. >> >> Now with attempt to switch to generic readl()/writel() accessors >> we see a missing declaration of

Re: [U-Boot] [PATCH v1 11/15] aspeed: Add I2C Driver

2017-04-19 Thread Heiko Schocher
Hello Maxim, Am 17.04.2017 um 21:00 schrieb Maxim Sloyko: Add Device Model based I2C driver for ast2500/ast2400 SoCs. The driver is very limited, it only supports master mode and synchronous byte-by-byte reads/writes, no DMA or Pool Buffers. Signed-off-by: Maxim Sloyko --- Changes in v1: - S

Re: [U-Boot] [ANN] U-Boot v2017.05-rc2 released

2017-04-19 Thread Lukasz Majewski
Dear All, > On 04/19/2017 12:39 PM, Heiko Schocher wrote: > > Hello Marek, > > > > Am 19.04.2017 um 11:51 schrieb Marek Vasut: > >> On 04/19/2017 11:46 AM, Heiko Schocher wrote: > >>> Hello Marek, > >>> > >>> Am 19.04.2017 um 10:43 schrieb Marek Vasut: > On 04/19/2017 07:29 AM, Heiko Schoche

[U-Boot] [PATCH v2 1/3] fsl-ppa: Kconfig: Support to load PPA hdr from eMMC/SD and NAND Flash

2017-04-19 Thread Sumit Garg
Add support to load PPA hdr from eMMC/SD and NAND Flash in Kconfig Signed-off-by: Sumit Garg Signed-off-by: Udit Agarwal Tested-by: Vinitha Pillai --- Changes in v2: Changed order of patch 1 & 2. Also moved assignment of ppa_esbc_hdr to CONFIG_SYS_LS_PPA_ESBC_ADDR in XIP space as it's not requ

[U-Boot] [PATCH v2 3/3] ls104xardb: Secure Boot: enable PPA support for eMMC/SD and NAND boot

2017-04-19 Thread Sumit Garg
Signed-off-by: Sumit Garg Signed-off-by: Udit Agarwal Tested-by: Vinitha Pillai --- Changes in v2: Changed order of patch 1 & 2. Also moved assignment of ppa_esbc_hdr to CONFIG_SYS_LS_PPA_ESBC_ADDR in XIP space as it's not required in case of SD/NAND. configs/ls1043ardb_nand_SECURE_BOOT_defco

[U-Boot] [PATCH v2 2/3] fsl: PPA: add support PPA image validation from NAND and SD

2017-04-19 Thread Sumit Garg
Signed-off-by: Sumit Garg Signed-off-by: Udit Agarwal Tested-by: Vinitha Pillai --- Changes in v2: Changed order of patch 1 & 2. Also moved assignment of ppa_esbc_hdr to CONFIG_SYS_LS_PPA_ESBC_ADDR in XIP space as it's not required in case of SD/NAND. arch/arm/cpu/armv8/fsl-layerscape/ppa.c |

Re: [U-Boot] [PATCH] usb: lpc32xx: Add i2c DM support

2017-04-19 Thread Sylvain Lemieux
On Fri, 2017-04-14 at 16:01 +0200, Marek Vasut wrote: > On 03/14/2017 04:28 PM, Sylvain Lemieux wrote: > > From: Liam Beguin > > > > Add DM support for i2c functions. > > > > Signed-off-by: Liam Beguin > > Signed-off-by: Sylvain Lemieux > > --- > > Note: > > * This patch is require as part of

[U-Boot] [PATCH v3 02/11] rockchip: video: Add mipi driver for rockchip soc

2017-04-19 Thread Eric Gao
Signed-off-by: Eric Gao --- Changes in v3: -Split mipi dsi driver file and header as a single patch. Changes in v2: None .../include/asm/arch-rockchip/rockchip_mipi_dsi.h | 195 drivers/video/rockchip/rk_mipi.c | 491 + 2 files changed, 686 inse

[U-Boot] [PATCH v3 01/11] rockchip: include: grf: Add GRF register declaration for mipi dsi

2017-04-19 Thread Eric Gao
Signed-off-by: Eric Gao --- Changes in v3: -Split GRF changes as a single patch Changes in v2: None arch/arm/include/asm/arch-rockchip/grf_rk3399.h | 23 +++ 1 file changed, 23 insertions(+) diff --git a/arch/arm/include/asm/arch-rockchip/grf_rk3399.h b/arch/arm/include/

[U-Boot] [PATCH v3 00/11] Add mipi dsi display support for rockchip soc.

2017-04-19 Thread Eric Gao
Changes in v3: -Split GRF changes as a single patch -Split mipi dsi driver file and header as a single patch. -Split Makefile changes to a single patch. -Split Kconfig changes to a single patch. -Add more description in the commit message -Add ret value in debug message. -Improve indentation rela

[U-Boot] [PATCH v3 04/11] rockchip: video: Kconfig: Add mipi driver addition.

2017-04-19 Thread Eric Gao
Signed-off-by: Eric Gao --- Changes in v3: -Split Kconfig changes to a single patch. Changes in v2: None drivers/video/rockchip/Kconfig | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/drivers/video/rockchip/Kconfig b/drivers/video/rockchip/Kconfig index 09c4ea2

[U-Boot] [PATCH v3 08/11] rockchip: board: evb_rk3399: initialize pwm0 for dispaly backlight

2017-04-19 Thread Eric Gao
Signed-off-by: Eric Gao --- Changes in v3: -Add ret value in debug message. Changes in v2: -Add pwm0 pinctrl init for lcd backlight. board/rockchip/evb_rk3399/evb-rk3399.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/board/rockchip/evb_rk3399/evb-rk3399.c b/board/rockchip/evb_r

[U-Boot] [PATCH v3 06/11] rockchip: video: vop: Set different bitwidth for different display mode

2017-04-19 Thread Eric Gao
Because the bitwidth is different for different display mode, so we need to set them according to demand. Signed-off-by: Eric Gao --- Changes in v3: None Changes in v2: -Change the bitwidth for different display mode. drivers/video/rockchip/rk_vop.c | 20 1 file changed,

[U-Boot] [PATCH v3 10/11] rockchip: configs: Enable mipi dsi for rk3399

2017-04-19 Thread Eric Gao
Enable mipi dsi by default for rk3399-evb board Signed-off-by: Eric Gao --- Changes in v3: None Changes in v2: -Add defconfigs for mipi display, so that it can be enabled by default. configs/evb-rk3399_defconfig | 6 ++ 1 file changed, 6 insertions(+) diff --git a/configs/evb-rk3399_defc

[U-Boot] [PATCH v3 09/11] rockchip: dts: Add mipi dsi support for rk3399

2017-04-19 Thread Eric Gao
Add dts config for mipi display, include vop, mipi controller, panel, backlight . And Enable rk808 for lcd_3v3 in another patch. Signed-off-by: Eric Gao --- Changes in v3: None Changes in v2: -Add dts config for mipi display. arch/arm/dts/rk3399-evb.dts | 84 ++

Re: [U-Boot] [PATCH] usb: lpc32xx: Add i2c DM support

2017-04-19 Thread Marek Vasut
On 04/19/2017 02:24 PM, Sylvain Lemieux wrote: > On Fri, 2017-04-14 at 16:01 +0200, Marek Vasut wrote: >> On 03/14/2017 04:28 PM, Sylvain Lemieux wrote: >>> From: Liam Beguin >>> >>> Add DM support for i2c functions. >>> >>> Signed-off-by: Liam Beguin >>> Signed-off-by: Sylvain Lemieux >>> --- >

[U-Boot] [PATCH v3 05/11] rockchip: video: vop: Add mipi display mode for rk3399

2017-04-19 Thread Eric Gao
Add mipi display mode for rk3399 vop, so that we can use mipi panel for display. Signed-off-by: Eric Gao --- Changes in v3: None Changes in v2: -Add mipi display mode for vop. -Add compatible items for rk3399 vop. arch/arm/include/asm/arch-rockchip/vop_rk3288.h | 1 + drivers/video/rockchip/r

[U-Boot] [PATCH v3 11/11] rockchip: video: vop: Fix rk_display_init() return error

2017-04-19 Thread Eric Gao
The function clk_set_rate() will return it's input parameter, so it's return value in normal condition is nonzero. In this case, we should report error when it return zero rather than return a nonzero value. Signed-off-by: Eric Gao -Fix rk_display_init() function report error(err:-19). --- Chang

[U-Boot] [PATCH v3 03/11] rockchip: video: Makefile: Add mipi driver addition.

2017-04-19 Thread Eric Gao
Signed-off-by: Eric Gao --- Changes in v3: -Split Makefile changes to a single patch. Changes in v2: None drivers/video/rockchip/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/video/rockchip/Makefile b/drivers/video/rockchip/Makefile index 3bb0519..2

[U-Boot] [PATCH v3 07/11] rockchip: video: vop: Reserve enough space for mipi dispaly

2017-04-19 Thread Eric Gao
plat->size here is used to reserve frame buffer space befor relocation. our mipi panel use 24 bitwidth, and vop require 32bit align. So the frame buffer size should be at least 1920*1200*32/8. Signed-off-by: Eric Gao --- Changes in v3: -Add more description in the commit message Changes in v2:

Re: [U-Boot] [PATCH v2] rockchip: reserve memory for rk3399 ATF data

2017-04-19 Thread Andreas Färber
Hi Kever, Some grammar nits below: Am 19.04.2017 um 08:42 schrieb Kever Yang: > There are 3 region used by rk3399 ATF: "regions" > - bl31 code, locate at 0x1; > - cortex-m0 code and data, locate at 0xff8c; > - bl31 data, locate at 0xff8c1000 ~ 0xff8c4000; 3x "located" > > SPL_TEXT_BA

Re: [U-Boot] Pull request: u-boot-ubi/master

2017-04-19 Thread Tom Rini
On Tue, Apr 18, 2017 at 06:18:45AM +0200, Heiko Schocher wrote: > Hello Tom, > > please pull from u-boot-ubi.git master > > The following changes since commit f6c1df44b815a08585e7fd3805a1db51a5955d09: > > Prepare v2017.05-rc2 (2017-04-17 18:16:49 -0400) > > are available in the git repositor

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

2017-04-19 Thread Tom Rini
On Tue, Apr 18, 2017 at 04:12:34PM +0800, Bin Meng wrote: > Hi Tom, > > The following changes since commit f6c1df44b815a08585e7fd3805a1db51a5955d09: > > Prepare v2017.05-rc2 (2017-04-17 18:16:49 -0400) > > are available in the git repository at: > > git://git.denx.de/u-boot-x86.git > > fo

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

2017-04-19 Thread Tom Rini
On Tue, Apr 18, 2017 at 08:32:48AM -0700, York Sun wrote: > Tom, > > The following changes since commit 3fea95369850987de15a2a0ac009d05e13b90246: > > Merge branch 'master' of git://git.denx.de/u-boot-video > (2017-04-14 22:05:17 -0400) > > are available in the git repository at: > > git://

Re: [U-Boot] [U-Boot, v2, 1/3] cmd: cramfs: use map_sysmem for sandbox support

2017-04-19 Thread Tom Rini
On Wed, Apr 12, 2017 at 04:29:15PM -0400, Tyler Hall wrote: > As with most other commands, this needs to factor in the sysmem offset > in the sandbox or it will try to dereference the simulated physical > address directly. > > Signed-off-by: Tyler Hall Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [U-Boot,v2,2/3] cramfs: block pointers are 32 bits

2017-04-19 Thread Tom Rini
On Wed, Apr 12, 2017 at 04:29:16PM -0400, Tyler Hall wrote: > Using a variably-sized type is incorrect here since we're reading a > fixed file format. Fixes cramfs on 64-bit platforms. > > Signed-off-by: Tyler Hall Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital

Re: [U-Boot] [U-Boot, v3, 1/3] ARM: import arm-smccc code from Linux 4.11-rc6

2017-04-19 Thread Tom Rini
On Fri, Apr 14, 2017 at 11:10:22AM +0900, Masahiro Yamada wrote: > Imports ARM SMC Calling Convention code from Linux 4.11-rc6. > The files have been copied as follows: > > [Linux] [U-Boot] > arch/arm/kernel/smccc-call.S -> arch/arm/cpu/armv7/smccc-call.S > arch/arm64/

Re: [U-Boot] blackfin: ibf-dsp561: remove orphan Blackfin board

2017-04-19 Thread Tom Rini
On Fri, Apr 14, 2017 at 11:05:48AM +0900, Masahiro Yamada wrote: > This is a Blackfin board that commit ea3310e8aafa ("Blackfin: > Remove") missed to remove. > > Signed-off-by: Masahiro Yamada Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, 1/1] usbtty: avoid potential NULL pointer dereference

2017-04-19 Thread Tom Rini
On Sat, Apr 15, 2017 at 03:05:46PM +0200, xypron.g...@gmx.de wrote: > If current_urb is NULL it should not be dereferenced. > > The problem was indicated by cppcheck. > > Signed-off-by: Heinrich Schuchardt > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Desc

Re: [U-Boot] [U-Boot,v2,3/3] cramfs: basic symlink support

2017-04-19 Thread Tom Rini
On Wed, Apr 12, 2017 at 04:29:17PM -0400, Tyler Hall wrote: > Handle symlinks to files in the current directory. Other cases could be > handled with additional code, but this is a start. > > Add explicit errors for absolute paths and links found in the middle of > a path (directories). Other case

Re: [U-Boot] [PATCH] board: Remove orphan SPARC boards

2017-04-19 Thread Tom Rini
On Tue, Apr 18, 2017 at 10:31:12AM -0400, Tom Rini wrote: > Since 936478e797a8 SPARC as been removed as an architecture. Remove > these now orphan boards. > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] arm: omap-common: add missing va_end()

2017-04-19 Thread Tom Rini
On Sat, Apr 15, 2017 at 12:29:20PM +0200, xypron.g...@gmx.de wrote: > Each call of va_start must be matched by a call of va_end. > > Signed-off-by: Heinrich Schuchardt > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] tools: moveconfig: remove GCC prefix of obsolete architecture

2017-04-19 Thread Tom Rini
On Fri, Apr 14, 2017 at 10:53:56AM +0900, Masahiro Yamada wrote: > Recently, U-Boot removed support for these architectures. > > Signed-off-by: Masahiro Yamada Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [U-Boot, v3, 3/3] sysreset: psci: support system reset in a generic way with PSCI

2017-04-19 Thread Tom Rini
On Fri, Apr 14, 2017 at 11:10:24AM +0900, Masahiro Yamada wrote: > If the system is running PSCI firmware, the System Reset function > (func ID: 0x8009) is supposed to be handled by PSCI, that is, > the SoC/board specific reset implementation should be moved to PSCI. > U-Boot should call the P

Re: [U-Boot] FPGA: drivers/fpga/ivm_core.c: incorrect printf

2017-04-19 Thread Tom Rini
On Sat, Apr 15, 2017 at 03:15:40PM +0200, xypron.g...@gmx.de wrote: > The number of arguments for printf does not match the > format string. > > The problem was indicated by cppcheck. > > Signed-off-by: Heinrich Schuchardt > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom s

Re: [U-Boot] drivers/crypto/fsl: remove redundant logical contraint

2017-04-19 Thread Tom Rini
On Sat, Apr 15, 2017 at 04:37:54PM +0200, xypron.g...@gmx.de wrote: > 'A || (!A && B)' is equivalent to 'A || B'. > Let's reduce the complexity of the statement in start_jr0(). > > The problem was indicated by cppcheck. > > Signed-off-by: Heinrich Schuchardt > Reviewed-by: York Sun > Reviewed-

Re: [U-Boot] [U-Boot, 1/3] buildman: Allow 'gnueabihf' toolchains for ARM

2017-04-19 Thread Tom Rini
On Fri, Apr 14, 2017 at 07:47:50PM -0400, Tom Rini wrote: > Many toolchains for ARM use the 'gnueabihf' suffix rather than just > 'gnueabi', so allow these to be used, but with a lower priority than > 'gnueabi' ones. > > Cc: Simon Glass > Signed-off-by: Tom Rini > Reviewed-by: Simon Glass App

Re: [U-Boot] [U-Boot, v3, 2/3] ARM: adjust arm-smccc code for use in U-Boot

2017-04-19 Thread Tom Rini
On Fri, Apr 14, 2017 at 11:10:23AM +0900, Masahiro Yamada wrote: > Adjust ARM SMC Calling Convention code for U-Boot: > - Replace the license block with SPDX > - Change path to asm-offsets.h > - Define UNWIND() as no-op > - Add Kconfig entry > - Add asm-offsets > > Signed-off-by: Masahi

Re: [U-Boot] [U-Boot, v2, 1/1] tools/env: avoid memory leak in fw_setenv

2017-04-19 Thread Tom Rini
On Sat, Apr 15, 2017 at 01:05:40PM +0200, xypron.g...@gmx.de wrote: > If realloc fails we should release the old buffer. > > Signed-off-by: Heinrich Schuchardt > Reviewed-by: Tom Rini > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital si

Re: [U-Boot] [U-Boot, 2/2] drivers: remove Blackfin specific drivers

2017-04-19 Thread Tom Rini
On Fri, Apr 14, 2017 at 10:55:00AM +0900, Masahiro Yamada wrote: > These drivers have no user since commit ea3310e8aafa ("Blackfin: > Remove"). > > Signed-off-by: Masahiro Yamada > Reviewed-by: Simon Glass > Acked-by: Michal Simek > Acked-by: Jaehoon Chung Applied to u-boot/master, thanks!

Re: [U-Boot] [U-Boot,1/2] cmd: remove Blackfin specific commands

2017-04-19 Thread Tom Rini
On Fri, Apr 14, 2017 at 10:54:59AM +0900, Masahiro Yamada wrote: > These commands have no user since commit ea3310e8aafa ("Blackfin: > Remove"). > > Signed-off-by: Masahiro Yamada > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signatu

Re: [U-Boot] [U-Boot,1/1] yaffs2: remove redundant condition

2017-04-19 Thread Tom Rini
On Sat, Apr 15, 2017 at 01:28:13PM +0200, xypron.g...@gmx.de wrote: > If !parent, the changed line is not reached. > So there is no need to check the value again. > > Signed-off-by: Heinrich Schuchardt > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Descripti

Re: [U-Boot] ddr: fsl: incorrect logical constraint in populate_memctl_options

2017-04-19 Thread Tom Rini
On Sat, Apr 15, 2017 at 03:23:49PM +0200, xypron.g...@gmx.de wrote: > (pdimm[0].data_width >= 32) || (pdimm[0].data_width <= 40) > is always true. > > We should use && here. > > The problem was indicated by cppcheck. > > Signed-off-by: Heinrich Schuchardt > Reviewed-by: Tom Rini > Reviewed-by

Re: [U-Boot] [U-Boot, 2/3] travis-ci: Switch over to Linaro gcc-6.3.1 toolchains for ARM

2017-04-19 Thread Tom Rini
On Fri, Apr 14, 2017 at 07:47:51PM -0400, Tom Rini wrote: > Linaro provides a number of pre-built GCC toolchains for both 32 and > 64bit ARM. Switch to their 2017.02 release of gcc-6.3.1 for both. > > Cc: Koen Kooi > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signatu

Re: [U-Boot] [U-Boot, v2] rockchip: Print a message when returning to the bootrom

2017-04-19 Thread Tom Rini
On Sat, Apr 15, 2017 at 01:11:31PM -0600, Simon Glass wrote: > At present if the return to bootrom fails (e.g. because you are not using > the Rockchip's bootrom's pointer table in MMC) then the board prints > SPL message and hangs. Print a message first if we can, to help in > understanding what

  1   2   3   >