On 04/19/2015 08:16 PM, yuantian.t...@freescale.com wrote:
> From: Tang Yuantian
>
> Function dp_ddr_restore is to restore the first 128-byte space
> of DDR. However those codes may be optimized out by compiler
> since the destination address is at 0x0. In order to avoid
> compiler optimization
On 04/21/2015 07:59 PM, Shengzhou Liu wrote:
> CS4315 PHY doesn't support phy-reset by software, it
> needs to reset it by hardware via CPLD control.
>
> Signed-off-by: Shengzhou Liu
> ---
> board/freescale/t208xrdb/cpld.h | 3 +++
> board/freescale/t208xrdb/t208xrdb.c | 7 +++
> 2 fil
On 04/21/2015 10:57 PM, Yangbo Lu wrote:
> Add adapter card type identification support by reading
> FPGA STAT_PRES1 register SDHC Card ID[0:2] bits. To use this function,
> define CONFIG_FSL_ESDHC_ADAPTER_IDENT.
>
> Signed-off-by: Yangbo Lu
> Cc: York Sun
> Cc: Pantelis Antoniou
> ---
> Chan
On 04/21/2015 10:57 PM, Yangbo Lu wrote:
> Enable eSDHC adapter card type identification and this will do
> some corresponding operations and set 'adapter-type' property
> for device tree according SDHC Card ID.
>
> Signed-off-by: Yangbo Lu
> Cc: York Sun
> Cc: Pantelis Antoniou
> ---
> Chang
On 04/21/2015 10:57 PM, Yangbo Lu wrote:
> Enable eSDHC peripheral clock support. u-boot and linux will
> use SD clock generated by peripheral clock instead of platform
> clock.
>
> Signed-off-by: Yangbo Lu
> Cc: York Sun
> Cc: Pantelis Antoniou
> ---
> Changes for v3:
> - Add Pantelis
On 04/21/2015 10:57 PM, Yangbo Lu wrote:
> The SD clock could be generated by platform clock or peripheral
> clock for some platforms. This patch adds peripheral clock
> support for T1024/T1040/T2080. To enable it, define
> CONFIG_FSL_ESDHC_USE_PERIPHERAL_CLK.
>
> Signed-off-by: Yangbo Lu
> Cc:
On 04/22/2015 02:54 AM, Shengzhou Liu wrote:
> T2080RDB RevC uses new SODIMM 1867MT/s instead of previous 1600MT/s.
> So update RCW to support new DDR frequency 1867MT/s by default.
> Reserve the old 1600MT/s in comment for users in needed.
>
> Signed-off-by: Shengzhou Liu
> ---
> board/freesc
On 04/29/2015 07:03 PM, Xie Shaohui-B21989 wrote:
>> On 04/27/2015 12:28 AM, shh@gmail.com wrote:
>>> From: Shaohui Xie
>>>
>>> 1. board/freescale/t4qds/t4_rcw.cfg
>>> 1.8GHz support is requested as default frequency, so update the rcw.
>>>
>>> 2. remove un-used configs
>>> configs/T4160QDS_
On 04/28/2015 10:59 AM, Oleksandr G Zhadan wrote:
> To replicate:
> 1. add to include/configs/p1_p2_rdb_pc.h "#define CONFIG_CMD_GPIO"
> 2. run `make P1020RDB-PC_defconfig`
> 3. run CROSS_COMPILE=powerpc-linux- make
>
> and you will get:
> common/built-in.o: In function `do_gpio':
> u-boot/commo
On 04/29/2015 01:57 PM, Oleksandr G Zhadan wrote:
> New QorIQ p1020 based board support from Arcturus Networks Inc.
> http://www.arcturusnetworks.com/products/ucp1020/
>
> Signed-off-by: Michael Durrant
> Signed-off-by: Oleksandr G Zhadan
>
> Series-version: 2
>
> Series-changes: 2
> W
Thank you.
Oleks
On 05/05/2015 12:42 PM, York Sun wrote:
On 04/29/2015 01:57 PM, Oleksandr G Zhadan wrote:
New QorIQ p1020 based board support from Arcturus Networks Inc.
http://www.arcturusnetworks.com/products/ucp1020/
Signed-off-by: Michael Durrant
Signed-off-by: Oleksandr G Zhadan
Ser
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:
git://git.denx.de/u-boot-mpc85xx.git master
for you to fetch changes up to 8
Hi Marcel,
On Tue, May 5, 2015 at 7:36 AM, Marcel Ziswiler wrote:
> From: Marcel Ziswiler
>
> did not work:
>
> Colibri T30 # crc32 0x8000 0x100
> crc32 for 8000 ... 80ff ==> 9eb4f5ca
> Colibri T30 # crc32 -v 0x8000 0x100 c9a057b3
> crc32 for 8000 ... 80ff ==> 9eb4f5ca !=
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
is a crc, not an address. In the case where -v is set, we
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.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git
Hi Michael,
On Tue, May 5, 2015 at 3:25 AM, Michael Walle wrote:
> Hi Joe,
>
> Am 2015-05-04 21:55, schrieb Joe Hershberger:
>>
>> diff --git a/board/buffalo/lsxl/lsxl.c b/board/buffalo/lsxl/lsxl.c
>> index 487875c..45dd788 100644
>> --- a/board/buffalo/lsxl/lsxl.c
>> +++ b/board/buffalo/lsxl/lsx
On 5 May 2015 at 03:54, Hans de Goede wrote:
> Make usb_get_bus easier to use for callers, by directly returning the bus
> rather then returning it via a pass-by-ref argument.
>
> This also removes the error checking from the current callers, as
> we already have an assert() for bus not being NULL
On 5 May 2015 at 03:54, Hans de Goede wrote:
> The ehci driver model code for finding the first upstream usb-2 hub before
> this commit has a number of issues:
>
> 1) "if (!ttdev->speed != USB_SPEED_HIGH)" does not work because the '!'
>takes presedence over the '!=' this should simply be
>
On 5 May 2015 at 03:54, Hans de Goede wrote:
> Without this usb-1 device descriptors do not get read properly.
>
> Signed-off-by: Hans de Goede
> Acked-by: Simon Glass
> ---
> drivers/usb/host/ehci-hcd.c | 3 +++
> 1 file changed, 3 insertions(+)
Applied to u-boot-dm, thanks!
_
On 5 May 2015 at 03:54, Hans de Goede wrote:
> Interrupt endpoints typically are polled for a long time by the usb
> controller before they return anything, so calls to submit_int_msg() can
> take a long time to complete this.
>
> To avoid this the u-boot code has the an interrupt queue mechanism
On 5 May 2015 at 03:54, Hans de Goede wrote:
> This is a preparation patch for adding interrupt-queue support to the
> ehci dm code.
>
> Signed-off-by: Hans de Goede
> Acked-by: Simon Glass
> ---
> drivers/usb/host/ehci-hcd.c | 31 +--
> 1 file changed, 25 insertions
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 setting of some priv-data members based on
> the controller bas
Hi Li,
On 04/01/2015 02:36 AM, li yuqian wrote:
> gcc --version shows following:
> gcc (Ubuntu 4.8.2-19ubuntu1) 4.8.2
> Copyright (C) 2013 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions. There is NO
> warranty; not even for MERCHANTABILITY or FITNESS
On 5 May 2015 at 09:31, Simon Glass wrote:
> On 5 May 2015 at 03:54, Hans de Goede wrote:
>> Currently we copy over a number of usb_device values stored in the on stack
>> struct usb_device probed in usb_scan_device() to the final driver-model
>> managed
>> struct usb_device in usb_child_pre_pro
On 5 May 2015 at 03:54, Hans de Goede wrote:
> Add support for interrupt queues to the dm ehci code.
>
> Signed-off-by: Hans de Goede
> Acked-by: Simon Glass
> ---
> drivers/usb/host/ehci-hcd.c | 26 ++
> 1 file changed, 26 insertions(+)
Applied to u-boot-dm, thanks!
__
On 5 May 2015 at 03:54, Hans de Goede wrote:
> Use usb_get_bus in dm ehci code rather then re-implementing it.
>
> Signed-off-by: Hans de Goede
> Acked-by: Simon Glass
> ---
> Changes in v2:
> -New patch in v2 of this patch-set
> ---
> drivers/usb/host/ehci-hcd.c | 9 +
> 1 file changed
The sampling of the oscillator can be done in multiple modes for
generating the entropy value. By default, this is set to von
Neumann. This patch changes the sampling to raw data, since it
has been discovered that the generated entropy has a better
'quality'.
Signed-off-by: Alex Porosanu
---
dri
The rtfrqmax & rtfrqmin set the bounds of the expected frequency of the
oscillator, when SEC runs at its maximum frequency. For certain platforms
(f.i. T2080), the oscillator is very fast and thus if the SEC runs at
a lower than normal frequency, the ring oscillator is incorrectly detected
as being
This set of patches fixes some issues identified with the
usage of the RNG block of the CAAM in newer SoCs e.g. T2080.
Alex Porosanu (3):
crypto/fsl - disable RNG oscillator maximum frequency check
crypto/fsl - change starting entropy delay value
crypto/fsl - enable raw data instead of von N
The entropy delay (the length in system clocks of each
entropy sample) for the RNG4 block of CAAM is dependent
on the frequency of the SoC. By elaborate methods, it
has been determined that a good starting value for all
platforms integrating the CAAM IP is 3200. Using a
higher value has additional
Hi,
Tim Harvey writes:
> On Wed, Apr 29, 2015 at 8:02 AM, Daniel Kochmański
> wrote:
>> Introduces CONFIG_SYS_NAND_U_BOOT_BACKUP_OFFS, pointing to backup
>> U-Boot instance in nand memory. In case if first header doesn't match,
>> tries to load bootloader from this offset. In case of both faili
Hi Albert,
On 5 May 2015 at 01:17, Albert ARIBAUD wrote:
> Bonjour Simon,
>
> Le Mon, 4 May 2015 15:37:22 -0600, Simon Glass a
> écrit :
>
>> On 4 May 2015 at 13:55, Joe Hershberger wrote:
>> > We really don't want boards defining fixed MAC addresses in their config
>> > so we just remove the o
In order to perform a crc32 integrity check of a zImage, I would like to read
the zImage length from its header (offset 0x2C).
To perform this I would need a command letting me to set an environment
variable to the value of a certain RAM address.
If this command is not available (maybe I'm just
Hi Albert,
On Tue, May 5, 2015 at 2:17 AM, Albert ARIBAUD wrote:
> Bonjour Simon,
>
> Le Mon, 4 May 2015 15:37:22 -0600, Simon Glass a
> écrit :
>
>> On 4 May 2015 at 13:55, Joe Hershberger wrote:
>> > We really don't want boards defining fixed MAC addresses in their config
>> > so we just remo
On 05/05/2015 10:19 AM, Simon Glass wrote:
Hi Stephen,
On 5 May 2015 at 10:10, Stephen Warren wrote:
On 05/05/2015 10:02 AM, Simon Glass wrote:
Hi Stephen,
On 5 May 2015 at 09:54, Stephen Warren wrote:
On 05/04/2015 11:31 AM, Simon Glass wrote:
Add an implementation of this function f
Hi Davide,
On Tue, May 5, 2015 at 9:35 AM, Davide BONFANTI
wrote:
> In order to perform a crc32 integrity check of a zImage, I would like to read
> the zImage length from its header (offset 0x2C).
> To perform this I would need a command letting me to set an environment
> variable to the value
On 05/05/2015 10:26 AM, Simon Glass wrote:
Hi Stephen,
On 5 May 2015 at 10:12, Stephen Warren wrote:
On 05/05/2015 10:03 AM, Simon Glass wrote:
Hi Stephen,
On 5 May 2015 at 09:59, Stephen Warren wrote:
On 05/04/2015 11:31 AM, Simon Glass wrote:
We are getting very close to running out
common/image.c currently implicitly depends on CONFIG_NR_DRAM_BANKS
when CONFIG_ARM is enabled. Make this requirement explicit.
Signed-off-by: Matt Porter
---
common/image.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/image.c b/common/image.c
index 162b682..73c24f5
On ARM v7M, the processor will return to ARM mode when executing
a blx instruction with bit 0 of the address == 0. Always set it
to 1 to stay in thumb mode.
Signed-off-by: Matt Porter
---
v3:
- Implement using an override of the weak do_go_exec() when
building for ARMv7-M.
arc
This series adds support for the STM32F1 SoC family and the STM3210E-EVAL
board on top of the STM32F4 SoC family support [1].
Since this board has no DRAM the first patch fixes the build when
CONFIG_NR_DRAM_BANKS is not set. A patch is also required to force the
processor to stay in Thumb mode whe
Add ARMv7M STM32F1 support including clocks, timer, gpio, and flash.
Signed-off-by: Matt Porter
---
v3:
- Update copyright notices
arch/arm/cpu/armv7m/Makefile | 1 +
arch/arm/cpu/armv7m/stm32f1/Makefile | 14 +++
arch/arm/cpu/armv7m/stm32f1/clock.c | 196
Add support for the STM32F1 family to the STM32 gpio 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/gpio/stm32_gpio.c | 110 +
Add support for the STM32F1-based stm3210e-eval boards
from ST. UART, Flash, GPIO, and LEDs are supported.
Signed-off-by: Matt Porter
---
v3:
- Update copyright notices
arch/arm/Kconfig | 5 ++
board/st/stm3210e-eval/Kconfig | 19 ++
board/st/stm3210
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
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.
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:
> 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: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 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
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
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(+)
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
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/
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
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
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 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 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
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;
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
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
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 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
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
_
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(+)
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
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
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 +
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
-
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
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
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
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
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
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
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
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
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
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: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 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 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
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 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 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: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 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
101 - 200 of 243 matches
Mail list logo