Re: [U-Boot] [PATCH 1/1] board/ls2080ardb: Disable SD-related GPIO programming

2017-06-20 Thread Priyanka Jain
> -Original Message- > From: York Sun > Sent: Wednesday, June 14, 2017 2:16 AM > To: Santan Kumar ; u-boot@lists.denx.de > Cc: Priyanka Jain > Subject: Re: [PATCH 1/1] board/ls2080ardb: Disable SD-related GPIO > programming > > On 06/08/2017 11:16 PM, Santan Kumar wrote: > > LS2080ARDB/

Re: [U-Boot] [PATCH] bdinfo: print fdt_blob

2017-06-20 Thread Lokesh Vutla
On Wednesday 21 June 2017 09:52 AM, Heiko Schocher wrote: > for debugging it is handy to know the fdt_blob > address. So print it in bdinfo. > > Signed-off-by: Heiko Schocher > --- Nice. Reviewed-by: Lokesh Vutla Thanks and regards, Lokesh > > cmd/bdinfo.c | 2 ++ > 1 file changed, 2 inse

Re: [U-Boot] [PATCH v2 06/13] drivers: usb: dwc3: add ti dwc3 peripheral driver with driver model support

2017-06-20 Thread Vignesh R
Hi, On Tuesday 20 June 2017 07:14 PM, Lukasz Majewski wrote: > Hi Marek, Vignesh, [...] >>> >>> All gadget drivers like ether.c or f_mass_storage.c call >>> usb_gadget_handle_interrupts() just passing the index of the USB >>> instance. This does not help at all in dm case. What we would need >>> i

Re: [U-Boot] [PATCH 1/3] dm: ahci: Add a generic PCI-based AHCI driver

2017-06-20 Thread Bin Meng
Hi Simon, On Wed, Jun 21, 2017 at 11:29 AM, Simon Glass wrote: > Hi Bin, > > On 17 June 2017 at 07:35, Bin Meng wrote: >> This adds support for PCI-based AHCI controller and enables it on >> x86 by default. >> >> Signed-off-by: Bin Meng >> --- >> >> drivers/ata/Kconfig| 7 +++ >> driv

Re: [U-Boot] [PATCH] serial, kconfig: fix menutext

2017-06-20 Thread Stefan Roese
On 21.06.2017 06:23, Heiko Schocher wrote: fix menutext for the options SPL_DM_SERIAL and TPL_DM_SERIAL. Both have the same text as DM_SERIAL, which is confusing. Signed-off-by: Heiko Schocher Reviewed-by: Stefan Roese Thanks, Stefan ___ U-Boot ma

Re: [U-Boot] at91: smartweb board fails with current HEAD

2017-06-20 Thread Heiko Schocher
Hello Wenyou, Am 21.06.2017 um 02:52 schrieb wenyou.y...@microchip.com: -Original Message- From: Heiko Schocher [mailto:h...@denx.de] Sent: 2017年6月20日 22:05 To: Wenyou Yang - A41535 Cc: u-boot@lists.denx.de; Andreas Bießmann Subject: at91: smartweb board fails with current HEAD Hel

[U-Boot] [PATCH] serial, kconfig: fix menutext

2017-06-20 Thread Heiko Schocher
fix menutext for the options SPL_DM_SERIAL and TPL_DM_SERIAL. Both have the same text as DM_SERIAL, which is confusing. Signed-off-by: Heiko Schocher --- drivers/serial/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfi

[U-Boot] [PATCH] bdinfo: print fdt_blob

2017-06-20 Thread Heiko Schocher
for debugging it is handy to know the fdt_blob address. So print it in bdinfo. Signed-off-by: Heiko Schocher --- cmd/bdinfo.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/bdinfo.c b/cmd/bdinfo.c index ff3cce0..ef11e72 100644 --- a/cmd/bdinfo.c +++ b/cmd/bdinfo.c @@ -376,6 +376,8 @@

[U-Boot] [PATCH v6 5/8] usb: dwc2: use dev_read_bool() instead of fdt_getprop()

2017-06-20 Thread Meng Dongyang
Use dev_read_bool() instead of fdt_getprop() to get the property from DTS. And add a comment for "hnp-srp-disable" property to fully describe its effect. Signed-off-by: Meng Dongyang --- Changes in v6: - New patch - Use dev_read_bool() instead of fdt_getprop() - Add a comment for "hnp-srp-disabl

[U-Boot] [PATCH v6 7/8] rockchip: dts: rk3328: support and enable dwc2

2017-06-20 Thread Meng Dongyang
Enable dwc2 controller and add fixed regulator for dwc2 controller to control vbus. Signed-off-by: Meng Dongyang Reviewed-by: Simon Glass --- Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: - add hnp-srp-disable property arch/arm/dts/rk3328-evb.dts | 14

[U-Boot] [PATCH v6 2/8] usb: host: xhci-rockchip: use fixed regulator to control vbus

2017-06-20 Thread Meng Dongyang
Use fixed regulator to control the voltage of vbus and turn off vbus when usb stop. Signed-off-by: Meng Dongyang --- Changes in v6: - Remove #ifdef DM_REGULATOR and DM_USB due to the addition in Kconfig Changes in v5: - Propagate the return value of setting VBus and print error when failed Cha

[U-Boot] [PATCH v6 8/8] rockchip: dts: rk3399: control vbus of typec by fixed regulator

2017-06-20 Thread Meng Dongyang
Add fixed regulator for the port of typec0 and typec1 to control vbus instead of gpio. Signed-off-by: Meng Dongyang Reviewed-by: Simon Glass --- Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None arch/arm/dts/rk3399-evb.dts | 16 ++-- 1 file changed, 1

[U-Boot] [PATCH v6 3/8] rockchip: dts: rk3328: add fix-regulator node for xhci

