Re: [U-Boot] [PATCH 10/16] usb: xhci: Program 'route string' in the input slot context

2017-06-23 Thread Bin Meng
Hi Marek, On Sat, Jun 24, 2017 at 2:02 AM, Marek Vasut wrote: > On 06/23/2017 11:54 AM, Bin Meng wrote: >> xHCI spec says: the values of the 'route string' field shall be >> initialized by the first 'Address Device' command issued to a >> device slot, and shall not be modified by any other comman

Re: [U-Boot] [PATCH 07/16] usb: hub: Translate USB 3.0 hub port status into old version

2017-06-23 Thread Bin Meng
Hi Marek, On Sat, Jun 24, 2017 at 1:59 AM, Marek Vasut wrote: > On 06/23/2017 11:54 AM, Bin Meng wrote: >> USB 3.0 hub port status field has different bit positions from 2.0 >> hubs. Since U-Boot only understands the old version, translate the >> new one into the old one. > > This is quite hairy.

Re: [U-Boot] [PATCH 05/16] usb: hub: Add a new API to test if a hub device is root hub

2017-06-23 Thread Bin Meng
Hi Marek, On Sat, Jun 24, 2017 at 1:57 AM, Marek Vasut wrote: > On 06/23/2017 11:54 AM, Bin Meng wrote: >> Sometimes we need know if a given hub device is root hub or not. >> Add a new API to test this. >> >> Signed-off-by: Bin Meng >> --- >> >> common/usb_hub.c | 10 ++ >> include/usb.

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

2017-06-23 Thread Tom Rini
On Fri, Jun 23, 2017 at 04:35:43PM -0400, Rob Clark wrote: > On Fri, Jun 23, 2017 at 4:24 PM, Rob Clark wrote: > > On Fri, Jun 23, 2017 at 10:32 AM, Tom Rini wrote: > >> On Tue, Jun 20, 2017 at 05:55:25PM -0400, Rob Clark wrote: > >> > >>> Signed-off-by: Rob Clark > >>> --- > >>> Maybe there is

[U-Boot] [RFC/PATCH 2/2] ni: zynq: Add support for NI Ettus Research Project Sulfur Rev3 SDR

2017-06-23 Thread Moritz Fischer
Add support for second revision of NI Ettus Research Project Sulfur Revision 3 SDR board. Signed-off-by: Moritz Fischer --- arch/arm/dts/Makefile| 1 + arch/arm/dts/zynq-ni-sulfur-rev3-uboot.dtsi | 26 ++ arch/arm/dts/zynq-ni-sulfur-rev3.dts | 325

[U-Boot] [RFC/PATCH 1/2] ni: zynq: Add support for NI Ettus Research Project Sulfur Rev2 SDR

2017-06-23 Thread Moritz Fischer
Add support for second revision of NI Ettus Research Project Sulfur Revision 2 SDR board. Signed-off-by: Moritz Fischer --- arch/arm/dts/Makefile| 1 + arch/arm/dts/zynq-ni-sulfur-rev2-uboot.dtsi | 16 ++ arch/arm/dts/zynq-ni-sulfur-rev2.dts | 275

[U-Boot] [RFC/PATCH 0/2] Support for NI Ettus Research Project Sulfur

2017-06-23 Thread Moritz Fischer
Hi Michal, this series adds (basic) support for the NI Ettus Research Project Sulfur SDR. I have a bunch of follow up patches that still need cleanup, so maybe we can start with this. I'm not entirely happy with duplicating a large amount of code from the board/xilinx/zynq/board.c file so sugges

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

2017-06-23 Thread Rob Clark
On Fri, Jun 23, 2017 at 4:24 PM, Rob Clark wrote: > On Fri, Jun 23, 2017 at 10:32 AM, Tom Rini wrote: >> On Tue, Jun 20, 2017 at 05:55:25PM -0400, Rob Clark wrote: >> >>> Signed-off-by: Rob Clark >>> --- >>> Maybe there is a better way to not hardcode this? But at least with >>> the build of lk

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

2017-06-23 Thread Rob Clark
On Fri, Jun 23, 2017 at 10:32 AM, Tom Rini wrote: > On Tue, Jun 20, 2017 at 05:55:25PM -0400, Rob Clark wrote: > >> 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 >> t

Re: [U-Boot] [PATCH v4] powerpc: Restore core of mpc8xx

2017-06-23 Thread Tom Rini
On Fri, Jun 23, 2017 at 08:39:15PM +0200, Wolfgang Denk wrote: > Dear Tom, > > In message <20170623140934.GD27196@bill-the-cat> you wrote: > > > > Since he addressed a number of the comments from the previous > > discussions, it would be helpful to point out the things that were > > overlooked, t

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

2017-06-23 Thread Kevin Hilman
Simon Glass writes: > 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.

Re: [U-Boot] [PATCH v4] powerpc: Restore core of mpc8xx

2017-06-23 Thread Wolfgang Denk
Dear Tom, In message <20170623140934.GD27196@bill-the-cat> you wrote: > > Since he addressed a number of the comments from the previous > discussions, it would be helpful to point out the things that were > overlooked, thanks! I thought this should be clear from the previous discussion. The maj

Re: [U-Boot] [PATCH 05/16] usb: hub: Add a new API to test if a hub device is root hub

2017-06-23 Thread Marek Vasut
On 06/23/2017 11:54 AM, Bin Meng wrote: > Sometimes we need know if a given hub device is root hub or not. > Add a new API to test this. > > Signed-off-by: Bin Meng > --- > > common/usb_hub.c | 10 ++ > include/usb.h| 8 > 2 files changed, 18 insertions(+) > > diff --git

Re: [U-Boot] [PATCH 10/16] usb: xhci: Program 'route string' in the input slot context

