On 5 May 2015 19:25:26 CEST, Joe Hershberger wrote:
>This is clearly the wrong way to fix this issue since it breaks pretty
>much every other aspect of hashing. Proper fix forthcoming.
I admit that I don't know nothing about any of that hashing stuff off late but
it is crystal clear that Nikol
Hi Fabio,
Sorry, kind of got side tracked a bit.
Tom, in response to SATA off a PCI bus, that was my main concern with just
adding a SATA init. However after looking through the code I have noticed that
there is a CONFIG_SYS_EARLY_PCI_INIT which if declared will call initr_pci
before my initr_
Hello Simon,
Am 04.05.2015 19:30, schrieb Simon Glass:
This command was missed in the conversion. Add it back for driver model.
Signed-off-by: Simon Glass
---
common/cmd_i2c.c | 63 +---
1 file changed, 55 insertions(+), 8 deletions(-)
d
Hi Simon,
On Wed, May 6, 2015 at 12:01 PM, Simon Glass wrote:
> Hi Bin,
>
> On 5 May 2015 at 09:24, Bin Meng wrote:
>> This commit introduces the initial U-Boot support for QEMU x86 targets.
>> U-Boot can boot from coreboot as a payload, or directly without coreboot.
>>
>> Signed-off-by: Bin Men
Hi,
On Thu, Apr 30, 2015 at 12:38 PM, Chris Packham wrote:
> Define U_BOOT_TZ alongside U_BOOT_TIME and U_BOOT_DATE and use it to
> include the timezone in the version output.
>
> Signed-off-by: Chris Packham
> ---
>
> Makefile | 3 ++-
> include/version.h | 2 +-
> 2 files changed, 3
Hello Simon,
Am 04.05.2015 19:30, schrieb Simon Glass:
We can currently set this but there is no API function to get it. Add one.
Signed-off-by: Simon Glass
---
drivers/i2c/i2c-uclass.c | 7 +++
include/i2c.h| 9 -
2 files changed, 15 insertions(+), 1 deletion(-)
Hi
On Wed, May 6, 2015 at 9:40 AM, qiang.z...@freescale.com
wrote:
> On Tue, May 5, 2015 at 5:41 PM, Michael Trimarchi wrote:
>
>> -Original Message-
>> From: Michael Trimarchi [mailto:mich...@amarulasolutions.com]
>> Sent: Tuesday, May 05, 2015 5:41 PM
>> To: Zhao Qiang-B45475
>> Cc: u-b
On 5 May 2015 at 09:24, Bin Meng wrote:
> QEMU is much easier for us test booting U-Boot as a coreboot payload
> than having a real board like chromebook_link.
>
> Signed-off-by: Bin Meng
> ---
>
> board/coreboot/coreboot/Kconfig | 6 +++---
> configs/coreboot-x86_defconfig | 1 +
> 2 files cha
On 5 May 2015 at 09:24, Bin Meng wrote:
> Document how to build and test U-Boot with QEMU.
>
> Signed-off-by: Bin Meng
> ---
>
> doc/README.x86 | 65
> +++---
> 1 file changed, 48 insertions(+), 17 deletions(-)
Acked-by: Simon Glass
On 5 May 2015 at 09:24, Bin Meng wrote:
> Now that we have QEMU support, make it the default vendor in the
> 'make menuconfig' screen.
>
> Signed-off-by: Bin Meng
> ---
>
> arch/x86/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/x86/Kconfig b/arch/x86/Kconf
Hi Bin,
On 5 May 2015 at 09:24, Bin Meng wrote:
> This commit introduces the initial U-Boot support for QEMU x86 targets.
> U-Boot can boot from coreboot as a payload, or directly without coreboot.
>
> Signed-off-by: Bin Meng
> ---
>
> arch/x86/Kconfig | 5 +++
> arch/x86/
From: Tang Yuantian
Function 'sprintf' does not check buffer boundaries but outputs
to the buffer of fixed size which could potentially cause buffer
overflow. Use a safer function to replace it.
Signed-off-by: Tang Yuantian
---
drivers/block/fsl_sata.c | 2 +-
1 file changed, 1 insertion(+), 1
From: Tang Yuantian
Function 'sprintf' does not check buffer boundaries but outputs
to the buffer of fixed size which could cause buffer overflow.
Use a safer function to replace it.
Signed-off-by: Tang Yuantian
---
drivers/block/fsl_sata.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
On 5 May 2015 at 20:37, Haikun Wang wrote:
> Default name of spi flash like this "0:0", update it to "spi_flash@0:0".
>
> Signed-off-by: Haikun Wang
> ---
>
> Changes in v2:
> - Increase the size of array "name" to 30
>
> Changes in v1: None
> drivers/mtd/spi/sf-uclass.c | 4 ++--
> 1 file chang
Hi,
On 5 May 2015 at 05:10, Haikun Wang wrote:
> Atmel DataFlash chips have commands different from common spi
> flash commands.
> Atmel DataFlash also have special page-size.
> This driver add support for accessing Atmel DataFlash.
> It is based on the Driver Model.
>
> Signed-off-by: Haikun Wan
Default name of spi flash like this "0:0", update it to "spi_flash@0:0".
Signed-off-by: Haikun Wang
---
Changes in v2:
- Increase the size of array "name" to 30
Changes in v1: None
drivers/mtd/spi/sf-uclass.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/mtd/
On 5 May 2015 at 16:105, Jagan Tek
> On 4 May 2015 at 06:19, Peter Pan 潘栋 (peterpandong)
> wrote:
> > Hi All,
> >
> > I’d like to add spi nand support in u-boot. But I don’t know where
> should
> > the spi nand drivers put in and how to define the architecture.
> >
> > I find that currently spi_fl
On Tue, May 5, 2015 at 5:41 PM, Michael Trimarchi wrote:
> -Original Message-
> From: Michael Trimarchi [mailto:mich...@amarulasolutions.com]
> Sent: Tuesday, May 05, 2015 5:41 PM
> To: Zhao Qiang-B45475
> Cc: u-boot@lists.denx.de; Sun York-R58495
> Subject: Re: [U-Boot] [PATCH 2/2] qe: us
On Tue, May 05, 2015 at 09:55:43AM -0700, York Sun wrote:
> Tom,
>
> The following changes since commit ace97d26176a3ebc9ec07738450de93eea35975c:
>
> Merge branch 'zynq' of git://www.denx.de/git/u-boot-microblaze (2015-04-29
> 06:46:33 -0400)
>
> are available in the git repository at:
>
>
On Tue, May 05, 2015 at 12:50:01PM +, Luka Perkov wrote:
> Hi Tom,
>
> please pull from marvell/master. The changes include Stefan's Armada 38x
> series which reached v3 on the mailing list and two more Marvell Armada
> related fixes.
>
> The following changes since commit ace97d26176a3ebc9e
On Tue, Apr 14, 2015 at 09:50:47PM +0200, Marcel Ziswiler wrote:
> From: Max Krummenacher
>
> Without this, when CONFIG_ENV_VARS_UBOOT_CONFIG is active we get
> a compile time error when doing 'make env'.
> In file included from tools/env/fw_env.c:117:0:
> include/env_default.h:110:11: error: ex
Hey all,
I've pushed v2015.07-rc1 out to the repository and tarballs should exist
soon.
The merge window is now closed. I'm going to continue todo my best to
keep to the every two weeks we do an RC thing, with probably a few days
slip here and there. I think it's gone well so far relying on eve
On Tue, May 05, 2015 at 12:44:10PM +0300, Pantelis Antoniou wrote:
> Hi Tom,
>
> The following changes since commit ace97d26176a3ebc9ec07738450de93eea35975c:
>
> Merge branch 'zynq' of git://www.denx.de/git/u-boot-microblaze (2015-04-29
> 06:46:33 -0400)
>
> are available in the git reposito
On Tue, May 05, 2015 at 11:30:11AM +0200, Albert ARIBAUD wrote:
> Hello Tom,
>
> The following changes since commit ace97d26176a3ebc9ec07738450de93eea35975c:
>
> Merge branch 'zynq' of git://www.denx.de/git/u-boot-microblaze (2015-04-29
> 06:46:33 -0400)
>
> are available in the git reposito
On Fri, May 01, 2015 at 02:39:03PM -0600, Simon Glass wrote:
> Hi Tom,
>
> This includes PIRQ routing support for a few platforms, the beginnings
> of better GPIO/pinmux support and multi-core + SFI support.
>
>
> The following changes since commit ace97d26176a3ebc9ec07738450de93eea35975c:
>
>
On Mon, May 04, 2015 at 05:21:29PM +0200, Hans de Goede wrote:
> Hi Tom,
>
> Please pull u-boot-sunxi/master into master for the second round of sunxi
> work, highlights:
>
> -A33 SoC support (full support including otg & display)
> -Move ALL sunxi boards over to the driver-model for serial, gpi
Hi Simon,
On Tue, May 5, 2015 at 3:56 PM, Simon Glass wrote:
> Hi Joe,
>
> On 3 May 2015 at 14:12, Joe Hershberger wrote:
>> Make sure that the env gets cleaned up after a test fails so that other
>> tests aren't affected.
>>
>> Signed-off-by: Joe Hershberger
>> ---
>>
>> Changes in v3:
>> -New
On Wednesday, May 06, 2015 at 01:25:29 AM, Hans de Goede wrote:
> Hi,
>
> On 05/06/2015 12:59 AM, Marek Vasut wrote:
> > On Tuesday, May 05, 2015 at 11:56:12 PM, Hans de Goede wrote:
> >> Fix taken from the Linux kernel ohci driver.
> >
> > Commit ID from Linux where this came from would be nice
On Wednesday, May 06, 2015 at 12:57:54 AM, Stephen Warren wrote:
> On 05/05/2015 04:42 PM, Marek Vasut wrote:
> > On Wednesday, May 06, 2015 at 12:37:38 AM, Stephen Warren wrote:
> >> On 05/05/2015 04:17 PM, Marek Vasut wrote:
> >>> On Tuesday, May 05, 2015 at 11:46:56 PM, Stephen Warren wrote:
> >
Hi Simon,
On Tue, May 5, 2015 at 4:37 PM, Simon Glass wrote:
> Hi Joe,
>
> On 5 May 2015 at 11:23, Joe Hershberger wrote:
>>
>> Introduced in change d20a40de9db07de1f1f06a79a4da1cdda5379b75
>> "Roll crc32 into hash infrastructure"
>>
>> Use a consistent define to enable the verify feature in crc
Hi,
On 05/06/2015 12:59 AM, Marek Vasut wrote:
On Tuesday, May 05, 2015 at 11:56:12 PM, Hans de Goede wrote:
Fix taken from the Linux kernel ohci driver.
Commit ID from Linux where this came from would be nice to have
in the commit message, but that's a minor thing.
I did not take this from
On Tuesday, May 05, 2015 at 11:56:18 PM, Hans de Goede wrote:
> Add driver-model support to the ohci code.
>
> Signed-off-by: Hans de Goede
I'll leave thorough review of this to Simon, but a brief skim
tells me to add
Reviewed-by: Marek Vasut
The "todo" in ohci_deregister() is a bit concerni
On Wednesday, May 06, 2015 at 12:53:31 AM, Simon Glass wrote:
> On 5 May 2015 at 16:52, Marek Vasut wrote:
> > On Wednesday, May 06, 2015 at 12:50:08 AM, Hans de Goede wrote:
> >> Hi,
> >
> > Hi!
> >
> >> On 05/06/2015 12:23 AM, Marek Vasut wrote:
> >> > On Tuesday, May 05, 2015 at 11:56:03 PM,
On Tuesday, May 05, 2015 at 11:56:19 PM, Hans de Goede wrote:
> This commit adds support for the OHCI companionen controller, which makes
> usb-1 devices directly plugged into to usb root port work.
>
> Note for now this switches usb-keyboard support for sunxi back from
> int-queue support to the
On Tuesday, May 05, 2015 at 11:56:13 PM, Hans de Goede wrote:
> Add proper cache flushing / invalidating for non cache coherent cpus, for
> now only enable this for new (driver-model) usb code to avoid regressions.
>
> Signed-off-by: Hans de Goede
Reviewed-by: Marek Vasut
Best regards,
Marek V
On Tuesday, May 05, 2015 at 11:56:17 PM, Hans de Goede wrote:
> For some reason the ohci code is full with:
>
> pkt_print(...)
> mdelay(1);
>
> AFAICT there is no reason for the mdelay(1) calls. This commit disables
> them when building the ohci code for new driver-mod
On Tuesday, May 05, 2015 at 11:56:16 PM, Hans de Goede wrote:
> The common usb_hub code already waits a full second after powering up
> ports, so there is no need for additional delays inside the hcd code.
>
> Signed-off-by: Hans de Goede
This makes a driver depend on the behavior of the subsyst
On Tuesday, May 05, 2015 at 11:56:15 PM, Hans de Goede wrote:
> Auto-resubmission of interrupt packets does not match the u-boot usb model.
Just a bit more verbose commit message would be helpful, really ;-)
> Signed-off-by: Hans de Goede
Acked-by: Marek Vasut
Best regards,
Marek Vasut
__
On Tuesday, May 05, 2015 at 11:56:14 PM, Hans de Goede wrote:
> Interrupts transfers timing out is normal, so do not log an error for this.
>
> Signed-off-by: Hans de Goede
Acked-by: Marek Vasut
Best regards,
Marek Vasut
___
U-Boot mailing list
U-Boo
On Tuesday, May 05, 2015 at 11:56:08 PM, Hans de Goede wrote:
> This is a preparation patch for adding driver-model support.
>
> Note we do keep ohci_dev as a separate struct so that we can later add
> support for interrupt-queues which requires allocating a separate ohci_dev
> per interrupt-queue
On Tuesday, May 05, 2015 at 11:56:11 PM, Hans de Goede wrote:
> Non static function and variable declarations do not belong in a .h file.
>
> Signed-off-by: Hans de Goede
Acked-by: Marek Vasut
Best regards,
Marek Vasut
___
U-Boot mailing list
U-Boot@
On Tuesday, May 05, 2015 at 11:56:12 PM, Hans de Goede wrote:
> Fix taken from the Linux kernel ohci driver.
Commit ID from Linux where this came from would be nice to have
in the commit message, but that's a minor thing.
> Signed-off-by: Hans de Goede
Acked-by: Marek Vasut
Best regards,
Mare
On Tuesday, May 05, 2015 at 11:56:09 PM, Hans de Goede wrote:
> This is a preparation patch for adding driver-model support.
>
> Signed-off-by: Hans de Goede
Acked-by: Marek Vasut
Best regards,
Marek Vasut
___
U-Boot mailing list
U-Boot@lists.denx.de
On Tuesday, May 05, 2015 at 11:56:10 PM, Hans de Goede wrote:
> This is a preparation patch for adding driver-model support.
>
> Signed-off-by: Hans de Goede
Acked-by: Marek Vasut
Best regards,
Marek Vasut
___
U-Boot mailing list
U-Boot@lists.denx.de
On Tuesday, May 05, 2015 at 11:56:07 PM, Hans de Goede wrote:
> This is a preparation patch for adding driver-model support.
>
> Signed-off-by: Hans de Goede
Acked-by: Marek Vasut
Best regards,
Marek Vasut
___
U-Boot mailing list
U-Boot@lists.denx.de
On 05/05/2015 04:42 PM, Marek Vasut wrote:
On Wednesday, May 06, 2015 at 12:37:38 AM, Stephen Warren wrote:
On 05/05/2015 04:17 PM, Marek Vasut wrote:
On Tuesday, May 05, 2015 at 11:46:56 PM, Stephen Warren wrote:
On 05/04/2015 02:54 PM, Marek Vasut wrote:
Switch to generic timer implementati
On Tuesday, May 05, 2015 at 11:56:04 PM, Hans de Goede wrote:
> This fixes descriptor reading of lowspeed devices through ohci not working.
>
> Signed-off-by: Hans de Goede
Acked-by: Marek Vasut
Best regards,
Marek Vasut
___
U-Boot mailing list
U-Boo
On Tuesday, May 05, 2015 at 11:56:06 PM, Hans de Goede wrote:
> devgone is never assigned a value, so the one comparisson reading it will
> never be true, and devgone can be completely removed.
>
> Signed-off-by: Hans de Goede
Acked-by: Marek Vasut
Best regards,
Marek Vasut
___
On Tuesday, May 05, 2015 at 11:56:05 PM, Hans de Goede wrote:
> Do not try to reset a device 5 times when it is handed over to a companion
> controller, also do not print an error when it has been handed over.
>
> Signed-off-by: Hans de Goede
Acked-by: Marek Vasut
Best regards,
Marek Vasut
___
On 5 May 2015 at 16:52, Marek Vasut wrote:
> On Wednesday, May 06, 2015 at 12:50:08 AM, Hans de Goede wrote:
>> Hi,
>
> Hi!
>
>> On 05/06/2015 12:23 AM, Marek Vasut wrote:
>> > On Tuesday, May 05, 2015 at 11:56:03 PM, Hans de Goede wrote:
>> >> Hi Marek and Simon,
>> >
>> > Hi!
>> >
>> >> Here is
Hi Hans,
On 5 May 2015 at 16:50, Hans de Goede wrote:
> Hi,
>
>
> On 05/06/2015 12:23 AM, Marek Vasut wrote:
>>
>> On Tuesday, May 05, 2015 at 11:56:03 PM, Hans de Goede wrote:
>>>
>>> Hi Marek and Simon,
>>
>>
>> Hi!
>>
>>> Here is a series with a few usb core fixes, a lot of ohci fixes and ohci
On Wednesday, May 06, 2015 at 12:50:08 AM, Hans de Goede wrote:
> Hi,
Hi!
> On 05/06/2015 12:23 AM, Marek Vasut wrote:
> > On Tuesday, May 05, 2015 at 11:56:03 PM, Hans de Goede wrote:
> >> Hi Marek and Simon,
> >
> > Hi!
> >
> >> Here is a series with a few usb core fixes, a lot of ohci fixes
Hi,
On 05/06/2015 12:23 AM, Marek Vasut wrote:
On Tuesday, May 05, 2015 at 11:56:03 PM, Hans de Goede wrote:
Hi Marek and Simon,
Hi!
Here is a series with a few usb core fixes, a lot of ohci fixes and ohci
dm support (tested on sunxi). This series sits on top of the series adding
companion
On Wednesday, May 06, 2015 at 12:37:38 AM, Stephen Warren wrote:
> On 05/05/2015 04:17 PM, Marek Vasut wrote:
> > On Tuesday, May 05, 2015 at 11:46:56 PM, Stephen Warren wrote:
> >> On 05/04/2015 02:54 PM, Marek Vasut wrote:
> >>> Switch to generic timer implementation from lib/time.c .
> >>> This
On 05/05/2015 04:17 PM, Marek Vasut wrote:
On Tuesday, May 05, 2015 at 11:46:56 PM, Stephen Warren wrote:
On 05/04/2015 02:54 PM, Marek Vasut wrote:
Switch to generic timer implementation from lib/time.c .
This also fixes a signed overflow which was in __udelay()
implementation.
Can you expla
Hi Hans,
On 5 May 2015 at 16:14, Hans de Goede wrote:
> Hi,
>
>
> On 05/05/2015 11:46 PM, Simon Glass wrote:
>>
>> Hi Hans,
>>
>> On 5 May 2015 at 07:28, Hans de Goede wrote:
>>>
>>> USB scanning is slow, and there is no need to scan the companion busses
>>> if no usb devices where handed over t
Hi Marek,
On 5 May 2015 at 16:23, Marek Vasut wrote:
> On Tuesday, May 05, 2015 at 11:56:03 PM, Hans de Goede wrote:
>> Hi Marek and Simon,
>
> Hi!
>
>> Here is a series with a few usb core fixes, a lot of ohci fixes and ohci
>> dm support (tested on sunxi). This series sits on top of the series
On Tuesday, May 05, 2015 at 11:56:03 PM, Hans de Goede wrote:
> Hi Marek and Simon,
Hi!
> Here is a series with a few usb core fixes, a lot of ohci fixes and ohci
> dm support (tested on sunxi). This series sits on top of the series adding
> companion controller support to the dm usb code and 2 e
On Tuesday, May 05, 2015 at 11:46:56 PM, Stephen Warren wrote:
> On 05/04/2015 02:54 PM, Marek Vasut wrote:
> > Switch to generic timer implementation from lib/time.c .
> > This also fixes a signed overflow which was in __udelay()
> > implementation.
>
> Can you explain that a bit more?
>
> > -vo
Hi,
On 05/05/2015 11:46 PM, Simon Glass wrote:
Hi Hans,
On 5 May 2015 at 07:28, Hans de Goede wrote:
USB scanning is slow, and there is no need to scan the companion busses
if no usb devices where handed over to the companinon controllers by any
of the main controllers.
This saves e.g. 2 sec
Hi Simon,
On 05/05/2015 11:46 PM, Simon Glass wrote:
Hi Hans,
On 5 May 2015 at 07:28, Hans de Goede wrote:
USB companion controllers must be scanned after the main controller has
been scanned, so that any devices which the main controller which to hand
over to the companion have actually been
For some reason the ohci code is full with:
pkt_print(...)
mdelay(1);
AFAICT there is no reason for the mdelay(1) calls. This commit disables them
when building the ohci code for new driver-model using boards. It leaves
the mdelay(1) calls in place when building fo
Add proper cache flushing / invalidating for non cache coherent cpus, for now
only enable this for new (driver-model) usb code to avoid regressions.
Signed-off-by: Hans de Goede
---
drivers/usb/host/ohci-hcd.c | 67 +
drivers/usb/host/ohci.h | 22 +
This commit adds support for the OHCI companionen controller, which makes
usb-1 devices directly plugged into to usb root port work.
Note for now this switches usb-keyboard support for sunxi back from int-queue
support to the old interrupt polling method. Adding int-queue support to the
ohci code
Auto-resubmission of interrupt packets does not match the u-boot usb model.
Signed-off-by: Hans de Goede
---
drivers/usb/host/ohci-hcd.c | 41 ++---
1 file changed, 2 insertions(+), 39 deletions(-)
diff --git a/drivers/usb/host/ohci-hcd.c b/drivers/usb/host/o
Interrupts transfers timing out is normal, so do not log an error for this.
Signed-off-by: Hans de Goede
---
drivers/usb/host/ohci-hcd.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/usb/host/ohci-hcd.c b/drivers/usb/host/ohci-hcd.c
index 3744658..494b760 100644
-
The common usb_hub code already waits a full second after powering up ports,
so there is no need for additional delays inside the hcd code.
Signed-off-by: Hans de Goede
---
drivers/usb/host/ohci-hcd.c | 4
1 file changed, 4 deletions(-)
diff --git a/drivers/usb/host/ohci-hcd.c b/drivers/us
Add driver-model support to the ohci code.
Signed-off-by: Hans de Goede
---
drivers/usb/host/ohci-hcd.c | 84 +
drivers/usb/host/ohci.h | 7
2 files changed, 91 insertions(+)
diff --git a/drivers/usb/host/ohci-hcd.c b/drivers/usb/host/ohci-h
Fix taken from the Linux kernel ohci driver.
Signed-off-by: Hans de Goede
---
drivers/usb/host/ohci-hcd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/host/ohci-hcd.c b/drivers/usb/host/ohci-hcd.c
index 15aea98..02aa7f3 100644
--- a/drivers/usb/host/ohci-hcd.c
Non static function and variable declarations do not belong in a .h file.
Signed-off-by: Hans de Goede
---
drivers/usb/host/ohci-hcd.c | 86 +
drivers/usb/host/ohci.h | 93 -
2 files changed, 86 insertions(+)
devgone is never assigned a value, so the one comparisson reading it will
never be true, and devgone can be completely removed.
Signed-off-by: Hans de Goede
---
drivers/usb/host/ohci-hcd.c | 8
1 file changed, 8 deletions(-)
diff --git a/drivers/usb/host/ohci-hcd.c b/drivers/usb/host/o
Hi Marek and Simon,
Here is a series with a few usb core fixes, a lot of ohci fixes and ohci
dm support (tested on sunxi). This series sits on top of the series adding
companion controller support to the dm usb code and 2 ehci fixes which I
send earlier today.
Regards,
Hans
_
This fixes descriptor reading of lowspeed devices through ohci not working.
Signed-off-by: Hans de Goede
---
common/usb.c | 17 +++--
1 file changed, 11 insertions(+), 6 deletions(-)
diff --git a/common/usb.c b/common/usb.c
index 48f0780..4a09583 100644
--- a/common/usb.c
+++ b/comm
This is a preparation patch for adding driver-model support.
Signed-off-by: Hans de Goede
---
drivers/usb/host/ohci-hcd.c | 9 +++--
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/drivers/usb/host/ohci-hcd.c b/drivers/usb/host/ohci-hcd.c
index b5676ab..07e0848 100644
--- a/dri
Do not try to reset a device 5 times when it is handed over to a companion
controller, also do not print an error when it has been handed over.
Signed-off-by: Hans de Goede
---
common/usb_hub.c | 12 ++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/common/usb_hub.c b/c
This is a preparation patch for adding driver-model support.
Signed-off-by: Hans de Goede
---
drivers/usb/host/ohci-hcd.c | 10 ++
drivers/usb/host/ohci.h | 19 +++
2 files changed, 9 insertions(+), 20 deletions(-)
diff --git a/drivers/usb/host/ohci-hcd.c b/drivers/u
This is a preparation patch for adding driver-model support.
Note we do keep ohci_dev as a separate struct so that we can later add
support for interrupt-queues which requires allocating a separate ohci_dev
per interrupt-queue.
Signed-off-by: Hans de Goede
---
drivers/usb/host/ohci-hcd.c | 22 +
This is a preparation patch for adding driver-model support.
Signed-off-by: Hans de Goede
---
drivers/usb/host/ohci-hcd.c | 124 +++-
1 file changed, 64 insertions(+), 60 deletions(-)
diff --git a/drivers/usb/host/ohci-hcd.c b/drivers/usb/host/ohci-hcd.c
On 05/04/2015 02:54 PM, Marek Vasut wrote:
Switch to generic timer implementation from lib/time.c .
This also fixes a signed overflow which was in __udelay()
implementation.
Can you explain that a bit more?
-void __udelay(unsigned long usec)
-{
- ulong endtime;
- signed long diff;
Hi Hans,
On 5 May 2015 at 07:28, Hans de Goede wrote:
> USB scanning is slow, and there is no need to scan the companion busses
> if no usb devices where handed over to the companinon controllers by any
> of the main controllers.
>
> This saves e.g. 2 seconds when booting a A10 OLinuxIno Lime wit
Hi Hans,
On 5 May 2015 at 07:28, Hans de Goede wrote:
> USB companion controllers must be scanned after the main controller has
> been scanned, so that any devices which the main controller which to hand
> over to the companion have actually been handed over before we scan the
> companion.
>
> As
Hi Hans,
On 5 May 2015 at 07:28, Hans de Goede wrote:
> Move printing of usb scan status to usb_scan_bus().
>
> This is a preparation patch for adding companion controller support to the
> usb uclass.
>
> Signed-off-by: Hans de Goede
> ---
> drivers/usb/host/usb-uclass.c | 22 +-
Hi Hans,
On 5 May 2015 at 15:37, Hans de Goede wrote:
> Hi,
>
>
> On 05/05/2015 11:06 PM, Simon Glass wrote:
>>
>> Hi Hans,
>>
>> On 5 May 2015 at 11:42, Simon Glass wrote:
>>>
>>> On 5 May 2015 at 03:54, Hans de Goede wrote:
Convert sunxi-boards which use the sunxi-ehci code to the d
Hi Joe,
On 5 May 2015 at 11:23, Joe Hershberger wrote:
>
> Introduced in change d20a40de9db07de1f1f06a79a4da1cdda5379b75
> "Roll crc32 into hash infrastructure"
>
> Use a consistent define to enable the verify feature in crc32 command.
>
> Signed-off-by: Joe Hershberger
> ---
>
> common/cmd_mem
Hi,
On 05/05/2015 11:06 PM, Simon Glass wrote:
Hi Hans,
On 5 May 2015 at 11:42, Simon Glass wrote:
On 5 May 2015 at 03:54, Hans de Goede wrote:
Convert sunxi-boards which use the sunxi-ehci code to the driver-model.
Signed-off-by: Hans de Goede
Acked-by: Simon Glass
---
Changes in v4:
-A
On 5 May 2015 at 11:23, Joe Hershberger wrote:
> Introduced in change d20a40de9db07de1f1f06a79a4da1cdda5379b75
> "Roll crc32 into hash infrastructure"
>
> The crc32 command with no -v expects an optional 3rd argument to be an
> address to store the result in. With the -v switch, the last argument
Only enable graphical output for stdout/stderr (and a usb keyboard for stdin)
when a hdmi device is detected.
Serial console is always enabled for stdin/stdout/stderr.
Signed-off-by: Soeren Moch
---
Cc: Stefano Babic
---
include/configs/tbs2910.h | 17 +
1 file changed, 13 inser
Add emmc boot partition commands to be able to select the boot partition.
Signed-off-by: Soeren Moch
---
Cc: Stefano Babic
---
include/configs/tbs2910.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/configs/tbs2910.h b/include/configs/tbs2910.h
index 9efb8c2..1f3c3d8 100644
--- a/
Add CONFIG_CMD_EXT4_WRITE to enable ext4 write support.
Signed-off-by: Soeren Moch
---
Cc: Stefano Babic
---
include/configs/tbs2910.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/configs/tbs2910.h b/include/configs/tbs2910.h
index 1f3c3d8..d0d6a30 100644
--- a/include/configs/tb
Since there is a default CONFIG_SYS_PBSIZE definition in config_fallbacks.h,
this setting is no longer required in board configurations.
Signed-off-by: Soeren Moch
---
Cc: Stefano Babic
---
include/configs/tbs2910.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/include/configs/tbs2910.h
Add support for USB OTG host mode. Only high speed devices supported so far
(e.g. usb 2.0 hub required to connect a keyboard).
Signed-off-by: Soeren Moch
---
Cc: Stefano Babic
---
board/tbs/tbs2910/tbs2910.c | 10 ++
include/configs/tbs2910.h | 1 +
2 files changed, 11 insertions(+)
Hi Hans,
On 5 May 2015 at 11:42, Simon Glass wrote:
> On 5 May 2015 at 03:54, Hans de Goede wrote:
>> Convert sunxi-boards which use the sunxi-ehci code to the driver-model.
>>
>> Signed-off-by: Hans de Goede
>> Acked-by: Simon Glass
>> ---
>> Changes in v4:
>> -Add a comment to document the s
On 5 May 2015 at 05:37, haikun.w...@freescale.com
wrote:
> On 5/1/2015 9:54 AM, Simon Glass wrote:
>> Hi,
>>
>> On 29 April 2015 at 04:40, Haikun Wang wrote:
>>> Add command "sf info" to show the information of the current SPI flash
>>> device.
>>>
>>> Signed-off-by: Haikun Wang
>>> ---
>>> In
On 3 May 2015 at 14:13, Joe Hershberger wrote:
> Unify the command for running unit tests further by moving the "dm test"
> command over to "ut dm".
>
> Signed-off-by: Joe Hershberger
> ---
>
> Changes in v3:
> -New for version 3
>
> Changes in v2: None
>
> arch/sandbox/Kconfig | 5 -
> in
On 3 May 2015 at 14:12, Joe Hershberger wrote:
> Put the driver model for the system back into a good state after
> completing the DM testing.
>
> Signed-off-by: Joe Hershberger
> ---
>
> Changes in v3:
> -New for version 3
>
> Changes in v2: None
>
> test/dm/test-main.c | 5 +
> 1 file chan
On 3 May 2015 at 14:12, Joe Hershberger wrote:
> Make all unit tests selectable as a menu of test suites instead of just
> sitting in the top-level menu individually.
>
> Signed-off-by: Joe Hershberger
> ---
>
> Changes in v3:
> -New for version 3
>
> Changes in v2: None
>
> test/Kconfig| 7
Hi Joe,
On 3 May 2015 at 14:12, Joe Hershberger wrote:
> Make sure that the env gets cleaned up after a test fails so that other
> tests aren't affected.
>
> Signed-off-by: Joe Hershberger
> ---
>
> Changes in v3:
> -New for version 3
>
> Changes in v2: None
>
> test/dm/eth.c | 79
> ++
On 27 April 2015 at 07:36, Peng Fan wrote:
>
> 1. Introduce a new structure `struct mxc_i2c_bus`, this structure will
>used for non-DM and DM.
> 2. Remove `struct mxc_i2c_regs` structure, but use register offset to access
>registers based on `base` entry of `struct mxc_i2c_bus`.
> 3. Remov
On 3 May 2015 at 14:12, Joe Hershberger wrote:
> Add a command that all other unit tests should be a sub-command of.
> Also include a command that will run all tests.
>
> Signed-off-by: Joe Hershberger
> ---
>
> Changes in v3:
> -New for version 3
>
> Changes in v2: None
>
> include/test/suites.
Add support for the STM32F1 famly to the STM32 serial driver.
Signed-off-by: Matt Porter
---
v3:
- Update copyright notice
v2:
- Explicitly check for F4/F1 family and error if not
set to a supported STM32 family.
drivers/serial/serial_stm32.c | 10 ++
1 file ch
1 - 100 of 243 matches
Mail list logo