2017-06-20 Thread Meng Dongyang
The driver changes gpio to fix-regulator to control vbus, so add fix-regulator node in DTS for xhci driver. Signed-off-by: Meng Dongyang --- Changes in v6: - New patch, splited from [PATCH,v5,06/11] arch/arm/dts/rk3328-evb.dts | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-)

[U-Boot] [PATCH v6 4/8] rockchip: configs: rk3328: enable dwc2 driver and config fastboot

2017-06-20 Thread Meng Dongyang
Config dwc2 driver support host and gadget function. Add support of fastboot function. Signed-off-by: Meng Dongyang Reviewed-by: Simon Glass --- Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None configs/evb-rk3328_defconfig| 19 +++

[U-Boot] [PATCH v6 6/8] rockchip: rk3328: board: add support of dwc2 gadget

2017-06-20 Thread Meng Dongyang
Probe dwc2 udc in the function of board_usb_start to enable usb gadget function. Signed-off-by: Meng Dongyang Reviewed-by: Simon Glass --- Changes in v6: None Chagnes in v5: None Changes in v4: None Changes in v3: None board/rockchip/evb_rk3328/evb-rk3328.c | 42 ++

[U-Boot] [PATCH v6 1/8] usb: Kconfig: add depends on features for xhci-rockchip driver

2017-06-20 Thread Meng Dongyang
The xhci-rockchip driver depends on DM_REGULATOR and DM_USB. So add depends on features in Kconfig to make the driver explicitly depend on DM_REGULATOR and DM_USB. Signed-off-by: Meng Dongyang --- Changes in v6: - New patch, add depends on features for xhci-rockchip in Kconfig drivers/usb/host

[U-Boot] [PATCH v6 0/8] rk3328: add support of usb host and gadget

2017-06-20 Thread Meng Dongyang
Add support of usb host and gadget function for rk3328. Changed in v6: - Rebase on the newest code of master branch - Make xhci-rockchip driver depend on DM_REGULATOR and DM_USB - Remove #ifdef DM_RERULATOR and DM_USB in xhci-rockchip driver - Use dev_read_boot() instead of fdt_getprop() in dwc2 d

Re: [U-Boot] [PATCH 1/3] dm: ahci: Add a generic PCI-based AHCI driver

2017-06-20 Thread Simon Glass
Hi Bin, On 17 June 2017 at 07:35, Bin Meng wrote: > This adds support for PCI-based AHCI controller and enables it on > x86 by default. > > Signed-off-by: Bin Meng > --- > > drivers/ata/Kconfig| 7 +++ > drivers/ata/Makefile | 1 + > drivers/ata/ahci-pci.c | 42 +

Re: [U-Boot] OF_PLATDATA questions on rk3399 platfrom

2017-06-20 Thread Simon Glass
Hi Kever, On 23 May 2017 at 02:36, Kever Yang wrote: > Hi Ziyuan, Simon, > > > On 05/20/2017 10:29 AM, Simon Glass wrote: >> >> Hi Ziyuan, >> >> On 8 May 2017 at 01:01, Ziyuan wrote: >>> >>> hi simon, >>> >>> I need to achieve emmc_phy physical address in driver, so that I can >>> configure phy

Re: [U-Boot] binman: 'module' object has no attribute 'FinaliseOutputDir'

2017-06-20 Thread Simon Glass
Hi Kevin, On 2 June 2017 at 14:44, Kevin Hilman wrote: > On Fri, Jun 2, 2017 at 11:00 AM, Simon Glass wrote: >> Hi Kevin, >> >> On 1 June 2017 at 17:08, Kevin Hilman wrote: >>> >>> On Thu, Jun 1, 2017 at 8:23 AM, Simon Glass wrote: >>> > Hi Kevin, >>> > >>> > On 1 June 2017 at 07:55, Kevin Hil

[U-Boot] [PATCH] binman: Put our local modules ahead of system modules

2017-06-20 Thread Simon Glass
If a system module is named the same as one of those used by binman we currently pick the system module. Adjust the ordering so that our modules are chosen instead. The module conflict reported was 'tools' from jira-python. I cannot access that package to test it. Signed-off-by: Simon Glass Repo

[U-Boot] [PATCH v3 2/3] rockchip: video: Makefile: Add soc specific driver for rk3288 mipi dsi

2017-06-20 Thread Eric Gao
Signed-off-by: Eric Gao --- Changes in v2: None Changes in v1: None drivers/video/rockchip/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/video/rockchip/Makefile b/drivers/video/rockchip/Makefile index 600743c..8005003 100644 --- a/drivers/video/rockchip/Makefile +++ b/dri

[U-Boot] [PATCH v3 3/3] rockchip: video: defconfig: Add mipi dsi support for evb-rk3288

2017-06-20 Thread Eric Gao
Add support for rk3288 mipi dsi. Signed-off-by: Eric Gao Reviewed-by: Simon Glass --- Changes in v2: None Changes in v1: -Make the subject more intelligible. configs/evb-rk3288_defconfig | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/configs/evb-rk3288_defconfig

[U-Boot] [PATCH v3 1/3] rockchip: video: mipi: Add rk3288 soc specific driver for mipi dsi

2017-06-20 Thread Eric Gao
Add rk3288 soc specific driver for mipi dsi. Signed-off-by: Eric Gao Reviewed-by: Simon Glass --- Changes in v2: -Cancel the force convert for dev_read_addr return value type. -Change regs type from "void __iomem" to "uintptr_t". Changes in v1: -Change function name from rk_display_enable to

[U-Boot] [PATCH v3 0/3] Add mipi dsi support for evb-rk3288.

2017-06-20 Thread Eric Gao
Changes in v2: -Cancel the force convert for dev_read_addr return value type. -Change regs type from "void __iomem" to "uintptr_t" for the head file. Changes in v1: -Change function name from rk_display_enable to rk_mipi_enable. -Use IS_ERR to judge the return status. -Use dev_read_addr to repla