2017-06-23 Thread Marek Vasut
On 06/23/2017 11:54 AM, Bin Meng wrote: > xHCI spec says: the values of the 'route string' field shall be > initialized by the first 'Address Device' command issued to a > device slot, and shall not be modified by any other command. > > So far U-Boot does not program this field, and it does not pr

Re: [U-Boot] [PATCH 07/16] usb: hub: Translate USB 3.0 hub port status into old version

2017-06-23 Thread Marek Vasut
On 06/23/2017 11:54 AM, Bin Meng wrote: > USB 3.0 hub port status field has different bit positions from 2.0 > hubs. Since U-Boot only understands the old version, translate the > new one into the old one. This is quite hairy. I'd rather see some protocol version agnostic flag field rather than pa

Re: [U-Boot] [PATCH 05/16] usb: hub: Add a new API to test if a hub device is root hub

2017-06-23 Thread Marek Vasut
On 06/23/2017 11:54 AM, Bin Meng wrote: > Sometimes we need know if a given hub device is root hub or not. > Add a new API to test this. > > Signed-off-by: Bin Meng > --- > > common/usb_hub.c | 10 ++ > include/usb.h| 8 > 2 files changed, 18 insertions(+) > > diff --git

Re: [U-Boot] [PATCH 04/16] usb: hub: Use 'struct usb_hub_device' as hub device's uclass_priv

2017-06-23 Thread Marek Vasut
On 06/23/2017 11:54 AM, Bin Meng wrote: > Use USB hub device's dev->uclass_priv to point to 'usb_hub_device' > so that with driver model usb_hub_reset() and usb_hub_allocate() > are no longer needed. > > Signed-off-by: Bin Meng Can you trim down the ifdeffery somehow or keep it more contained ?

Re: [U-Boot] [PATCH 02/16] usb: xhci-pci: Clean up the driver a little bit

2017-06-23 Thread Marek Vasut
On 06/23/2017 11:54 AM, Bin Meng wrote: > This cleans up the driver a little bit. > > Signed-off-by: Bin Meng > --- > > drivers/usb/host/xhci-pci.c | 16 ++-- > 1 file changed, 2 insertions(+), 14 deletions(-) > > diff --git a/drivers/usb/host/xhci-pci.c b/drivers/usb/host/xhci-pci

Re: [U-Boot] [PATCH 01/16] usb: xhci-pci: Drop non-DM version of xhci-pci driver

2017-06-23 Thread Marek Vasut
On 06/23/2017 11:54 AM, Bin Meng wrote: > As there is no board that currently uses xhci-pci driver without DM > USB, drop its support and leave only DM support. You should add something into the Kconfig to make this driver depend on DM_USB ; unless it's already there. > Signed-off-by: Bin Meng >

[U-Boot] [PATCH v2 2/2] atmel, at91: fix smartweb board

2017-06-23 Thread Heiko Schocher
since commit: f8b7fff1d5c5 "serial: atmel_usart: Add clk support" smartweb board comes not up anymore. Fix it. Signed-off-by: Heiko Schocher --- Changes in v2: None arch/arm/dts/at91sam9260-smartweb.dts | 2 ++ board/siemens/smartweb/smartweb.c | 9 - configs/smartweb_defconfig

[U-Boot] [PATCH v2 1/2] drivers, usb, gadget: fix compiler warnings for at91_udc.c

2017-06-23 Thread Heiko Schocher
fix warnings: drivers/usb/gadget/at91_udc.c:1344:12: warning: 'at91rm9200_udc_init' defined but not used [-Wunused-function] drivers/usb/gadget/at91_udc.c:1379:13: warning: 'at91rm9200_udc_pullup' defined but not used [-Wunused-function] drivers/usb/gadget/at91_udc.c:1476:12: warning: 'at91sam926

[U-Boot] [PATCH v2 0/2] at91: fix smartweb board support

2017-06-23 Thread Heiko Schocher
since commit: f8b7fff1d5c5 "serial: atmel_usart: Add clk support" smartweb board comes not up anymore. Fix it. While at it, fix compiler warning for drivers/usb/gadget/at91_udc.c Patchset comiles clean on travis. Changes in v2: - add comment from Lukasz Majewski and Tom Rini delete not used f

[U-Boot] [PATCH] mii: Add mii_resolve_flowctrl_fdx()

2017-06-23 Thread Yuiko.Oshino
From: Yuiko Oshino Add an mii helper function to resolve flow control status per IEEE 802.3-2005 table 28B-3. This function was taken from the linux source tree. Signed-off-by: Yuiko Oshino --- include/linux/mii.h | 23 +++ 1 file changed, 23 insertions(+) diff --git a/in

Re: [U-Boot] [PATCH 1/4] powerpc, 8xx: add support for LXT973 PHY

2017-06-23 Thread Joe Hershberger
Hi, On Fri, Jun 23, 2017 at 8:45 AM, Wolfgang Denk wrote: > Dear Christophe, > > [adding Joe on Cc:] > > In message > > you wrote: >> LXT973 PHY is a PHY of the LXT970 family. This patch >> ensures the fec driver supports it. > > This patch is totally unrelated to 8xx; it should go through the

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

2017-06-23 Thread Andreas Färber
Hi, On mvebu_db-88f3720 I am seeing endless resets when doing "scsi scan" or "scan reset" (SATA). I am chain-loading U-Boot from the vendor U-Boot. It seems the latest version working was v2017.01, v2017.03 is failing. Haven't had time to bisect between releases yet. Regards, Andreas -- SUSE L

Re: [U-Boot] [PATCH 1/2] Makefile: Allow arch post-link hook

