[U-Boot] [PATCH v4 2/5] usb: dwc2: Use shared wait_for_bit

2016-01-23 Thread Mateusz Kulikowski
Use existing library function to poll bit(s). Signed-off-by: Mateusz Kulikowski --- drivers/usb/host/dwc2.c | 41 + 1 file changed, 13 insertions(+), 28 deletions(-) diff --git a/drivers/usb/host/dwc2.c

[U-Boot] [PATCH v4 0/5] Add wait_for_bit()

2016-01-23 Thread Mateusz Kulikowski
Changes in v4: - Rename timeout -> timeout_ms - foolproof code is good :) - Re-compiled it for affected platforms (just to be sure) I did not do remaining improvements - they look like good ideas and will do them in future as separate series. Possibly migrating more of u-boot code to it on the

[U-Boot] [PATCH v4 1/5] lib: Add wait_for_bit

2016-01-23 Thread Mateusz Kulikowski
Add function to poll register waiting for specific bit(s). Similar functions are implemented in few drivers - they are almost identical and can be generalized. Signed-off-by: Mateusz Kulikowski --- include/wait_bit.h | 71

Re: [U-Boot] [RFC PATCH v1] kirkwood_nand: claim MPP pins on the fly

2016-01-23 Thread Chris Packham
Hi Scott, On Sat, Jan 23, 2016 at 9:11 AM, Scott Wood wrote: > On Fri, 2016-01-15 at 17:22 +1300, Chris Packham wrote: >> Claim the MPP pins for the NAND flash controller only when it's actually >> being used. This allows the pins to be shared with the SPI interface >> which

[U-Boot] [PATCH v4 3/5] usb: ohci-lpc32xx: Use shared wait_for_bit

2016-01-23 Thread Mateusz Kulikowski
Use existing library function to poll bit(s). Signed-off-by: Mateusz Kulikowski Tested-by: Sylvain Lemieux --- drivers/usb/host/ohci-lpc32xx.c | 34 +++--- 1 file changed, 7 insertions(+), 27 deletions(-) diff

[U-Boot] [PATCH v4 5/5] net: zynq_gem: Use shared wait_for_bit

2016-01-23 Thread Mateusz Kulikowski
Use existing library function to poll bit(s). Signed-off-by: Mateusz Kulikowski --- drivers/net/zynq_gem.c | 35 ++- 1 file changed, 2 insertions(+), 33 deletions(-) diff --git a/drivers/net/zynq_gem.c b/drivers/net/zynq_gem.c index

[U-Boot] [PATCH v4 4/5] usb: ehci-mx6: Use shared wait_for_bit

2016-01-23 Thread Mateusz Kulikowski
Use existing library function to poll bit(s). Signed-off-by: Mateusz Kulikowski --- drivers/usb/host/ehci-mx6.c | 32 1 file changed, 4 insertions(+), 28 deletions(-) diff --git a/drivers/usb/host/ehci-mx6.c

[U-Boot] [PATCH] Configs: Set ECC to match Linux Kernel for omap3_logic

2016-01-23 Thread Adam Ford
The HW ECC engine only does 1-bit, but the kernel expects BCH8. This should match the kernel, and basic testing of JFFS2 seems to show that it works. Signed-off-by: Adam Ford --- include/configs/omap3_logic.h | 25 + 1 file changed, 17 insertions(+),

Re: [U-Boot] [PATCH v5 2/2] usb: eth: add Realtek RTL8152B/RTL8153 DRIVER

2016-01-23 Thread Marek Vasut
On Saturday, January 23, 2016 at 07:55:58 PM, Anand Moon wrote: > Hi Marek, > > On 23 January 2016 at 20:53, Marek Vasut wrote: > > On Saturday, January 23, 2016 at 01:42:55 AM, Marek Vasut wrote: > >> On Friday, January 22, 2016 at 09:41:33 PM, Joe Hershberger wrote: > >> > Hi

Re: [U-Boot] [PATCH v5 2/2] usb: eth: add Realtek RTL8152B/RTL8153 DRIVER

2016-01-23 Thread Marek Vasut
On Saturday, January 23, 2016 at 01:42:55 AM, Marek Vasut wrote: > On Friday, January 22, 2016 at 09:41:33 PM, Joe Hershberger wrote: > > Hi Marek, > > > > On Fri, Jan 22, 2016 at 2:00 PM, Marek Vasut wrote: > > > On Friday, January 22, 2016 at 08:50:04 PM, Joe Hershberger wrote:

Re: [U-Boot] [PATCH v2] usb: dwc2: Do not mix data toggle for IN and OUT endpoints, check bounds

2016-01-23 Thread Marek Vasut
On Saturday, January 23, 2016 at 01:42:25 AM, Stefan BrĂ¼ns wrote: > USB protocol allows for 16 IN and 16 OUT endpoints (USB 2.0 Spec, > 8.3.2.2 Endpoint Field). A function may have an EP 1 for both IN and OUT, > so these two should be kept separate. As EPs are either BULK or INTERRUPT > (or ISO),

[U-Boot] [PATCH] Revert "devicetree: use wildcard to clean arch subdir"

2016-01-23 Thread Masahiro Yamada
This reverts commit 67871a595873930a0a536b1685e5caac53766701. Since that commit, out-of-tree cleaning emits lots of warnings. $ make O=foo clean make[1]: Entering directory `/home/masahiro/workspace/u-boot/foo' ../dts/../arch/arm/dts/Makefile:209: warning: overriding commands for target `dtbs'

Re: [U-Boot] [PATCH 1/2] video: Add support for Armada XP LCD controller

2016-01-23 Thread Anatolij Gustschin
Hi Stefan, On Wed, 20 Jan 2016 08:13:28 +0100 Stefan Roese wrote: > This patch adds basic support for the LCD controller of the Marvell > Armada XP SoC. > > An AXP based custom board port will be added later, to use this > driver to display a splash screen via the bmp command

Re: [U-Boot] [PATCH] fix lcd testpattern in 16bit mode

2016-01-23 Thread Anatolij Gustschin
On Thu, 21 Jan 2016 13:29:25 +0100 Andreas Neubacher wrote: > Subject: [PATCH] fix the color testpattern in 16bit mode > > Signed-off-by: Andreas Neubacher > --- > common/lcd.c | 17 - > include/lcd.h | 11 +--

[U-Boot] buildman errors

2016-01-23 Thread Bin Meng
Hi, Summary of 71 commits for 1100 boards (24 threads, 1 job per thread) 01: iocon / bamboo: Drop CONFIG_SYS_LONGHELP blackfin: + bf561-acvilon cm-bf561 blackstamp bf537-minotaur bct-brettl2 cm-bf527 bf506f-ezkit ip04 bf527-sdp pr1 bf527-ad7160-eval bf609-ezkit bf537-stamp bf527-ezkit-v2

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

2016-01-23 Thread Bin Meng
Hi Tom, The following changes since commit 12f229ea8f6c8e20f8fd07906eafc853c4c354a9: Merge git://git.denx.de/u-boot-fdt (2016-01-22 17:01:22 -0500) are available in the git repository at: git://git.denx.de/u-boot-x86.git master for you to fetch changes up to