[U-Boot] [PATCH v3 3/3] rockchop: video: mipi: Makefile: Add soc specfic driver for rk3399 mipi dsi

2017-06-20 Thread Eric Gao
Add Makefile item for soc specific driver for rk3399 mipi dsi. Signed-off-by: Eric Gao --- Changes in v2: None Changes in v1: None drivers/video/rockchip/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/video/rockchip/Makefile b/drivers/video/rockchip/Make

[U-Boot] [PATCH v3 2/3] rockchip: video: mipi: Split mipi driver into common and specific parts

2017-06-20 Thread Eric Gao
To compatible with different rockchip soc, we split the mipi dirver into common and soc specific parts, and all the soc share the common functions from common driver part. Signed-off-by: Eric Gao --- Changes in v2: -Use dev_read_addr to replace devfdt_get_addr. Changes in v1: -Delete the unuse

[U-Boot] [PATCH v3 1/3] rockchip: defconfig: Increase max video resolution for mipi panel

2017-06-20 Thread Eric Gao
The mipi panel used on evb-rk3399 has a 1920x1200 resolution. But now the max resolution is 1920x1080. So increase it. Signed-off-by: Eric Gao --- Changes in v2: None Changes in v1: -Add title. configs/evb-rk3399_defconfig | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --

[U-Boot] [PATCH v3 0/3] Split rockchip mipi driver into common and specific parts.

2017-06-20 Thread Eric Gao
This patch series split the rockchip mipi dsi driver into common and specific parts to make it possible that different soc share the most common code. Changes in v2: -Use dev_read_addr to replace devfdt_get_addr. Changes in v1: -Add title. -Delete the unused variable. Eric Gao (3): rockchip:

[U-Boot] [PATCH v2] rockchip: video: mipi: Modify format type for debug message

2017-06-20 Thread Eric Gao
Modify format type for debug message. Signed-off-by: Eric Gao --- Changes in v1: -Change the debug message format type because of the change the variable. drivers/video/rockchip/rk_mipi.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/video/rockchip/rk_mip

[U-Boot] [PATCH v4] rockchip: video: mipi: Modify variable type for arm32 compatibility

2017-06-20 Thread Eric Gao
Some address relevant varibable is defined originally as u64. To compatible with arm32, this patch change them to uintptr_t type. Signed-off-by: Eric Gao Reviewed-by: Simon Glass --- Changes in v3: -Cancel the force convert for devfdt_get_addr's return value type. -Change the addr tye from uin

Re: [U-Boot] [PATCH 1/3] dm: blk: Add a way to obtain a block device from its parent

