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

2017-04-19 Thread Dinh Nguyen
On Wed, Apr 19, 2017 at 6:21 PM, Dalon Westergreen wrote: > On Wed, 2017-04-19 at 13:54 -0700, Dalon Westergreen wrote: >> On Wed, 2017-04-19 at 15:44 -0500, Dinh Nguyen wrote: >> > >> > Really including Dalon >> > >> > > >> > > On Wed, Apr 19, 2017 at 3:26 PM,

[U-Boot] [PATCH v4 08/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 v4: None Changes in v3: -Add more

[U-Boot] [PATCH v4 10/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 v4: None Changes in v3: None Changes in v2: -Add dts config for mipi display.

[U-Boot] [PATCH v4 06/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 v4: None Changes in v3: None Changes in v2: -Add mipi display mode for vop. -Add compatible items for rk3399 vop.

[U-Boot] [PATCH v4 07/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 v4: None Changes in v3: None Changes in v2: -Change the bitwidth for different display mode.

[U-Boot] [PATCH v4 05/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 --- Changes in v4: -Move this patch to

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

2017-04-19 Thread Eric Gao
Signed-off-by: Eric Gao --- Changes in v4: -Clear irrelevant change. Changes in v3: -Split Kconfig changes to a single patch. Changes in v2: None drivers/video/rockchip/Kconfig | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git

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

2017-04-19 Thread Eric Gao
Signed-off-by: Eric Gao --- Changes in v4: None 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

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

2017-04-19 Thread Eric Gao
Signed-off-by: Eric Gao --- Changes in v4: -Clear irrelevant change Changes in v3: -Split Makefile changes to a single patch. Changes in v2: None drivers/video/rockchip/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/video/rockchip/Makefile

[U-Boot] [PATCH v4 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 v4: None 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

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

2017-04-19 Thread Eric Gao
Signed-off-by: Eric Gao --- Changes in v4: None 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

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

2017-04-19 Thread Eric Gao
Add mipi dsi display support for rockchip soc. Changes in v4: -Clear irrelevant change -Clear irrelevant change. -Move this patch to an early stage. 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

Re: [U-Boot] [PATCH 1/4] mmc: fsl_esdhc: introduce vs18_enable for 1.8V fix I/O

2017-04-19 Thread Peng Fan
Hi York, > -Original Message- > From: York Sun [mailto:york@nxp.com] > Sent: Thursday, April 20, 2017 11:22 AM > To: Peng Fan ; sba...@denx.de; > jh80.ch...@samsung.com > Cc: ota...@ossystems.com.br; u-boot@lists.denx.de > Subject: Re: [PATCH 1/4] mmc: fsl_esdhc:

[U-Boot] [PATCH 2/2][v2] nxp/ls2080ardb: Add QSPI-boot support

2017-04-19 Thread Priyanka Jain
QSPI-boot is verified on LS20080ARDB RevF board with LS2088A SoC. LS2088ARDB RevF Board has limitation that QIXIS can not be access, so QIXIS flag is kept disabled Signed-off-by: Priyanka Jain Signed-off-by: Suresh Gupta --- Changes for v2:

[U-Boot] [PATCH 1/2][v2] board: freescale: ls2080ardb: Update QIXIS code

2017-04-19 Thread Priyanka Jain
Update QIXIS related code to be executed only if CONFIG_FSL_QIXIS flag is enabled Signed-off-by: Priyanka Jain --- board/freescale/ls2080ardb/ls2080ardb.c | 19 --- 1 files changed, 16 insertions(+), 3 deletions(-) diff --git

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

2017-04-19 Thread Heiko Schocher
Hello Mxaim, Am 19.04.2017 um 18:02 schrieb Maxim Sloyko: On Wed, Apr 19, 2017 at 4:58 AM, Heiko Schocher wrote: 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

Re: [U-Boot] [PATCH 1/4] mmc: fsl_esdhc: introduce vs18_enable for 1.8V fix I/O

2017-04-19 Thread York Sun
On 04/19/2017 07:46 PM, Peng Fan wrote: When using eMMC with 1.8V I/O, the VSELECT bit need to be set in the USDHC controller when init. This patch adds a parameter "vs18_enable" in fsl_esdhc_cfg structure and priv data, so each controller can have different settings. We could not use

Re: [U-Boot] [PATCH v3 0/6] ARM: dts: at91: Add dts files for AT91 SoCs' boards

2017-04-19 Thread Simon Glass
Hi Wenyou, On 18 April 2017 at 02:02, Yang, Wenyou wrote: > Hi Simon, > > The patches has been rebased on the master branch of u-boot-dm git tree > > Could you help take them? I know they've been hanging around for a while, but it is pretty late in this cycle. Tom,

[U-Boot] [PATCH v2] net: macb: Fix GMAC not work when enable DM_ETH

2017-04-19 Thread Wenyou Yang
Always search the PHY to determine the macb->phy_addr before using the PHY to fix "No PHY present" error. Fix the wrong test of the GMAC's phy interface mode, it should be PHY_INTERFACE_MODE_RGMII. Signed-off-by: Wenyou Yang Reviewed-by: Simon Glass

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

2017-04-19 Thread Bin Meng
Hi Andy, On Tue, Apr 18, 2017 at 10:21 PM, 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

[U-Boot] [PATCH 4/4] mmc: fsl_esdhc: drop CONFIG_SYS_FSL_ESDHC_FORCE_VSELECT

2017-04-19 Thread Peng Fan
CONFIG_SYS_FSL_ESDHC_FORCE_VSELECT is not the correct method to set I/O to 1.8. To boards that does not support vqmmc-supply, use vs18_enable in fsl_esdhc_cfg. If regulator is supported, use fixed 1.8V regulator for vqmmc-supply. Signed-off-by: Peng Fan Cc: Jaehoon Chung

[U-Boot] [PATCH 3/4] imx: warp: use vs18_enable

2017-04-19 Thread Peng Fan
Use vs18_enable, and drop CONFIG_SYS_FSL_ESDHC_FORCE_VSELECT. Signed-off-by: Peng Fan Cc: Otavio Salvador Cc: Stefano Babic Cc: Jaehoon Chung --- board/warp/warp.c | 2 +- include/configs/warp.h | 1 - 2

[U-Boot] [PATCH 1/4] mmc: fsl_esdhc: introduce vs18_enable for 1.8V fix I/O

2017-04-19 Thread Peng Fan
When using eMMC with 1.8V I/O, the VSELECT bit need to be set in the USDHC controller when init. This patch adds a parameter "vs18_enable" in fsl_esdhc_cfg structure and priv data, so each controller can have different settings. We could not use CONFIG_SYS_FSL_ESDHC_FORCE_VSELECT, it has problem

[U-Boot] [PATCH 2/4] dm: mmc: fsl_esdhc: handle vqmmc supply

2017-04-19 Thread Peng Fan
Handle vqmmc supply. Some boards have a fixed I/O voltage at 1.8V for emmc, so the usdhc also needs to be configured as 1.8V by setting VSELECT bit. The vs18_enable is the one that used to checking whether setting VSELECT or not in the driver. So if vqmmc supply is 1.8V, set vs18_enable, the

Re: [U-Boot] [PATCH 2/5] arch: arm: omap: Declare size of ddr very early

2017-04-19 Thread Lokesh Vutla
On Tuesday 18 April 2017 07:03 PM, Lukasz Majewski wrote: > Hi Ravi, > >> From: Lokesh Vutla >> >> Declare the size of ddr very early in spl, so that this can be >> used to enable cache. >> >> Signed-off-by: Lokesh Vutla >> Signed-off-by: Ravi Babu

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

2017-04-19 Thread Eddie Cai
2017-04-19 20:39 GMT+08:00 Eric Gao : > Signed-off-by: Eric Gao Reviewed-by: Eddie Cai > > --- > > Changes in v3: > -Add ret value in debug message. > > Changes in v2: > -Add pwm0 pinctrl init for lcd backlight. > >

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

2017-04-19 Thread Eddie Cai
2017-04-19 20:39 GMT+08:00 Eric Gao : > Enable mipi dsi by default for rk3399-evb board > > Signed-off-by: Eric Gao Reviewed-by: Eddie Cai > > --- > > Changes in v3: None > Changes in v2: > -Add defconfigs for mipi

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

2017-04-19 Thread Eddie Cai
2017-04-19 20:39 GMT+08:00 Eric Gao : > Add mipi display mode for rk3399 vop, so that we can use mipi panel > for display. > > Signed-off-by: Eric Gao Reviewed-by: Eddie Cai > > --- > > Changes in v3: None > Changes in

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

2017-04-19 Thread Eddie Cai
2017-04-19 20:39 GMT+08:00 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 Review-by: Eddie Cai > > --- > > Changes in

Re: [U-Boot] [PATCH 5/5] boot: fdt: fixup the memory dt nodes falcon boot

2017-04-19 Thread Lokesh Vutla
Hi Lukasz, On Tuesday 18 April 2017 06:55 PM, Lukasz Majewski wrote: > Hi Ravi, > >> In single stage bootmode or falcon boot mode, >> the SPL shall update the memory dt nodes >> spl_fixup_fdt() based on DDR configuration for >> specific platform. >> >> Signed-off-by: Ravi Babu

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

2017-04-19 Thread Eddie Cai
2017-04-19 20:39 GMT+08:00 Eric Gao : > Signed-off-by: Eric Gao Reviewed-by: Eddie Cai > > --- > > Changes in v3: > -Split mipi dsi driver file and header as a single patch. > > Changes in v2: None > >

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

2017-04-19 Thread Eddie Cai
2017-04-19 20:39 GMT+08:00 Eric Gao : > Signed-off-by: Eric Gao Reviewed-by: Eddie Cai > > --- > > Changes in v3: > -Split GRF changes as a single patch > > Changes in v2: None > >

Re: [U-Boot] [U-Boot PATCH V2 9/9] rockusb: add a simple readme

2017-04-19 Thread Eddie Cai
Hi Lukasz 2017-04-20 6:39 GMT+08:00 Lukasz Majewski : > Hi Eddie, > >> add a simple readme to introduce rockusb and tell people how to use it >> >> Signed-off-by: Eddie Cai >> --- >> doc/README.rockusb | 35 +++ >> 1 file

[U-Boot] [PATCH 3/3] dm: core: Add uclass_first/next_ok_device()

2017-04-19 Thread Simon Glass
Sometimes it is useful to iterate through all devices in a uclass and skip over those which do not work correctly (e.g fail to probe). Add two new functions to provide this feature. Signed-off-by: Simon Glass --- drivers/core/uclass.c | 29 +

[U-Boot] [PATCH 1/3] dm: core: Clarify uclass_first/next_device() comments

2017-04-19 Thread Simon Glass
These are not as clear as they could be. Tidy them up a bit. Also fix a tiny code-style nit. Signed-off-by: Simon Glass --- drivers/core/uclass.c | 3 +-- include/dm/uclass.h | 13 +++-- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git

[U-Boot] [PATCH 2/3] dm: core: Test uclass_first/next_device() on probe failure

2017-04-19 Thread Simon Glass
Add some tests which check the behaviour of uclass_first_device() and uclass_next_device() when probing of a device fails. Signed-off-by: Simon Glass --- arch/sandbox/dts/test.dts | 19 + include/dm/uclass-id.h| 1 + test/dm/test-fdt.c| 72

Re: [U-Boot] [U-Boot PATCH V2 7/9] cmd: add rockusb command

2017-04-19 Thread Eddie Cai
2017-04-20 6:27 GMT+08:00 Lukasz Majewski : > Hi Eddie, > > >> this patch add rockusb command. the usage is >> rockusb [] >> e.g. rockusb 0 mmc 0 > > Ok. > >> >> Signed-off-by: Eddie Cai >> --- >> cmd/Kconfig | 5 + >> cmd/Makefile | 1 + >>

[U-Boot] [PATCH 2/2] asm-generic: global_data: change timebase_l/h to unsigned int

2017-04-19 Thread Peng Fan
Change type of timebase_l/h to unsigned int. Signed-off-by: Peng Fan Cc: Simon Glass Cc: Eddie Cai Cc: Jagan Teki Cc: York Sun Cc: "Robert P. J. Day" Cc: Michal Simek

[U-Boot] [PATCH 1/2] arm: change tbu/l type to unsigned int

2017-04-19 Thread Peng Fan
Change tbu/l type to unsigned int. Signed-off-by: Peng Fan Cc: Simon Glass Cc: Tom Rini --- arch/arm/include/asm/global_data.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/include/asm/global_data.h

Re: [U-Boot] [U-Boot PATCH V2 6/9] usb: ums: add do_extra_command

2017-04-19 Thread Eddie Cai
Hi Lukasz 2017-04-20 6:14 GMT+08:00 Lukasz Majewski : > Hi Eddie, > >> add do_extra_command to let people deal with customized command >> >> Signed-off-by: Eddie Cai >> --- >> drivers/usb/gadget/f_mass_storage.c | 8 +++- >> 1 file changed, 7

Re: [U-Boot] [U-Boot 1/3] drivers: usb: gadget: add the rockusb gadget

2017-04-19 Thread Eddie Cai
Hi Lukasz This is my V1 patch. let me know if you have some comment. 2017-03-20 16:37 GMT+08:00 Lukasz Majewski : > Hi Eddie, > >> 2017-03-16 15:05 GMT+08:00 Kever Yang : >> >> > Hi Eddie, >> > >> > I recommend you to use ums framework instead of

Re: [U-Boot] [U-Boot PATCH V2 5/9] usb: ums: add functions to set and get usb interface descriptor

2017-04-19 Thread Eddie Cai
Hi Lukasz 2017-04-19 23:29 GMT+08:00 Lukasz Majewski : > Hi Eddie, > >> add functions to set and get usb interface descriptor, so people can >> customize usb interface descriptor > > The f_mass_storage USB function is used through the g_dnl code: > > ./drivers/usb/gadget/g_dnl.c >

Re: [U-Boot] [PATCH v3 19/19] sunxi: update Pine64 README

2017-04-19 Thread Tom Rini
On Thu, Apr 20, 2017 at 12:21:41AM +0200, Andreas Färber wrote: > Am 18.04.2017 um 22:38 schrieb André Przywara: > > On 16/04/17 02:20, Andreas Färber wrote: > >> Build-testing this series with both pine64_plus_defconfig and > >> orangepi_pc2_defconfig, I ran into a ~1616 size overflow with gcc5.

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

2017-04-19 Thread Simon Glass
Hi Alvaro, On 19 April 2017 at 15:25, Simon Glass wrote: > Hi Alvaro, > > On 19 April 2017 at 03:18, Álvaro Fernández Rojas wrote: >> This is what I think it's going on: >> >> sysreset_walk(): >> - calls uclass_first_device(): >> - Calls

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

2017-04-19 Thread Dalon Westergreen
On Wed, 2017-04-19 at 13:54 -0700, Dalon Westergreen wrote: > On Wed, 2017-04-19 at 15:44 -0500, Dinh Nguyen wrote: > > > > Really including Dalon > > > > > > > > On Wed, Apr 19, 2017 at 3:26 PM, Dinh Nguyen wrote: > > > CC: Dalon Westergreen > > > > > > On 04/19/2017

Re: [U-Boot] [U-Boot PATCH V2 9/9] rockusb: add a simple readme

2017-04-19 Thread Lukasz Majewski
Hi Eddie, > add a simple readme to introduce rockusb and tell people how to use it > > Signed-off-by: Eddie Cai > --- > doc/README.rockusb | 35 +++ > 1 file changed, 35 insertions(+) > create mode 100644 doc/README.rockusb > > diff

Re: [U-Boot] [U-Boot PATCH V2 8/9] rockchip: config: enable rockusb support on rk3288 based board

2017-04-19 Thread Lukasz Majewski
Hi Eddie, > all rk3288 based boards support rockusb, so enable it > > Signed-off-by: Eddie Cai > --- > configs/evb-rk3288_defconfig | 2 ++ > configs/fennec-rk3288_defconfig | 1 + > configs/firefly-rk3288_defconfig | 1 + > configs/miqi-rk3288_defconfig

Re: [U-Boot] [U-Boot PATCH V2 7/9] cmd: add rockusb command

2017-04-19 Thread Lukasz Majewski
Hi Eddie, > this patch add rockusb command. the usage is > rockusb [] > e.g. rockusb 0 mmc 0 Ok. > > Signed-off-by: Eddie Cai > --- > cmd/Kconfig | 5 + > cmd/Makefile | 1 + > cmd/rockusb.c | 383 >

Re: [U-Boot] [PATCH v3 19/19] sunxi: update Pine64 README

2017-04-19 Thread Dr. Philipp Tomsich
> On 20 Apr 2017, at 00:21, Andreas Färber wrote: > > Am 18.04.2017 um 22:38 schrieb André Przywara: >> On 16/04/17 02:20, Andreas Färber wrote: >>> Build-testing this series with both pine64_plus_defconfig and >>> orangepi_pc2_defconfig, I ran into a ~1616 size overflow with

Re: [U-Boot] [PATCH v3 19/19] sunxi: update Pine64 README

2017-04-19 Thread Andreas Färber
Am 18.04.2017 um 22:38 schrieb André Przywara: > On 16/04/17 02:20, Andreas Färber wrote: >> Build-testing this series with both pine64_plus_defconfig and >> orangepi_pc2_defconfig, I ran into a ~1616 size overflow with gcc5. gcc6 >> worked okay. Would be helpful to document such requirements

Re: [U-Boot] [U-Boot PATCH V2 6/9] usb: ums: add do_extra_command

2017-04-19 Thread Lukasz Majewski
Hi Eddie, > add do_extra_command to let people deal with customized command > > Signed-off-by: Eddie Cai > --- > drivers/usb/gadget/f_mass_storage.c | 8 +++- > 1 file changed, 7 insertions(+), 1 deletion(-) > > diff --git a/drivers/usb/gadget/f_mass_storage.c >

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

2017-04-19 Thread Simon Glass
On 19 April 2017 at 15:06, Andreas Färber wrote: > Am 19.04.2017 um 13:26 schrieb 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

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

2017-04-19 Thread Simon Glass
On 19 April 2017 at 12:08, Heinrich Schuchardt wrote: > On 04/19/2017 07:10 PM, Simon Glass wrote: >> Hi Andreas, >> >> On 19 April 2017 at 11:00, Andreas Färber wrote: >>> Am 19.04.2017 um 18:56 schrieb Simon Glass: Hi Andreas, On 19 April

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

2017-04-19 Thread Simon Glass
Hi Alvaro, On 19 April 2017 at 03:18, Álvaro Fernández Rojas wrote: > 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 0. > - Calls uclass_get_device_tail(): >

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

2017-04-19 Thread Andreas Färber
Am 19.04.2017 um 13:26 schrieb 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 "bootefi" > passed to the EFI executable if the first device cannot

Re: [U-Boot] [PATCH] sunxi: Add support for NanoPi M1 board

2017-04-19 Thread Mylene Josserand
Hi Maxime, Thank you for the review! On 19/04/2017 16:57, Maxime Ripard wrote: Hi Mylene, On Wed, Apr 19, 2017 at 04:20:40PM +0200, Mylène Josserand wrote: NanoPi M1 is a board based on Allwinner H3 CPU. This commit adds the support for this platform with: - a device tree which enables

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

2017-04-19 Thread Dalon Westergreen
On Wed, 2017-04-19 at 15:44 -0500, Dinh Nguyen wrote: > Really including Dalon > > > On Wed, Apr 19, 2017 at 3:26 PM, Dinh Nguyen wrote: > > CC: Dalon Westergreen > > > > On 04/19/2017 02:49 PM, Dinh Nguyen wrote: > > > > > > > > > On 04/19/2017 04:29 AM, Ley Foon Tan

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

2017-04-19 Thread Dinh Nguyen
Really including Dalon On Wed, Apr 19, 2017 at 3:26 PM, Dinh Nguyen wrote: > CC: Dalon Westergreen > > On 04/19/2017 02:49 PM, Dinh Nguyen wrote: >> >> >> On 04/19/2017 04:29 AM, Ley Foon Tan wrote: >>> Add SPL support for Arria 10. >>> >>> Signed-off-by: Tien Fong Chee

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

2017-04-19 Thread Dinh Nguyen
CC: Dalon Westergreen On 04/19/2017 02:49 PM, Dinh Nguyen wrote: > > > On 04/19/2017 04:29 AM, Ley Foon Tan wrote: >> Add SPL support for Arria 10. >> >> Signed-off-by: Tien Fong Chee >> Signed-off-by: Ley Foon Tan >> --- >>

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

2017-04-19 Thread Dinh Nguyen
On 04/19/2017 04:29 AM, Ley Foon Tan wrote: > 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

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

2017-04-19 Thread Heinrich Schuchardt
On 04/19/2017 07:10 PM, Simon Glass wrote: > Hi Andreas, > > On 19 April 2017 at 11:00, Andreas Färber wrote: >> Am 19.04.2017 um 18:56 schrieb Simon Glass: >>> Hi Andreas, >>> >>> On 19 April 2017 at 10:37, Andreas Färber wrote: Am 19.04.2017 um 17:52

Re: [U-Boot] [PATCH v3 2/3] u-boot.elf: fix entry symbol not found warning

2017-04-19 Thread Tom Rini
On Tue, Apr 18, 2017 at 10:35:32PM +0200, Álvaro Fernández Rojas wrote: > LD gives the following warning when trying to process u-boot-elf.o > warning: cannot find entry symbol __start; defaulting to 8001 > Fix this by renaming _start to __start > > Signed-off-by: Álvaro Fernández

Re: [U-Boot] [PATCH v3 1/3] u-boot.elf: remove hard-coded arm64 flags

2017-04-19 Thread Tom Rini
On Tue, Apr 18, 2017 at 10:35:31PM +0200, Álvaro Fernández Rojas wrote: > This is needed in order to allow building it for other archs. > Move relocation comment to a better place. > Remove no longer needed dts FIXME. > > Signed-off-by: Álvaro Fernández Rojas Reviewed-by:

Re: [U-Boot] [PATCH v3 0/3] u-boot.elf: support other archs

2017-04-19 Thread Tom Rini
On Tue, Apr 18, 2017 at 10:35:30PM +0200, Álvaro Fernández Rojas wrote: > Provide an u-boot.elf binary for Broadcom MIPS platforms by re-using > the already existing Makefile target for aarch64. > This u-boot.elf binary should be used as a stage 2 loader > until U-Boot can be replace the original

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

2017-04-19 Thread Simon Glass
Hi Andreas, On 19 April 2017 at 11:00, Andreas Färber wrote: > Am 19.04.2017 um 18:56 schrieb Simon Glass: >> Hi Andreas, >> >> On 19 April 2017 at 10:37, Andreas Färber wrote: >>> Am 19.04.2017 um 17:52 schrieb Simon Glass: Hi Andreas, On 19

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

2017-04-19 Thread Andreas Färber
Am 19.04.2017 um 18:56 schrieb Simon Glass: > Hi Andreas, > > On 19 April 2017 at 10:37, Andreas Färber wrote: >> Am 19.04.2017 um 17:52 schrieb Simon Glass: >>> Hi Andreas, >>> >>> On 19 April 2017 at 09:14, Simon Glass wrote: Hi Andreas, On

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

2017-04-19 Thread Simon Glass
Hi Andreas, On 19 April 2017 at 10:37, Andreas Färber wrote: > Am 19.04.2017 um 17:52 schrieb Simon Glass: >> Hi Andreas, >> >> On 19 April 2017 at 09:14, Simon Glass wrote: >>> Hi Andreas, >>> >>> On 19 April 2017 at 08:43, Andreas Färber

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

2017-04-19 Thread Andreas Färber
Am 19.04.2017 um 18:31 schrieb Álvaro Fernández Rojas: > Hi Andreas, > > El 19/04/2017 a las 18:25, Andreas Färber escribió: >> Am 19.04.2017 um 18:22 schrieb Álvaro Fernández Rojas: >>> In case you decide to apply this version (I see you're yet deciding which >>> is the best way to go), I

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

2017-04-19 Thread Andreas Färber
Am 19.04.2017 um 17:52 schrieb Simon Glass: > Hi Andreas, > > On 19 April 2017 at 09:14, Simon Glass wrote: >> Hi Andreas, >> >> On 19 April 2017 at 08:43, Andreas Färber wrote: >>> Hi Simon, >>> >>> Am 19.04.2017 um 16:28 schrieb Simon Glass: On 19

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

2017-04-19 Thread Álvaro Fernández Rojas
Hi Andreas, El 19/04/2017 a las 18:25, Andreas Färber escribió: > Am 19.04.2017 um 18:22 schrieb Álvaro Fernández Rojas: >> In case you decide to apply this version (I see you're yet deciding which is >> the best way to go), I tested it and it solves my problem with sysreset not >> bein probed

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

2017-04-19 Thread Andreas Färber
Am 19.04.2017 um 18:22 schrieb Álvaro Fernández Rojas: > In case you decide to apply this version (I see you're yet deciding which is > the best way to go), I tested it and it solves my problem with sysreset not > bein probed correctly. Can you point us to which call site that is in your case

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

2017-04-19 Thread Álvaro Fernández Rojas
In case you decide to apply this version (I see you're yet deciding which is the best way to go), I tested it and it solves my problem with sysreset not bein probed correctly. So, Tested-by: Álvaro Fernández Rojas El 19/04/2017 a las 13:26, Heinrich Schuchardt escribió: >

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

2017-04-19 Thread Maxim Sloyko
On Wed, Apr 19, 2017 at 4:58 AM, Heiko Schocher wrote: > 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

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

2017-04-19 Thread Simon Glass
Hi Heinrih, On 19 April 2017 at 09:55, Heinrich Schuchardt wrote: > On 04/19/2017 04:28 PM, Simon Glass wrote: >> Hi Heinrich, >> >> On 19 April 2017 at 05:26, Heinrich Schuchardt wrote: >>> When iterating over the devices of an uclass the iteration stops

Re: [U-Boot] [PATCH] QE: add QE support on SD boot

2017-04-19 Thread York Sun
On 04/13/2017 06:17 PM, Zhao Qiang wrote: modify u_qe_init to upload QE firmware from SD card when it is SD boot Signed-off-by: Zhao Qiang --- drivers/qe/qe.c | 34 +- include/configs/ls1043a_common.h | 4

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

2017-04-19 Thread Heinrich Schuchardt
On 04/19/2017 04:28 PM, Simon Glass wrote: > Hi Heinrich, > > On 19 April 2017 at 05:26, Heinrich Schuchardt wrote: >> 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

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

2017-04-19 Thread Simon Glass
Hi Andreas, On 19 April 2017 at 09:14, Simon Glass wrote: > Hi Andreas, > > On 19 April 2017 at 08:43, Andreas Färber wrote: >> Hi Simon, >> >> Am 19.04.2017 um 16:28 schrieb Simon Glass: >>> On 19 April 2017 at 05:26, Heinrich Schuchardt

Re: [U-Boot] [PATCH] p1_p2_rdb: Fix unused variable warning

2017-04-19 Thread York Sun
On 04/18/2017 07:25 PM, Tom Rini wrote: With gcc-6 we see a warning that sysclk_tbl is defined but unused, so remove it. Cc: York Sun Signed-off-by: Tom Rini --- board/freescale/p1_p2_rdb_pc/spl.c | 5 - 1 file changed, 5 deletions(-) diff --git

Re: [U-Boot] [U-Boot PATCH V2 5/9] usb: ums: add functions to set and get usb interface descriptor

2017-04-19 Thread Lukasz Majewski
Hi Eddie, > add functions to set and get usb interface descriptor, so people can > customize usb interface descriptor The f_mass_storage USB function is used through the g_dnl code: ./drivers/usb/gadget/g_dnl.c Other gadget functions - like dfu and thor are using it. Please consider

Re: [U-Boot] [U-Boot PATCH V2 3/9] usb: ums: merge storage_common.c into f_mass_storage.c

2017-04-19 Thread Lukasz Majewski
Hi Eddie, > storage_common.c is only used by f_mass_storage. so merge it. The same comment as to patch 1/9 > > Signed-off-by: Eddie Cai Best regards, Lukasz Majewski -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich,

Re: [U-Boot] [U-Boot PATCH V2 2/9] usb: ums: split macro and data struct in f_mass_storage.c

2017-04-19 Thread Lukasz Majewski
Hi Eddie, > split the macro and data struct in f_mass_storage.c to > f_mass_storage.h The same comment as to patch 1/9 Best regards, Lukasz Majewski -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

Re: [U-Boot] [U-Boot PATCH V2 1/9] usb: ums: split macro and data struct in storage_common.c

2017-04-19 Thread Lukasz Majewski
Hi Eddie, Sorry for late reply - the Easter break. I would prefer to keep things as they are now. The reason is that f_mass_storage gadget in Linux has the same file structure as u-boot - e.g. ./drivers/usb/gadget/function/storage_common.c in Linux tree. It would be easier then to update the

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

2017-04-19 Thread Simon Glass
Hi Andreas, On 19 April 2017 at 08:43, Andreas Färber wrote: > Hi Simon, > > Am 19.04.2017 um 16:28 schrieb Simon Glass: >> On 19 April 2017 at 05:26, Heinrich Schuchardt wrote: >>> When iterating over the devices of an uclass the iteration stops >>> at the

Re: [U-Boot] [PATCH] arm: socfpga: add cyclone5 based de10-nano board

2017-04-19 Thread Marek Vasut
On 04/19/2017 04:36 PM, Dinh Nguyen wrote: > On Tue, Apr 18, 2017 at 12:28 PM, Marek Vasut wrote: >> On 04/18/2017 07:15 PM, Dalon Westergreen wrote: >>> On Tue, 2017-04-18 at 17:32 +0200, Marek Vasut wrote: On 04/18/2017 05:11 PM, Dalon Westergreen wrote: > > Add

Re: [U-Boot] [PATCH] sunxi: Add support for NanoPi M1 board

2017-04-19 Thread Maxime Ripard
Hi Mylene, On Wed, Apr 19, 2017 at 04:20:40PM +0200, Mylène Josserand wrote: > NanoPi M1 is a board based on Allwinner H3 CPU. > > This commit adds the support for this platform with: >- a device tree which enables UART, LEDs, GPIO key switch, >3 USB host ports and the SD-card >- a

[U-Boot] [PATCH v3] pinctrl: Kconfig: sort pinctrl config options to prevent future clutter

2017-04-19 Thread Philipp Tomsich
This originally started out as "pinctrl: Kconfig: reorder to keep Rockchip options together" and tried to keep the Rockchip-related config options together. However, we now rewrite all chip-specific driver selections to start with CONFIG_PINCTRL_ (with the inadvertent changes to related

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

2017-04-19 Thread Andreas Färber
Hi Simon, Am 19.04.2017 um 16:28 schrieb Simon Glass: > On 19 April 2017 at 05:26, Heinrich Schuchardt wrote: >> 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

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

2017-04-19 Thread Dinh Nguyen
On Wed, Apr 19, 2017 at 4:39 AM, Marek Vasut wrote: > 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

Re: [U-Boot] [PATCH] arm: socfpga: add cyclone5 based de10-nano board

2017-04-19 Thread Dinh Nguyen
On Tue, Apr 18, 2017 at 12:28 PM, Marek Vasut wrote: > On 04/18/2017 07:15 PM, Dalon Westergreen wrote: >> On Tue, 2017-04-18 at 17:32 +0200, Marek Vasut wrote: >>> On 04/18/2017 05:11 PM, Dalon Westergreen wrote: Add support for the Terasic DE10-Nano board. The board

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

2017-04-19 Thread Simon Glass
Hi Heinrich, On 19 April 2017 at 05:26, Heinrich Schuchardt wrote: > 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

Re: [U-Boot] [PATCH v2 1/3] rsa: Fix build with OpenSSL 1.1.x

2017-04-19 Thread Tom Rini
On Tue, Apr 18, 2017 at 05:58:35PM +0100, Peter Robinson wrote: > On Wed, Apr 5, 2017 at 10:49 AM, Mario Six wrote: > > Hi Jelle, > > > > On Tue, Apr 4, 2017 at 11:59 PM, Jelle van der Waa wrote: > >> @@ -20,6 +20,19 @@ > >> #define

Re: [U-Boot] [PATCH 00/19] fdt: Move to the new upstream pylibfdt library

2017-04-19 Thread Tom Rini
On Tue, Apr 18, 2017 at 10:48:07AM -0600, Simon Glass wrote: > Hi Tom, > > On 18 April 2017 at 10:33, Tom Rini wrote: > > On Tue, Apr 18, 2017 at 10:27:37AM -0600, Simon Glass wrote: > >> Hi Tom, > >> > >> On 18 April 2017 at 10:25, Tom Rini wrote: > >> >

[U-Boot] [PATCH] sunxi: Add support for NanoPi M1 board

2017-04-19 Thread Mylène Josserand
NanoPi M1 is a board based on Allwinner H3 CPU. This commit adds the support for this platform with: - a device tree which enables UART, LEDs, GPIO key switch, 3 USB host ports and the SD-card - a defconfig file for minimal support - a section in MAINTAINERS (add myself) Based on the

Re: [U-Boot] [PATCH v2] pinctrl: Kconfig: sort pinctrl config options to prevent future clutter

2017-04-19 Thread Daniel Schwierzeck
Am 19.04.2017 um 15:42 schrieb Philipp Tomsich: > This originally started out as > "pinctrl: Kconfig: reorder to keep Rockchip options together" > and tried to keep the Rockchip-related config options together. > > However, we now rewrite all chip-specific driver options to start > with

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

2017-04-19 Thread Marek Vasut
On 04/19/2017 03:44 PM, Sylvain Lemieux wrote: > From: Liam Beguin > > Add DM support for i2c functions. > > Signed-off-by: Liam Beguin > Signed-off-by: Sylvain Lemieux > --- > Changes from v1 to v2: > * Do not request udevice on

[U-Boot] [PATCH v2] usb: lpc32xx: add i2c DM support

2017-04-19 Thread Sylvain Lemieux
From: Liam Beguin Add DM support for i2c functions. Signed-off-by: Liam Beguin Signed-off-by: Sylvain Lemieux --- Changes from v1 to v2: * Do not request udevice on each single i2c write. Note: * This patch is require as part of

[U-Boot] [PATCH v2] pinctrl: Kconfig: sort pinctrl config options to prevent future clutter

2017-04-19 Thread Philipp Tomsich
This originally started out as "pinctrl: Kconfig: reorder to keep Rockchip options together" and tried to keep the Rockchip-related config options together. However, we now rewrite all chip-specific driver options to start with CONFIG_PINCTRL_ (with the inadvertent changes to related

[U-Boot] [PATCH] patman: encode CC list to UTF-8

2017-04-19 Thread Philipp Tomsich
This change encodes the CC list to UTF-8 to avoid failures on maintainer-addresses that include non-ASCII characters (observed on Debian 7.11 with Python 2.7.3). Without this, I get the following failure: Traceback (most recent call last): File "tools/patman/patman", line 159, in

Re: [U-Boot] [PATCH] rockchip: mkimage: remove (left-over) assignment w/o effect [coverity]

2017-04-19 Thread Tom Rini
On Wed, Apr 19, 2017 at 03:09:04PM +0200, Philipp Tomsich wrote: > An assignment (of a value to itself) was left over (after removing and > addition from the line) from moving the common padding code into > rkcommon_vrec_header. > > This change removes this to avoid a spurious warning in static

Re: [U-Boot] [U-Boot, 1/1] fsl/sata: correctly identify failed malloc

2017-04-19 Thread Tom Rini
On Sat, Apr 15, 2017 at 03:31:53PM +0200, xypron.g...@gmx.de wrote: > After allocating sata->cmd_hdr_tbl_offset we have to check > this variable and not variable sata. > > The problem was indicated by cppcheck. > > Signed-off-by: Heinrich Schuchardt > Reviewed-by: Tom Rini

  1   2   3   >