2017-06-23 Thread Daniel Schwierzeck
Am 16.06.2017 um 02:05 schrieb Paul Burton: > This commit allows an architecture to provide a Makefile.postlink whose > u-boot target gets invoked after the u-boot ELF is linked. This will be > of use for MIPS in a following commit. > > This mirrors Linux commit fbe6e37dab97 ("kbuild: add arch s

Re: [U-Boot] [PATCH v3 2/2] MIPS: Stop building position independent code

2017-06-23 Thread Daniel Schwierzeck
Am 19.06.2017 um 20:53 schrieb Paul Burton: > U-Boot has up until now built with -fpic for the MIPS architecture, > producing position independent code which uses indirection through a > global offset table, making relocation fairly straightforward as it > simply involves patching up GOT entries.

[U-Boot] Please pull u-boot-rockchip/master

2017-06-23 Thread Dr. Philipp Tomsich
Tom, there’s a few minor fixes on the Rockchip repository for you. Regards, Philipp. The following changes since commit 235c5b8315c6a9eb566fd3d99a098cc6db869fc5: Merge branch 'master' of git://git.denx.de/u-boot-samsung (2017-06-21 08:01:07 -0400) are available in the git repository at:

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

2017-06-23 Thread Tom Rini
On Wed, Jun 21, 2017 at 10:00:06AM +0900, Jaehoon Chung wrote: > 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: >

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

2017-06-23 Thread Tom Rini
On Tue, Jun 20, 2017 at 05:55:25PM -0400, Rob Clark wrote: > 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

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

2017-06-23 Thread Minkyu Kang
Dear Tom, On 21 June 2017 at 10:00, Jaehoon Chung wrote: > From: Minkyu Kang > > Dear Tom, > > The following changes since commit 5cafcbab580bac6c7f44ca4a164c42 > 2b7e1ecf20: > > Merge git://git.denx.de/u-boot-net (2017-06-03 18:05:28 -0400) > > are available in the git repository at: > > >

Re: [U-Boot] [PATCH v4] powerpc: Restore core of mpc8xx

2017-06-23 Thread Tom Rini
On Fri, Jun 23, 2017 at 03:54:10PM +0200, Wolfgang Denk wrote: > Dear Christophe Leroy, > > In message <20170623125720.3F5FD6A48A@localhost.localdomain> you wrote: > > Signed-off-by: Christophe Leroy > > --- > > v4: Restored some common CONFIG_ removed by 5xx removal in README and > > config_wh

Re: [U-Boot] [PATCH 1/2] drivers, usb, gadget: fix compiler warnings for at91_udc.c

2017-06-23 Thread Lukasz Majewski
Hi Heiko, > Hello Lukasz, > > Am 23.06.2017 um 14:50 schrieb Lukasz Majewski: > > Hi Heiko, > > > >> fix warnings: > >> drivers/usb/gadget/at91_udc.c:1344:12: warning: > >> 'at91rm9200_udc_init' defined but not used [-Wunused-function] > >> drivers/usb/gadget/at91_udc.c:1379:13: warning: > >> 'at

Re: [U-Boot] [PATCH 2/4] powerpc, 8xx: Implement GLL2 ERRATA

2017-06-23 Thread Tom Rini
On Fri, Jun 23, 2017 at 03:48:54PM +0200, Wolfgang Denk wrote: > Dear Christophe Leroy, > > In message > <8be66e1dd57e24e6442e88ec175161f5c819f993.1498132599.git.christophe.le...@c-s.fr> > you wrote: > > Signed-off-by: Christophe Leroy > > NAK. > > The patch does not even apply as there is n

Re: [U-Boot] [PATCH v4] powerpc: Restore core of mpc8xx

2017-06-23 Thread Wolfgang Denk
Dear Christophe Leroy, In message <20170623125720.3F5FD6A48A@localhost.localdomain> you wrote: > Signed-off-by: Christophe Leroy > --- > v4: Restored some common CONFIG_ removed by 5xx removal in README and > config_whitelist > Removed all impacts on 4xx; Removed a few remaining references

Re: [U-Boot] [PATCH 4/4] powerpc, 8xx: Add support for MCR3000 board from CSSI

2017-06-23 Thread Wolfgang Denk
Dear Christophe Leroy, In message <2ffe402f2d7b3c4d2156e6e1e9a871304c551efd.1498132599.git.christophe.le...@c-s.fr> you wrote: > CS Systemes d'Information (CSSI) manufactures two boards, named MCR3000 > and CMPC885 which are respectively based on MPC866 and MPC885 processors. > > This patch add

Re: [U-Boot] [linux-sunxi] [RFC PATCH 8/8] sunxi: enable PSCI for A83T SoC

2017-06-23 Thread Chen-Yu Tsai
On Fri, Jun 23, 2017 at 9:39 PM, wrote: > 在 2017-06-23 21:35,Maxime Ripard 写道: >> >> On Fri, Jun 23, 2017 at 09:24:25PM +0800, icen...@aosc.io wrote: >>> >>> 在 2017-06-07 20:51,Marc Zyngier 写道: >>> > On 07/06/17 13:12, Icenowy Zheng wrote: >>> > > >>> > > >>> > > 于 2017年6月7日 GMT+08:00 下午8:11:12,

Re: [U-Boot] [PATCH 3/4] powerpc, 8xx: Properly set CPM frequency in the device tree

2017-06-23 Thread Wolfgang Denk
Dear Christophe Leroy, In message <243f0cadb778fb5186d026bf0900fde56487e636.1498132599.git.christophe.le...@c-s.fr> you wrote: > For processors whose core runs at twice the bus frequency, > the fallback frequency calculation in Linux provides a wrong > result. Therefore, U-boot needs to pass the

Re: [U-Boot] [PATCH 1/2] drivers, usb, gadget: fix compiler warnings for at91_udc.c

2017-06-23 Thread Tom Rini
On Fri, Jun 23, 2017 at 03:31:35PM +0200, Heiko Schocher wrote: > Hello Lukasz, > > Am 23.06.2017 um 14:50 schrieb Lukasz Majewski: > >Hi Heiko, > > > >>fix warnings: > >>drivers/usb/gadget/at91_udc.c:1344:12: warning: 'at91rm9200_udc_init' > >>defined but not used [-Wunused-function] > >>drivers/

Re: [U-Boot] [PATCH 2/4] powerpc, 8xx: Implement GLL2 ERRATA

2017-06-23 Thread Wolfgang Denk
Dear Christophe Leroy, In message <8be66e1dd57e24e6442e88ec175161f5c819f993.1498132599.git.christophe.le...@c-s.fr> you wrote: > Signed-off-by: Christophe Leroy NAK. The patch does not even apply as there is no such file in mainline: CONFLICT (modify/delete): arch/powerpc/cpu/mpc8xx/cpu_init

Re: [U-Boot] [PATCH 1/4] powerpc, 8xx: add support for LXT973 PHY

2017-06-23 Thread Wolfgang Denk
Dear Christophe, [adding Joe on Cc:] In message you wrote: > LXT973 PHY is a PHY of the LXT970 family. This patch > ensures the fec driver supports it. This patch is totally unrelated to 8xx; it should go through the network maintainer [adding Joe on Cc:] > Signed-off-by: Christophe Leroy >

Re: [U-Boot] [linux-sunxi] [RFC PATCH 8/8] sunxi: enable PSCI for A83T SoC

2017-06-23 Thread icenowy
在 2017-06-23 21:35,Maxime Ripard 写道: On Fri, Jun 23, 2017 at 09:24:25PM +0800, icen...@aosc.io wrote: 在 2017-06-07 20:51,Marc Zyngier 写道: > On 07/06/17 13:12, Icenowy Zheng wrote: > > > > > > 于 2017年6月7日 GMT+08:00 下午8:11:12, Marc Zyngier > > 写到: > > > On 07/06/17 08:00, Chen-Yu Tsai wrote: > >

Re: [U-Boot] [linux-sunxi] [RFC PATCH 8/8] sunxi: enable PSCI for A83T SoC

2017-06-23 Thread Maxime Ripard
On Fri, Jun 23, 2017 at 09:24:25PM +0800, icen...@aosc.io wrote: > 在 2017-06-07 20:51,Marc Zyngier 写道: > > On 07/06/17 13:12, Icenowy Zheng wrote: > > > > > > > > > 于 2017年6月7日 GMT+08:00 下午8:11:12, Marc Zyngier > > > 写到: > > > > On 07/06/17 08:00, Chen-Yu Tsai wrote: > > > > > On Wed, Jun 7, 201

Re: [U-Boot] [PATCH 1/2] drivers, usb, gadget: fix compiler warnings for at91_udc.c

2017-06-23 Thread Heiko Schocher
Hello Lukasz, Am 23.06.2017 um 14:50 schrieb Lukasz Majewski: Hi Heiko, fix warnings: drivers/usb/gadget/at91_udc.c:1344:12: warning: 'at91rm9200_udc_init' defined but not used [-Wunused-function] drivers/usb/gadget/at91_udc.c:1379:13: warning: 'at91rm9200_udc_pullup' defined but not used [-Wu

Re: [U-Boot] [PATCH 2/4] powerpc, 8xx: Implement GLL2 ERRATA

2017-06-23 Thread Tom Rini
On Fri, Jun 23, 2017 at 02:57:40PM +0200, Christophe Leroy wrote: > Signed-off-by: Christophe Leroy Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listin

Re: [U-Boot] [PATCH 3/4] powerpc, 8xx: Properly set CPM frequency in the device tree

2017-06-23 Thread Tom Rini
On Fri, Jun 23, 2017 at 02:57:42PM +0200, Christophe Leroy wrote: > For processors whose core runs at twice the bus frequency, > the fallback frequency calculation in Linux provides a wrong > result. Therefore, U-boot needs to pass the correct value. > > Signed-off-by: Christophe Leroy Reviewed

Re: [U-Boot] [PATCH 1/4] powerpc, 8xx: add support for LXT973 PHY

2017-06-23 Thread Tom Rini
On Fri, Jun 23, 2017 at 02:57:38PM +0200, Christophe Leroy wrote: > LXT973 PHY is a PHY of the LXT970 family. This patch > ensures the fec driver supports it. > > Signed-off-by: Christophe Leroy Reviewed-by: Tom Rini And, please make a note on your TODO list that the driver needs to be update

Re: [U-Boot] [linux-sunxi] [RFC PATCH 8/8] sunxi: enable PSCI for A83T SoC

2017-06-23 Thread icenowy
在 2017-06-07 20:51,Marc Zyngier 写道: On 07/06/17 13:12, Icenowy Zheng wrote: 于 2017年6月7日 GMT+08:00 下午8:11:12, Marc Zyngier 写到: On 07/06/17 08:00, Chen-Yu Tsai wrote: On Wed, Jun 7, 2017 at 2:50 PM, Maxime Ripard wrote: On Wed, Jun 07, 2017 at 11:47:24AM +0800, Chen-Yu Tsai wrote: On Wed,

Re: [U-Boot] Please pull u-boot-marvell/master

2017-06-23 Thread Tom Rini
On Fri, Jun 23, 2017 at 10:42:42AM +0200, Stefan Roese wrote: > Hi Tom, > > please pull 2 mvebu related pinctrl bug-fixes from Ken. > > Thanks, > Stefan > > The following changes since commit 235c5b8315c6a9eb566fd3d99a098cc6db869fc5: > > Merge branch 'master' of git://git.denx.de/u-boot-sams

Re: [U-Boot] mpc85xx boards

2017-06-23 Thread York Sun
I tried to drop some old 85xx boards but got resistance from our silicon support team. There is a demand to maintain those SoCs still shipping. York Sent from my iPhone > On Jun 23, 2017, at 03:56, Simon Glass wrote: > > Hi York, > > There are about 258 mpc85xx boards. In converting things

[U-Boot] [PATCH 4/4] powerpc, 8xx: Add support for MCR3000 board from CSSI

2017-06-23 Thread Christophe Leroy
CS Systemes d'Information (CSSI) manufactures two boards, named MCR3000 and CMPC885 which are respectively based on MPC866 and MPC885 processors. This patch adds support for the first board. Signed-off-by: Christophe Leroy --- arch/powerpc/cpu/mpc8xx/Kconfig| 5 + arch/powerpc/cpu/mpc8xx/

[U-Boot] [PATCH 2/4] powerpc, 8xx: Implement GLL2 ERRATA

2017-06-23 Thread Christophe Leroy
Signed-off-by: Christophe Leroy --- arch/powerpc/cpu/mpc8xx/cpu_init.c | 12 1 file changed, 12 insertions(+) diff --git a/arch/powerpc/cpu/mpc8xx/cpu_init.c b/arch/powerpc/cpu/mpc8xx/cpu_init.c index f621d6285c..5da12faf21 100644 --- a/arch/powerpc/cpu/mpc8xx/cpu_init.c +++ b/arch

[U-Boot] [PATCH 3/4] powerpc, 8xx: Properly set CPM frequency in the device tree

2017-06-23 Thread Christophe Leroy
For processors whose core runs at twice the bus frequency, the fallback frequency calculation in Linux provides a wrong result. Therefore, U-boot needs to pass the correct value. Signed-off-by: Christophe Leroy --- arch/powerpc/cpu/mpc8xx/fdt.c | 2 ++ 1 file changed, 2 insertions(+) diff --git

[U-Boot] [PATCH 1/4] powerpc, 8xx: add support for LXT973 PHY

2017-06-23 Thread Christophe Leroy
LXT973 PHY is a PHY of the LXT970 family. This patch ensures the fec driver supports it. Signed-off-by: Christophe Leroy --- arch/powerpc/cpu/mpc8xx/fec.c | 4 1 file changed, 4 insertions(+) diff --git a/arch/powerpc/cpu/mpc8xx/fec.c b/arch/powerpc/cpu/mpc8xx/fec.c index b27310fffb..680d2

[U-Boot] [PATCH 0/4] powerpc, 8xx: Add support for MCR3000 board from CSSI

2017-06-23 Thread Christophe Leroy
This serie adds MCR3000 board from CS Systemes d'Information. Christophe Leroy (4): powerpc, 8xx: add support for LXT973 PHY powerpc, 8xx: Implement GLL2 ERRATA powerpc, 8xx: Properly set CPM frequency in the device tree powerpc, 8xx: Add support for MCR3000 board from CSSI arch/powerpc/

Re: [U-Boot] [PATCH 1/2] drivers, usb, gadget: fix compiler warnings for at91_udc.c

2017-06-23 Thread Lukasz Majewski
Hi Heiko, > fix warnings: > drivers/usb/gadget/at91_udc.c:1344:12: warning: 'at91rm9200_udc_init' > defined but not used [-Wunused-function] > drivers/usb/gadget/at91_udc.c:1379:13: warning: > 'at91rm9200_udc_pullup' defined but not used [-Wunused-function] > drivers/usb/gadget/at91_udc.c:1476:12:

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

2017-06-23 Thread Tom Rini
On Thu, Jun 22, 2017 at 03:41:28PM +0800, Bin Meng wrote: > Hi Tom, > > The following changes since commit 235c5b8315c6a9eb566fd3d99a098cc6db869fc5: > > Merge branch 'master' of git://git.denx.de/u-boot-samsung > (2017-06-21 08:01:07 -0400) > > are available in the git repository at: > > g

Re: [U-Boot] [PATCH v3] powerpc: Restore core of mpc8xx

2017-06-23 Thread Wolfgang Denk
Dear Christophe, In message <71d351cb-2c42-99a0-0b4b-64cfa74ec...@c-s.fr> you wrote: > > Ok, noted. Please take care to not remove anything that is common with > 8xx before 8xx is back. 8xx is gone. Please get used to that fact. > Yes I realised that after Tom suggested to perform a travis-CI

[U-Boot] [PATCH] drivers:net:fsl-mc: Update MC address calculation

2017-06-23 Thread Priyanka Jain
Update MC address caluclation as per MC design requirement of address as least significant 512MB address of MC private allocated memory. Signed-off-by: Priyanka Jain Signed-off-by: Ashish Kumar --- drivers/net/fsl-mc/mc.c |7 ++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --

[U-Boot] [PATCH 1/1] board/ls2081ardb: Some updates like flash type

2017-06-23 Thread Santan Kumar
Patch makes below changes: -Update QSPI flash type As per updated board design, different QSPI flash is connected on boards, hence change QSPI flash type from Micron n25q512a device to spansion s25fs512s device in dts and config. -Update QIXIS_QMAP_MASK value

[U-Boot] [PATCH 1/1] armv8: ls2080a: Increase env size for qspi boot

2017-06-23 Thread Santan Kumar
Increase env size from 64kb to 256kb for qspi boot Signed-off-by: Santan Kumar Signed-off-by: Priyanka Jain --- This patch is split version of another patch https://patchwork.ozlabs.org/patch/773670/ include/configs/ls2080a_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[U-Boot] [PATCH 09/16] usb: xhci: Change xhci_setup_addressable_virt_dev() signature

2017-06-23 Thread Bin Meng
For future extension, change xhci_setup_addressable_virt_dev() signature to accept a pointer to 'struct usb_device', instead of its members slot_id & speed, as the struct already contains these two plus some other useful information of the device. Signed-off-by: Bin Meng --- drivers/usb/host/xh

[U-Boot] [PATCH 12/16] dm: usb: Add a new USB controller operation 'update_hub_device'

2017-06-23 Thread Bin Meng
For USB host controllers like xHC, its internal representation of hub needs to be updated after the hub descriptor is fetched. This adds a new op that does this. Signed-off-by: Bin Meng --- drivers/usb/host/usb-uclass.c | 11 +++ include/usb.h | 21 -

[U-Boot] [PATCH 06/16] usb: xhci: Change to use usb_hub_is_root_hub() API

2017-06-23 Thread Bin Meng
Now that we have a generic public API, remove the xHCI driver's own version is_root_hub() and use the new API. While we are here, remove the unused/commented out get_usb_device(). Signed-off-by: Bin Meng --- drivers/usb/host/xhci.c | 24 ++-- 1 file changed, 2 insertions(+)

[U-Boot] [PATCH 13/16] usb: hub: Call usb_update_hub_device() after hub descriptor is fetched

2017-06-23 Thread Bin Meng
After fetching hub descriptor, we need call USB uclass operation update_hub_device() to notify HCD to do some preparation work. Signed-off-by: Bin Meng --- common/usb_hub.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/common/usb_hub.c b/common/usb_hub.c index 4911981..2fc544

[U-Boot] [PATCH 04/16] usb: hub: Use 'struct usb_hub_device' as hub device's uclass_priv

2017-06-23 Thread Bin Meng
Use USB hub device's dev->uclass_priv to point to 'usb_hub_device' so that with driver model usb_hub_reset() and usb_hub_allocate() are no longer needed. Signed-off-by: Bin Meng --- common/usb_hub.c | 10 +- drivers/usb/host/usb-uclass.c | 2 -- 2 files changed, 9 insertio

[U-Boot] [PATCH 10/16] usb: xhci: Program 'route string' in the input slot context

2017-06-23 Thread Bin Meng
xHCI spec says: the values of the 'route string' field shall be initialized by the first 'Address Device' command issued to a device slot, and shall not be modified by any other command. So far U-Boot does not program this field, and it does not prevent SS device directly attached to root port, or

[U-Boot] [PATCH 16/16] usb: xhci: Enable TT to support LS/FS devices behind a HS hub

2017-06-23 Thread Bin Meng
So far LS/FS devices directly attached to xHC root port can be successfully enumerated by xHCI driver, but if they are connected behind a hub, the enumeration process fails to address the device. It turns out xHCI driver still misses a part that in the device's input slot context, all Transaction

[U-Boot] [PATCH 05/16] usb: hub: Add a new API to test if a hub device is root hub

2017-06-23 Thread Bin Meng
Sometimes we need know if a given hub device is root hub or not. Add a new API to test this. Signed-off-by: Bin Meng --- common/usb_hub.c | 10 ++ include/usb.h| 8 2 files changed, 18 insertions(+) diff --git a/common/usb_hub.c b/common/usb_hub.c index 18bd827..d780251 1

[U-Boot] [PATCH 15/16] usb: xhci: Correct TT_SLOT and TT_PORT macros

2017-06-23 Thread Bin Meng
These two macros really need a parameter to make them useful. Signed-off-by: Bin Meng --- drivers/usb/host/xhci.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/host/xhci.h b/drivers/usb/host/xhci.h index cdce67c..a497d9d 100644 --- a/drivers/usb/host/xhci.h

[U-Boot] [PATCH 03/16] usb: Remove unnecessary work in usb_setup_descriptor()

2017-06-23 Thread Bin Meng
The only work we need do in usb_setup_descriptor() is to initialize dev->descriptor.bMaxPacketSize0, when do_read is false. Other steps are the same as do_read being true. While we are here, update the comment block to be within 80 cols. Signed-off-by: Bin Meng --- common/usb.c | 40 ++

[U-Boot] [PATCH 14/16] usb: xhci: Implement update_hub_device() operation

2017-06-23 Thread Bin Meng
There is no way to know whether the attached device is a hub or not in advance before device's descriptor is fetched. But once we know it's a high speed hub, per xHCI spec, we need tell xHC it's a hub device by initializing hub related fields in the input slot context. Signed-off-by: Bin Meng ---

[U-Boot] [PATCH 07/16] usb: hub: Translate USB 3.0 hub port status into old version

2017-06-23 Thread Bin Meng
USB 3.0 hub port status field has different bit positions from 2.0 hubs. Since U-Boot only understands the old version, translate the new one into the old one. Since we are going to add USB 3.0 hub support, this feature is only available with driver model USB. Signed-off-by: Bin Meng --- commo

[U-Boot] [PATCH 08/16] usb: hub: Support 'set hub depth' request for USB 3.0 hubs

2017-06-23 Thread Bin Meng
USB 3.0 hub uses a hub depth value multiplied by four as an offset into the 'route string' to locate the bits it uses to determine the downstream port number. We shall set the hub depth value of a USB 3.0 hub after it is configured. Signed-off-by: Bin Meng --- common/usb_hub.c | 52 ++

[U-Boot] [PATCH 11/16] usb: hub: Parse and save TT details from device descriptor

2017-06-23 Thread Bin Meng
A high speed hub has a special responsibility to handle full speed/ low speed devices connected on downstream ports. In this case, the hub must isolate the high speed signaling environment from the full speed/low speed signaling environment with the help of Transaction Translator (TT). TT details a

[U-Boot] [PATCH 01/16] usb: xhci-pci: Drop non-DM version of xhci-pci driver

2017-06-23 Thread Bin Meng
As there is no board that currently uses xhci-pci driver without DM USB, drop its support and leave only DM support. Signed-off-by: Bin Meng --- drivers/usb/host/xhci-pci.c | 52 - 1 file changed, 52 deletions(-) diff --git a/drivers/usb/host/xhci-pc

[U-Boot] [PATCH 02/16] usb: xhci-pci: Clean up the driver a little bit

2017-06-23 Thread Bin Meng
This cleans up the driver a little bit. Signed-off-by: Bin Meng --- drivers/usb/host/xhci-pci.c | 16 ++-- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/drivers/usb/host/xhci-pci.c b/drivers/usb/host/xhci-pci.c index 5ad8452..56fd650 100644 --- a/drivers/usb/host/xh

[U-Boot] [PATCH 00/16] usb: hub: Support USB 3.0 hubs

2017-06-23 Thread Bin Meng
This series is a follow-up series to previous series [1] that adds support for USB 3.0 hubs. USB 3.0 hubs have slightly different hub descriptor format, as well as different port status bit positions. These needs to be properly handled by U-Boot USB core stack codes. xHCI driver has also been upda

[U-Boot] [PATCH v2 6/7] rockchip: rk322x: add sysreset driver

2017-06-23 Thread Kever Yang
Rockchip rk322x sysreset is much like rk3036 and other Rockchip SoCs, only difference is that the target register address is different. Signed-off-by: Kever Yang Reviewed-by: Philipp Tomsich --- Changes in v2: None drivers/sysreset/sysreset_rk322x.c | 45 ++

[U-Boot] [PATCH v2 7/7] rockchip: add evb_rk3229 board

2017-06-23 Thread Kever Yang
evb_rk3229 is a RK3229 based board, with: - 8GB eMMC; - 1GB DDR SDRAM; - 2 USB2.0 HOST port; - 1 MAC port; - 1 HDMI port; - IR; - WiFi; Signed-off-by: Kever Yang Reviewed-by: Philipp Tomsich --- Changes in v2: None arch/arm/mach-rockchip/Kconfig | 1 + board/rockchip/evb_rk3229/Kconf

[U-Boot] [PATCH v2 5/7] rockchip: rk322x: add basic soc support

2017-06-23 Thread Kever Yang
Enable soc support for SPL and U-boot skeleton. Signed-off-by: Kever Yang Reviewed-by: Philipp Tomsich --- Changes in v2: - some update for sdram common code arch/arm/include/asm/arch-rockchip/clock.h| 1 + arch/arm/mach-rockchip/Kconfig| 13 +++ arch/arm/mach-rockchip/

[U-Boot] [PATCH v2 4/7] rockchip: rk322x: add dts file

2017-06-23 Thread Kever Yang
The dts files are from kernel and with modify to adapt U-Boot. Signed-off-by: Kever Yang Reviewed-by: Philipp Tomsich --- Changes in v2: None arch/arm/dts/rk3229-evb.dts| 77 arch/arm/dts/rk322x.dtsi | 710 + include/dt-bindings/

[U-Boot] [PATCH v2 3/7] rockchip: rk322x: add pinctrl driver

2017-06-23 Thread Kever Yang
Add init pinctrl driver support for: - i2c; - spi; - uart; - pwm; - emmc/sdmmc; Signed-off-by: Kever Yang Reviewed-by: Philipp Tomsich --- Changes in v2: None arch/arm/include/asm/arch-rockchip/grf_rk322x.h | 519 drivers/pinctrl/Kconfig | 10

[U-Boot] [PATCH v2 2/7] rockchip: rk322x: add clock driver

2017-06-23 Thread Kever Yang
Add clock driver init support for: - cpu, bus clock init; - emmc, sdmmc clock; - ddr clock; Signed-off-by: Kever Yang Reviewed-by: Philipp Tomsich --- Changes in v2: - update copyright - fix typo arch/arm/include/asm/arch-rockchip/cru_rk322x.h | 215 drivers/clk/rockchip/Makefile

[U-Boot] [PATCH v2 1/7] rockchip: mkimage: add support for rk322x soc

2017-06-23 Thread Kever Yang
Add support for rk322x package header in mkimage tool. Signed-off-by: Kever Yang Reviewed-by: Philipp Tomsich --- Changes in v2: None tools/rkcommon.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/rkcommon.c b/tools/rkcommon.c index fd95abc..6e9595f 100644 --- a/tools/rkcommon.c +

[U-Boot] [PATCH v2 0/7] Add Rockchip RK3229 SoC

2017-06-23 Thread Kever Yang
RK3229 is a Quad-core Cortex-A7 SoC, which supports: - 4K 10bit H.264/H.265,VP9. - 32KB internal memory; - eMMC 4.5.1, SD3.0; - DDR3, LPDDR2, LPDDR3; - HDMI 2.0 output, 4K@60Hz; - USB2.0 OTG and USB2.0 host; Changes in v2: - update copyright - fix typo - some update for sdram common code Kever

Re: [U-Boot] [U-Boot,6/7] rockchip: rk322x: add sysreset driver

2017-06-23 Thread Dr. Philipp Tomsich
Kever, > On 23 Jun 2017, at 10:46, Dr. Philipp Tomsich > wrote: > +int rk322x_sysreset_request(struct udevice *dev, enum sysreset_t type) +{ +struct rk322x_cru *cru = rockchip_get_cru(); + +if (IS_ERR(cru)) +return PTR_ERR(cru); +switch (ty

Re: [U-Boot] [U-Boot,2/7] rockchip: rk322x: add clock driver

2017-06-23 Thread Dr. Philipp Tomsich
> On 23 Jun 2017, at 10:49, Kever Yang wrote: > > Hi Philipp, > > > On 06/12/2017 07:00 PM, Philipp Tomsich wrote: >> >> >> On Fri, 9 Jun 2017, Kever Yang wrote: >> >>> Add clock driver init support for: >>> - cpu, bus clock init; >>> - emmc, sdmmc clock; >>> - ddr clock; >>> >>> Signed-of

Re: [U-Boot] [U-Boot,2/7] rockchip: rk322x: add clock driver

2017-06-23 Thread Kever Yang
Hi Philipp, On 06/12/2017 07:00 PM, Philipp Tomsich wrote: On Fri, 9 Jun 2017, Kever Yang wrote: Add clock driver init support for: - cpu, bus clock init; - emmc, sdmmc clock; - ddr clock; Signed-off-by: Kever Yang --- arch/arm/include/asm/arch-rockchip/cru_rk322x.h | 215 dr

Re: [U-Boot] [U-Boot,6/7] rockchip: rk322x: add sysreset driver

2017-06-23 Thread Dr. Philipp Tomsich
Kever, > On 23 Jun 2017, at 10:41, Kever Yang wrote: > > Hi Philipp, > > > On 06/12/2017 10:19 PM, Philipp Tomsich wrote: >> >> >> On Fri, 9 Jun 2017, Kever Yang wrote: >> >>> Rockchip rk322x sysreset is much like rk3036 and other Rockchip SoCs, >>> only difference is that the target regist

[U-Boot] Please pull u-boot-marvell/master

2017-06-23 Thread Stefan Roese
Hi Tom, please pull 2 mvebu related pinctrl bug-fixes from Ken. Thanks, Stefan The following changes since commit 235c5b8315c6a9eb566fd3d99a098cc6db869fc5: Merge branch 'master' of git://git.denx.de/u-boot-samsung (2017-06-21 08:01:07 -0400) are available in the git repository at: git://

Re: [U-Boot] [U-Boot,6/7] rockchip: rk322x: add sysreset driver

2017-06-23 Thread Kever Yang
Hi Philipp, On 06/12/2017 10:19 PM, Philipp Tomsich wrote: On Fri, 9 Jun 2017, Kever Yang wrote: Rockchip rk322x sysreset is much like rk3036 and other Rockchip SoCs, only difference is that the target register address is different. Signed-off-by: Kever Yang --- drivers/sysreset/sysreset

Re: [U-Boot] [PATCH 2/2] pinctrl: a3700: Fix the issue that gpio controller is registered with wrong node id

2017-06-23 Thread Stefan Roese
On 22.06.2017 11:13, m...@marvell.com wrote: From: Ken Ma In armada_37xx_gpiochip_register, the return value of fdtdec_get_bool should be true when gpio-controller is found; current codes makes a wrong inverse return value judgement, this patch fixes it. Signed-off-by: Ken Ma Cc: Stefan Roese

Re: [U-Boot] [PATCH 1/2] pinctrl: a3700: Fix uart2 group selection register mask

2017-06-23 Thread Stefan Roese
On 22.06.2017 11:13, m...@marvell.com wrote: From: Ken Ma If north bridge selection register bit1 is clear, pins [10:8] are for SDIO0 Resetn, Wakeup, and PDN while if bit1 is set, pins [10:8]are for GPIO; when bit1 is clear, pin 9 and pin 10 can be used for uart2 RTSn and CTSn, so bit1 should b

[U-Boot] armv8: cache_v8: mmu setup have the wrong pte attribute

2017-06-23 Thread Cao Jie
Hi all I do some test on my board which have two armv8 CA53 core, and I found some region (1MB size) don't be correctly mapped by MMU. Through ds5 I can't find this region were mapped. I did some deep debug and found add_map function in cache_v8.c files maybe have some wrong operation for Some

Re: [U-Boot] [PATCH v3] powerpc: Restore core of mpc8xx

2017-06-23 Thread Christophe LEROY
Hello Heiko, Le 22/06/2017 à 15:06, Heiko Schocher a écrit : Hello Christophe, Am 22.06.2017 um 13:20 schrieb Christophe LEROY: Le 22/06/2017 à 11:59, Wolfgang Denk a écrit : Dear Christophe, In message <0784ad6e-86ab-9c1d-1b81-a5cacaf2b...@c-s.fr> you wrote: Please see my previous comm

Re: [U-Boot] [PATCH 3/7] rockchip: rk3328: add sdram driver in U-Boot

2017-06-23 Thread Kever Yang
Hi Simon, On 06/17/2017 11:41 AM, Simon Glass wrote: On 13 June 2017 at 03:29, Kever Yang wrote: Add sdram driver in U-Boot for get the correct sdram size from sys_reg, so that U-Boot can co-work with Rockchip loader or SPL to get different dram capability and then tell the kernel. Do you th

[U-Boot] [PATCH v2 8/8] rockchip: rv1108: disable CONFIG_RAM before we have driver

2017-06-23 Thread Kever Yang
The rv1108 do not have DRAM driver now, so disable it first, or else it will get conflict with the sdram common code. Signed-off-by: Kever Yang --- Changes in v2: None configs/evb-rv1108_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/configs/evb-rv1108_defconfig b/configs/evb-rv1

[U-Boot] [PATCH v2 6/8] rockchip: dts: rk3368: add dmc node

2017-06-23 Thread Kever Yang
Add dmc node to enable sdram driver. Signed-off-by: Kever Yang --- Changes in v2: None arch/arm/dts/rk3368.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/dts/rk3368.dtsi b/arch/arm/dts/rk3368.dtsi index 025dc32..9daf765 100644 --- a/arch/arm/dts/rk3368.dtsi +++ b/arch

[U-Boot] [PATCH v2 7/8] rockchip: correct the bank0 ram size

2017-06-23 Thread Kever Yang
The bank0 ram size should be the DRAM size minus reserved size, the DRAM size may be 1GB, 2GB, 4GB, we can not hard code it. Signed-off-by: Kever Yang --- Changes in v2: - move the dram_init_banksize() from board file into soc file for we have the same setting for different board in one SoC no

  1   2   >