2017-06-20 Thread Simon Glass
Hi Jaehoon, On 8 June 2017 at 21:38, Jaehoon Chung wrote: > On 06/09/2017 12:06 PM, Simon Glass wrote: >> Hi Jaehoon, >> >> On 6 June 2017 at 21:49, Jaehoon Chung wrote: >>> Hi Simon, >>> >>> On 05/28/2017 02:37 AM, Simon Glass wrote: Many devices support a child block device (e.g. MMC, USB

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

2017-06-20 Thread Simon Glass
Hi Peter, On 20 June 2017 at 17:02, Peter Robinson wrote: >> On 20 June 2017 at 05:19, Tom Rini wrote: >>> On Tue, Jun 20, 2017 at 11:15:19AM +0100, Peter Robinson wrote: On Tue, Jun 20, 2017 at 1:47 AM, Tom Rini wrote: > Hey all, > > It's release day and v2017.07-rc2 is out

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

2017-06-20 Thread Jaehoon Chung
From: Minkyu Kang Dear Tom, The following changes since commit 5cafcbab580bac6c7f44ca4a164c422b7e1ecf20: Merge git://git.denx.de/u-boot-net (2017-06-03 18:05:28 -0400) are available in the git repository at: git://git.denx.de/u-boot-samsung master for you to fetch changes up to 2c62e313

Re: [U-Boot] at91: smartweb board fails with current HEAD

2017-06-20 Thread Wenyou.Yang
> -Original Message- > From: Heiko Schocher [mailto:h...@denx.de] > Sent: 2017年6月20日 22:05 > To: Wenyou Yang - A41535 > Cc: u-boot@lists.denx.de; Andreas Bießmann > Subject: at91: smartweb board fails with current HEAD > > Hello Wenyou, > > since your patch: > > commit f8b7fff1d5c529

Re: [U-Boot] Initilize IDE prior environment

2017-06-20 Thread Bin Meng
+Simon On Wed, Jun 21, 2017 at 4:08 AM, Otavio Salvador wrote: > On Tue, Jun 20, 2017 at 2:42 PM, Tom Rini wrote: >> On Mon, Jun 19, 2017 at 11:56:04AM -0300, Otavio Salvador wrote: >> >>> To allow the loading of environment from IDE (for example, using FAT) >>> the initilization of IDE subsyste

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

2017-06-20 Thread Peter Robinson
> On 20 June 2017 at 05:19, Tom Rini wrote: >> On Tue, Jun 20, 2017 at 11:15:19AM +0100, Peter Robinson wrote: >>> On Tue, Jun 20, 2017 at 1:47 AM, Tom Rini wrote: >>> > Hey all, >>> > >>> > It's release day and v2017.07-rc2 is out. I'm mostly happy with the >>> > size of the changes here and I

[U-Boot] [PATCH] dm: core: don't fail to iterate if first one fails to probe

2017-06-20 Thread Rob Clark
efi_disk_register() would try to iterate all the blk devices. But if the first one in the list failed to probe, uclass_first_device() would return NULL and no attempt would be made to register the remaining devices. Also uclass_next_device() needs the same fix. Signed-off-by: Rob Clark --- dri

[U-Boot] [PATCH 2/2] board/db410c: fix fdt address

2017-06-20 Thread Rob Clark
Signed-off-by: Rob Clark --- Maybe there is a better way to not hardcode this? But at least with the build of lk that I have, the fdt table is at 0x81e0. I guess there must be a more robust way to do this, since presumably lk when booting the linux kernel directly somehow passes the fdt addr

[U-Boot] [PATCH 1/2] board/db410c: add missing linker map entries for efi

2017-06-20 Thread Rob Clark
Otherwise the loaded image would miss the efi_runtime sections, and fall over hard when grub (for example) tried to call runtime services located in this section. Signed-off-by: Rob Clark --- board/qualcomm/dragonboard410c/u-boot.lds | 16 1 file changed, 16 insertions(+) diff

[U-Boot] [PATCH 00/14] dm: sata: mmc: Convert a sunxi board to driver model for MMC, SATA

2017-06-20 Thread Simon Glass
At present SCSI support for driver model works only with PCI controllers. This series makes the following changes: - Adjusts SATA/AHCI support to work with non-PCI controllers - Allows driver model to be used for MMC in U-Boot proper without requiring it to be used in SPL - Adjusts sunxi MMC and

Re: [U-Boot] x86 build is broken with GCC 7

2017-06-20 Thread Khem Raj
On Tue, Jun 20, 2017 at 7:47 AM Otavio Salvador < otavio.salva...@ossystems.com.br> wrote: > On Tue, Jun 20, 2017 at 11:41 AM, Tom Rini wrote: > > On Wed, Jun 14, 2017 at 09:53:37AM -0300, Otavio Salvador wrote: > > > >> Hello folks, > >> > >> Testing with current compiler exposed an error: > >>

Re: [U-Boot] Use u-boot to recover bricked NVIDIA SHIELD TV.

2017-06-20 Thread Aaron Kling
For reference, that last link is for the shield portable, not the tablet. But yes, it requires a working bootloader of some form, not really helpful here. I've always just stuck with the default fastboot, never been brave enough to try to get u-boot working due to an almost certain perma-brick chan

Re: [U-Boot] Initilize IDE prior environment

2017-06-20 Thread Otavio Salvador
On Tue, Jun 20, 2017 at 2:42 PM, Tom Rini wrote: > On Mon, Jun 19, 2017 at 11:56:04AM -0300, Otavio Salvador wrote: > >> To allow the loading of environment from IDE (for example, using FAT) >> the initilization of IDE subsystem must come before the environment >> one. >> >> Successfully tested on

Re: [U-Boot] x86 build is broken with GCC 7

2017-06-20 Thread Otavio Salvador
On Tue, Jun 20, 2017 at 12:19 PM, Bin Meng wrote: > On Tue, Jun 20, 2017 at 10:54 PM, Simon Glass wrote: >> +Bin >> >> On 20 June 2017 at 08:47, Otavio Salvador >> wrote: >>> On Tue, Jun 20, 2017 at 11:41 AM, Tom Rini wrote: On Wed, Jun 14, 2017 at 09:53:37AM -0300, Otavio Salvador wrote:

Re: [U-Boot] [PATCH 1/1] efi_loader: disk: iterate only over valid block devices

2017-06-20 Thread Andreas Färber
Am 20.06.2017 um 21:10 schrieb Heinrich Schuchardt: > The efi_loader currently stops iterating over the available > block devices stopping at the first device that fails. > This may imply that no block device is found. > > With the patch efi_loader only iterates over valid devices. > > It is base

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

2017-06-20 Thread Simon Glass
Hi Andy, On 20 June 2017 at 13:02, Andy Shevchenko wrote: > On Tue, Jun 20, 2017 at 9:51 PM, Simon Glass wrote: >> On 20 April 2017 at 03:41, Bin Meng wrote: > >> Andy, any update on this please? Is it still in progress? > > Hi, yes, it is still in progress. > The issue is I have not much time

[U-Boot] [PATCH 1/1] efi_loader: disk: iterate only over valid block devices

2017-06-20 Thread Heinrich Schuchardt
The efi_loader currently stops iterating over the available block devices stopping at the first device that fails. This may imply that no block device is found. With the patch efi_loader only iterates over valid devices. It is based on patch 06d592bf52f6 (dm: core: Add uclass_first/next_device_ch

[U-Boot] Pull request, u-boot-tegra/master

2017-06-20 Thread Tom Warren
Tom, Please pull u-boot-tegra/master into U-Boot/master. Thanks! All Tegra builds are OK, and Stephen's automated test system reports that all tests pass. This is a bug fix, so please try to get it in to the next RC. Thanks. The following changes since commit e2351d5cf1e97408b4c52bafeaa85e0ca85c

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

2017-06-20 Thread Andy Shevchenko
On Tue, Jun 20, 2017 at 9:51 PM, Simon Glass wrote: > On 20 April 2017 at 03:41, Bin Meng wrote: > Andy, any update on this please? Is it still in progress? Hi, yes, it is still in progress. The issue is I have not much time to look at it. Can you remind me what is the summary regarding power

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

2017-06-20 Thread Simon Glass
Hi Andy, On 20 April 2017 at 03:41, Bin Meng wrote: > > Hi Andy, > > On Thu, Apr 20, 2017 at 3:23 PM, Andy Shevchenko > wrote: > > On Thu, Apr 20, 2017 at 5:59 AM, Bin Meng wrote: > >> Hi Andy, > >> > >> On Tue, Apr 18, 2017 at 10:21 PM, Andy Shevchenko > >> wrote: > >>> From: Felipe Balbi >

[U-Boot] http://git.denx.de/u-boot-dm.git cannot be cloned

2017-06-20 Thread Heinrich Schuchardt
Dear custodians, http://git.denx.de/?p=u-boot-dm.git;a=summary declares that http://git.denx.de/u-boot-dm.git is a valid URL to clone the repository. $ git clone http://git.denx.de/u-boot-dm.git Cloning into 'u-boot-dm'... error: Unable to find 69f5087646c69f7d35cf24a777f7469a95ff55f8 under

Re: [U-Boot] [PATCHv3] ARM: rmobile: Add missing config bits

2017-06-20 Thread Tom Rini
On Tue, Jun 20, 2017 at 08:35:15PM +0200, Marek Vasut wrote: > On 06/20/2017 08:32 PM, Tom Rini wrote: > > From: Marek Vasut > > > > The commit "fb82fe385173 configs: Resync defconfigs" resynced all config > > files. This exposed two latent issues with the Gen3 boards in that we > > had not been

Re: [U-Boot] [PATCHv3] ARM: rmobile: Add missing config bits

2017-06-20 Thread Marek Vasut
On 06/20/2017 08:32 PM, Tom Rini wrote: > From: Marek Vasut > > The commit "fb82fe385173 configs: Resync defconfigs" resynced all config > files. This exposed two latent issues with the Gen3 boards in that we > had not been setting CONFIG_DEFAULT_FDT_FILE correctly and had not been > setting CON

[U-Boot] [PATCHv3] ARM: rmobile: Add missing config bits

2017-06-20 Thread Tom Rini
From: Marek Vasut The commit "fb82fe385173 configs: Resync defconfigs" resynced all config files. This exposed two latent issues with the Gen3 boards in that we had not been setting CONFIG_DEFAULT_FDT_FILE correctly and had not been setting CONFIG_CMD_MMC. Fix both of these. Fixes: fb82fe38517

Re: [U-Boot] [PATCHv2] ARM: rmobile: Add missing config bits after resync

2017-06-20 Thread Tom Rini
On Tue, Jun 20, 2017 at 08:22:15PM +0200, Marek Vasut wrote: > On 06/20/2017 08:06 PM, Tom Rini wrote: > > From: Marek Vasut > > > > The commit "fb82fe385173 configs: Resync defconfigs" broke all Gen3 > > boards by removing config options from the config which are needed > > for correct build. Re

Re: [U-Boot] [PATCH v3] regmap: add support for address cell 2

2017-06-20 Thread Simon Glass
Hi Kever, On 18 June 2017 at 22:11, Simon Glass wrote: > > Hi Kever, > > On 7 May 2017 at 19:45, Kever Yang wrote: > > Hi Heiko, > > > > > > Thanks for your comments. > > > > > > On 05/05/2017 09:10 PM, Heiko Stuebner wrote: > >> > >> Hi Kever, > >> > >> Am Freitag, 5. Mai 2017, 10:39:35 CEST sc

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

2017-06-20 Thread Simon Glass
Hi, On 20 June 2017 at 05:19, Tom Rini wrote: > On Tue, Jun 20, 2017 at 11:15:19AM +0100, Peter Robinson wrote: >> On Tue, Jun 20, 2017 at 1:47 AM, Tom Rini wrote: >> > Hey all, >> > >> > It's release day and v2017.07-rc2 is out. I'm mostly happy with the >> > size of the changes here and I did

Re: [U-Boot] [PATCH v7 09/10] usb: host: ohci-generic: add RESET support

2017-06-20 Thread Simon Glass
On 20 June 2017 at 03:59, wrote: > From: Patrice Chotard > > use array to save deasserted resets reference in order to > assert them in case of error during probe() or during driver > removal. > > Signed-off-by: Patrice Chotard > --- > v7: _ replace reset_count() by ofnode_count_phandle_wit

Re: [U-Boot] [PATCH] dm: video: fix abuse of enum

2017-06-20 Thread Simon Glass
Hi Lothar, On 20 June 2017 at 04:25, Lothar Waßmann wrote: > LCD_MAX_WIDTH, LCD_MAX_HEIGHT and LCD_MAX_LSBPP are not alternative > values for one specific variable, but unrelated entities with distinct > purposes. There is no use defining them as values of an 'enum'. Can you explain why #define

Re: [U-Boot] [PATCH 14/14] dm: sunxi: Move Linksprite_pcDuino3 to use DM for MMC, SATA

2017-06-20 Thread Simon Glass
Hi Maxime, On 20 June 2017 at 00:45, Maxime Ripard wrote: > Hi Simon, > > On Mon, Jun 19, 2017 at 11:11:31AM -0600, Simon Glass wrote: >> Move this board over to driver model for MMC and SATA. This means that it >> uses CONFIG_BLK as well. In SPL these options remain turned off since it >> increa

Re: [U-Boot] [PATCH] api: Define a default mmc max device

2017-06-20 Thread Simon Glass
On 20 June 2017 at 00:09, Emmanuel Vadot wrote: > Define a default number of 1 for mmc max device if board config didn't > specify one. > > Signed-off-by: Emmanuel Vadot > --- > api/api_storage.c | 3 +++ > 1 file changed, 3 insertions(+) Reviewed-by: Simon Glass __

Re: [U-Boot] [PATCH v7 04/10] dm: core: add ofnode_count_phandle_with_args()

2017-06-20 Thread Simon Glass
On 20 June 2017 at 03:59, wrote: > From: Patrice Chotard > > This function is usefull to get phandle number contained > in a property list. > For example, this allows to allocate the right amount > of memory to keep clock's reference contained into the > "clocks" property. > > To implement it,

Re: [U-Boot] [PATCH] ARM: rmobile: Shuffle defconfig around

2017-06-20 Thread Marek Vasut
On 06/20/2017 08:07 PM, Tom Rini wrote: > On Tue, Jun 20, 2017 at 03:38:48PM +0200, Marek Vasut wrote: > >> Just shuffle the defconfigs around with savedefconfig, no functional change. >> >> Signed-off-by: Marek Vasut >> Cc: Nobuhiro Iwamatsu >> --- >> configs/r8a7795_salvator-x_defconfig | 4 +

Re: [U-Boot] [PATCHv2] ARM: rmobile: Add missing config bits after resync

2017-06-20 Thread Marek Vasut
On 06/20/2017 08:06 PM, Tom Rini wrote: > From: Marek Vasut > > The commit "fb82fe385173 configs: Resync defconfigs" broke all Gen3 > boards by removing config options from the config which are needed > for correct build. Reinstate those. > > Signed-off-by: Marek Vasut > Cc: Nobuhiro Iwamatsu

Re: [U-Boot] [PATCH] ARM: rmobile: Shuffle defconfig around

2017-06-20 Thread Tom Rini
On Tue, Jun 20, 2017 at 03:38:48PM +0200, Marek Vasut wrote: > Just shuffle the defconfigs around with savedefconfig, no functional change. > > Signed-off-by: Marek Vasut > Cc: Nobuhiro Iwamatsu > --- > configs/r8a7795_salvator-x_defconfig | 4 ++-- > configs/r8a7796_salvator-x_defconfig | 4 +

[U-Boot] [PATCHv2] ARM: rmobile: Add missing config bits after resync

2017-06-20 Thread Tom Rini
From: Marek Vasut The commit "fb82fe385173 configs: Resync defconfigs" broke all Gen3 boards by removing config options from the config which are needed for correct build. Reinstate those. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- configs/r8a7795_salvator-x_defconfig | 1 + configs

Re: [U-Boot] Initilize IDE prior environment

2017-06-20 Thread Tom Rini
On Mon, Jun 19, 2017 at 11:56:04AM -0300, Otavio Salvador wrote: > To allow the loading of environment from IDE (for example, using FAT) > the initilization of IDE subsystem must come before the environment > one. > > Successfully tested on QEMU x86. > > Signed-off-by: Otavio Salvador > --- >

Re: [U-Boot] [PATCH] tegra: mmc: Set the bus width correctly

2017-06-20 Thread Thierry Reding
On Wed, Jun 14, 2017 at 03:33:18PM +, Tom Warren wrote: > Thanks, Simon. I'll take it in to u-boot-tegra/master for the next PR. I assume this means it'll make v2017.07? Currently v2017.07-rc2 is broken, and this patch fixes the regression for me: Tested-by: Thierry Reding > > -Original

Re: [U-Boot] x86 build is broken with GCC 7

2017-06-20 Thread Bin Meng
Hi, On Tue, Jun 20, 2017 at 10:54 PM, Simon Glass wrote: > +Bin > > > > On 20 June 2017 at 08:47, Otavio Salvador > wrote: >> On Tue, Jun 20, 2017 at 11:41 AM, Tom Rini wrote: >>> On Wed, Jun 14, 2017 at 09:53:37AM -0300, Otavio Salvador wrote: >>> Hello folks, Testing with curre

Re: [U-Boot] [PATCH 05/20] usb: hub: Update handling connect status/change in usb_scan_port()

2017-06-20 Thread Dinh Nguyen
On 06/16/2017 09:19 AM, Marek Vasut wrote: > On 06/16/2017 03:31 PM, Bin Meng wrote: >> It was observed that on Intel MinnowMax board, when xHCI is enabled >> in the BayTrail SoC, with a USB 3.0 device connected to the bottom >> USB 3.0 port (mapped to xHCI root port #7), its PORTSC register is >

[U-Boot] [PATCH] mtd: OneNAND: Fix onenand_block_markbad

2017-06-20 Thread Ladislav Michl
commit dfe64e2c89731a3f9950d7acd8681b68df2bae03 Author: Sergey Lapin Date: Mon Jan 14 03:46:50 2013 + mtd: resync with Linux-3.7.1 modified onenand_block_markbad to call mtd_block_markbad, but as _block_markbad function pointer used by mtd_block_markbad to do actual job is

[U-Boot] [PATCH 2/2] pinctrl: stm32: add set_state ops

2017-06-20 Thread patrice.chotard
From: Christophe Kerello set_state_ops is kept under PINCTRL_FULL flag in order to decrease memory footprint in some configuration. PINCTRL_FULL can be enabled for debug purpose. Signed-off-by: Christophe Kerello Signed-off-by: Patrice Chotard --- drivers/pinctrl/pinctrl_stm32.c | 11

[U-Boot] [PATCH 0/2] stm32 pinctrl improvements

2017-06-20 Thread patrice.chotard
From: Patrice Chotard This series improves the stm32 pinctrl driver by adding: _ pinmux list support _ set_state ops callback support Christophe Kerello (2): pinctrl: stm32: handle a configuration list pinctrl: stm32: add set_state ops drivers/pinctrl/pinctrl_stm32.c | 62 +

[U-Boot] [PATCH 1/2] pinctrl: stm32: handle a configuration list

2017-06-20 Thread patrice.chotard
From: Christophe Kerello This patch handles a configuration list behind pinctrl-0 like pinctrl-0 = <&qspi_clk_a &qspi_bk1_a &qspi_bk2_a>; Signed-off-by: Christophe Kerello Acked-by: Vikas MANOCHA --- drivers/pinctrl/pinctrl_stm32.c | 51 ++--- 1 file change

Re: [U-Boot] x86 build is broken with GCC 7

2017-06-20 Thread Simon Glass
+Bin On 20 June 2017 at 08:47, Otavio Salvador wrote: > On Tue, Jun 20, 2017 at 11:41 AM, Tom Rini wrote: >> On Wed, Jun 14, 2017 at 09:53:37AM -0300, Otavio Salvador wrote: >> >>> Hello folks, >>> >>> Testing with current compiler exposed an error: >>> >>> arch/x86/lib/built-in.o: In function

Re: [U-Boot] x86 build is broken with GCC 7

2017-06-20 Thread Otavio Salvador
On Tue, Jun 20, 2017 at 11:41 AM, Tom Rini wrote: > On Wed, Jun 14, 2017 at 09:53:37AM -0300, Otavio Salvador wrote: > >> Hello folks, >> >> Testing with current compiler exposed an error: >> >> arch/x86/lib/built-in.o: In function `__wrap___udivdi3': >> /home/otavio/src/u-boot/arch/x86/lib/gcc.c:

[U-Boot] [GIT PULL] Xilinx patches for v2017.07

2017-06-20 Thread Michal Simek
Hi Tom, please pull these patches to your tree. Travis is not showing me any problem. Thanks, Michal The following changes since commit b9f7d8817424bb328d5eac9b16196a1189b8b6f5: powerpc, 5xx: remove some "5xx" remains (2017-06-16 10:14:56 -0400) are available in the git repository at:

Re: [U-Boot] x86 build is broken with GCC 7

2017-06-20 Thread Tom Rini
On Wed, Jun 14, 2017 at 09:53:37AM -0300, Otavio Salvador wrote: > Hello folks, > > Testing with current compiler exposed an error: > > arch/x86/lib/built-in.o: In function `__wrap___udivdi3': > /home/otavio/src/u-boot/arch/x86/lib/gcc.c:25: undefined reference to > `__normal___udivdi3' > > Is

[U-Boot] at91: smartweb board fails with current HEAD

2017-06-20 Thread Heiko Schocher
Hello Wenyou, since your patch: commit f8b7fff1d5c5297d290acab1e398bd410b0c2e68 Author: Wenyou Yang Date: Fri Apr 14 15:01:28 2017 +0800 serial: atmel_usart: Add clk support smartweb board fails booting (and I fear at last all other at91 based siemens boards also). Reverting your patch

Re: [U-Boot] [PATCH v2 06/13] drivers: usb: dwc3: add ti dwc3 peripheral driver with driver model support

2017-06-20 Thread Lukasz Majewski
Hi Marek, Vignesh, > On 06/20/2017 02:00 PM, Vignesh R wrote: > > Hi Marek, > > > > On Thursday 15 June 2017 10:27 PM, Marek Vasut wrote: > >> On 06/14/2017 02:25 PM, Vignesh R wrote: > >> [...] > > /** > > * dwc3_omap_uboot_init - dwc3 omap uboot initialization code > > * @dev:

[U-Boot] [PATCH] ARM: rmobile: Shuffle defconfig around

2017-06-20 Thread Marek Vasut
Just shuffle the defconfigs around with savedefconfig, no functional change. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- configs/r8a7795_salvator-x_defconfig | 4 ++-- configs/r8a7796_salvator-x_defconfig | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/configs/

[U-Boot] [PATCH] ARM: rmobile: Add missing config bits after resync

2017-06-20 Thread Marek Vasut
The commit "fb82fe385173 configs: Resync defconfigs" broke all Gen3 boards by removing config options from the config which are needed for correct build. Reinstate those. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- configs/r8a7795_salvator-x_defconfig | 2 ++ configs/r8a7796_salvator-x

Re: [U-Boot] [PATCH v7 08/10] usb: host: ohci-generic: add CLOCK support

2017-06-20 Thread Patrice CHOTARD
Hi Lothar On 06/20/2017 02:06 PM, Lothar Waßmann wrote: > Hi, > > On Tue, 20 Jun 2017 11:59:09 +0200 patrice.chot...@st.com wrote: >> From: Patrice Chotard >> >> use array to save enabled clocks reference in order to >> disabled them in case of error during probe() or during >> driver removal. >

Re: [U-Boot] [PATCH v7 03/10] clk: add clk_disable_all()

2017-06-20 Thread Patrice CHOTARD
Hi Lothar On 06/20/2017 02:11 PM, Lothar Waßmann wrote: > Hi, > > On Tue, 20 Jun 2017 11:59:04 +0200 patrice.chot...@st.com wrote: >> From: Patrice Chotard >> >> Add clk_disable_all() method which Request/Disable/Free an >> array of clocks that has been previously requested by >> clk_request/get

[U-Boot] [PATCH] ARM: dts: omap3: Fix dts->dtb typo

2017-06-20 Thread Marek Vasut
Trivial, fix typo. Signed-off-by: Marek Vasut Cc: Tom Rini --- arch/arm/dts/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile index 05bd2a1d7f..7b405e5c93 100644 --- a/arch/arm/dts/Makefile +++ b/arch/arm/dts/Makefile @@ -

Re: [U-Boot] [PATCH 0/7] rockchip: Split sdram common function into sdram_common.c

2017-06-20 Thread Dr. Philipp Tomsich
Heiko & Kever, just a quick update (to avoid any duplication of effort)… We have implemented DRAM initialisation in UBoot/SPL for the RK3368-uQ7 already, but it will be a few more days before we can provide patches (the SPL stage is hopelessly large once we MMC support in SPL is enabled … so this

Re: [U-Boot] [PATCH v7 06/10] usb: host: ehci-generic: add error path and .remove callback

2017-06-20 Thread Patrice CHOTARD
Hi Lothar On 06/20/2017 01:32 PM, Lothar Waßmann wrote: > Hi, > > On Tue, 20 Jun 2017 11:59:07 +0200 patrice.chot...@st.com wrote: >> From: Patrice Chotard >> >> Use an array to save enabled clocks reference and deasserted resets >> in order to respectively disabled and asserted them in case of

Re: [U-Boot] [PATCH v7 06/10] usb: host: ehci-generic: add error path and .remove callback

2017-06-20 Thread Patrice CHOTARD
Hi Marek On 06/20/2017 12:09 PM, Marek Vasut wrote: > On 06/20/2017 11:59 AM, patrice.chot...@st.com wrote: >> From: Patrice Chotard >> >> Use an array to save enabled clocks reference and deasserted resets >> in order to respectively disabled and asserted them in case of error >> during probe()

Re: [U-Boot] [PATCH v2] efi: Export mbr partition for EFI.

2017-06-20 Thread Alexander Graf
On 20.06.17 14:11, Emmanuel Vadot wrote: On Tue, 20 Jun 2017 14:08:08 +0200 Alexander Graf wrote: On 20.06.17 14:02, Ard Biesheuvel wrote: On 20 June 2017 at 13:55, Alexander Graf wrote: On 20.06.17 08:35, Emmanuel Vadot wrote: While MBR partition isn't supposed to work in a EFI env

Re: [U-Boot] [PATCH v7 03/10] clk: add clk_disable_all()

2017-06-20 Thread Lothar Waßmann
Hi, On Tue, 20 Jun 2017 11:59:04 +0200 patrice.chot...@st.com wrote: > From: Patrice Chotard > > Add clk_disable_all() method which Request/Disable/Free an > array of clocks that has been previously requested by > clk_request/get_by_*() > > Signed-off-by: Patrice Chotard > Reviewed-by: Simon G

Re: [U-Boot] [PATCH v2] efi: Export mbr partition for EFI.

2017-06-20 Thread Emmanuel Vadot
On Tue, 20 Jun 2017 14:08:08 +0200 Alexander Graf wrote: > > > On 20.06.17 14:02, Ard Biesheuvel wrote: > > On 20 June 2017 at 13:55, Alexander Graf wrote: > >> > >> > >> On 20.06.17 08:35, Emmanuel Vadot wrote: > >>> > >>> While MBR partition isn't supposed to work in a EFI environment some >

Re: [U-Boot] [PATCH v2] efi: Export mbr partition for EFI.

2017-06-20 Thread Alexander Graf
On 20.06.17 14:02, Ard Biesheuvel wrote: On 20 June 2017 at 13:55, Alexander Graf wrote: On 20.06.17 08:35, Emmanuel Vadot wrote: While MBR partition isn't supposed to work in a EFI environment some It actually is supposed to work :). I've used it on edk2 based systems a few times alre

Re: [U-Boot] [PATCH v7 08/10] usb: host: ohci-generic: add CLOCK support

2017-06-20 Thread Lothar Waßmann
Hi, On Tue, 20 Jun 2017 11:59:09 +0200 patrice.chot...@st.com wrote: > From: Patrice Chotard > > use array to save enabled clocks reference in order to > disabled them in case of error during probe() or during > driver removal. > > Signed-off-by: Patrice Chotard > --- > v7: _ replace clk_cou

Re: [U-Boot] [PATCH v2 06/13] drivers: usb: dwc3: add ti dwc3 peripheral driver with driver model support

2017-06-20 Thread Marek Vasut
On 06/20/2017 02:00 PM, Vignesh R wrote: > Hi Marek, > > On Thursday 15 June 2017 10:27 PM, Marek Vasut wrote: >> On 06/14/2017 02:25 PM, Vignesh R wrote: >> [...] > /** > * dwc3_omap_uboot_init - dwc3 omap uboot initialization code > * @dev: struct dwc3_omap_device containing ini

Re: [U-Boot] [PATCH v2] efi: Export mbr partition for EFI.

2017-06-20 Thread Ard Biesheuvel
On 20 June 2017 at 13:55, Alexander Graf wrote: > > > On 20.06.17 08:35, Emmanuel Vadot wrote: >> >> While MBR partition isn't supposed to work in a EFI environment some > > > It actually is supposed to work :). I've used it on edk2 based systems a few > times already. > Correct. Even though UEFI

Re: [U-Boot] [PATCH v2 06/13] drivers: usb: dwc3: add ti dwc3 peripheral driver with driver model support

2017-06-20 Thread Vignesh R
Hi Marek, On Thursday 15 June 2017 10:27 PM, Marek Vasut wrote: > On 06/14/2017 02:25 PM, Vignesh R wrote: > [...] /** * dwc3_omap_uboot_init - dwc3 omap uboot initialization code * @dev: struct dwc3_omap_device containing initialization data @@ -462,3 +487,145 @@ MODULE_A

Re: [U-Boot] [PATCH v2] efi: Export mbr partition for EFI.

2017-06-20 Thread Alexander Graf
On 20.06.17 08:35, Emmanuel Vadot wrote: While MBR partition isn't supposed to work in a EFI environment some It actually is supposed to work :). I've used it on edk2 based systems a few times already. board rely partially or fully on MBR (BeagleBone, RPI and probably others). This export

Re: [U-Boot] [PATCH] rockchip: rk3288: Add reset reason detection

2017-06-20 Thread Wadim Egorov
Hello Kever, Am 15.06.2017 um 05:04 schrieb Kever Yang: > Hi Wadim, > > > On 06/13/2017 07:20 PM, Wadim Egorov wrote: >> Sometimes it's helpful to know the reset reason caused in the SoC. >> Add reset reason detection for the RK3288 SoC. >> This will set an environemt variable which represents th

Re: [U-Boot] [PATCH v7 06/10] usb: host: ehci-generic: add error path and .remove callback

2017-06-20 Thread Lothar Waßmann
Hi, On Tue, 20 Jun 2017 11:59:07 +0200 patrice.chot...@st.com wrote: > From: Patrice Chotard > > Use an array to save enabled clocks reference and deasserted resets > in order to respectively disabled and asserted them in case of error > during probe() or during driver removal. > > Signed-off-b

  1   2   >