[U-Boot] [U-boot] soft interrupt handler question

2013-08-01 Thread TigerLiu
Hi, experts: Does U-boot support soft interrupt handler? In start.S : ... software_interrupt: get_bad_stack bad_save_user_regs bl do_software_interrupt ... Not include resore_user_regs function such as irq_restore_user_regs. Best wishes,

Re: [U-Boot] [PATCH v3 8/9] tegra: i2c: Enable new CONFIG_SYS_I2C framework

2013-08-01 Thread Heiko Schocher
Hello Stephen, Am 01.08.2013 07:39, schrieb Stephen Warren: On 07/31/2013 10:32 PM, Heiko Schocher wrote: Hello Stephen, Am 31.07.2013 21:31, schrieb Stephen Warren: On 07/30/2013 11:46 PM, Heiko Schocher wrote: ... Hmm.. each i2c adapter has its own init function ... why the tegra driver

Re: [U-Boot] [PATCH v3 8/9] tegra: i2c: Enable new CONFIG_SYS_I2C framework

2013-08-01 Thread Albert ARIBAUD
Hi Heiko, On Thu, 01 Aug 2013 08:02:42 +0200, Heiko Schocher h...@denx.de wrote: I suppose you could. It seems conceptually /far/ simpler to just scan the DT once up-front rather than having to defer all this stuff until on the other hand we ring for every ms boot time ... and here we

[U-Boot] [PATCH v2 2/2] fsl_i2c: add workaround for the erratum I2C A004447

2013-08-01 Thread Chunhe Lan
This workaround is for the erratum I2C A004447. Device reference manual provides a scheme that allows the I2C master controller to generate nine SCL pulses, which enable an I2C slave device that held SDA low to release SDA. However, due to this erratum, this scheme no longer works. In addition,

Re: [U-Boot] [PATCH v2 2/2] fsl_i2c: add workaround for the erratum I2C A004447

2013-08-01 Thread Heiko Schocher
Hello Chunhe Am 01.08.2013 10:07, schrieb Chunhe Lan: This workaround is for the erratum I2C A004447. Device reference manual provides a scheme that allows the I2C master controller to generate nine SCL pulses, which enable an I2C slave device that held SDA low to release SDA. However, due to

[U-Boot] [PATCH v2 1/2] fsl_i2c: generate nine pulses on SCL if the I2C bus is hung

2013-08-01 Thread Chunhe Lan
When the code detected that the bus is hung (e.g. SDA stuck low), send 9 pulses on SCL to try to fixup the bus. Signed-off-by: Zhao Chenhui chenhui.z...@freescale.com Signed-off-by: Chunhe Lan chunhe@freescale.com Cc: Scott Wood scottw...@freescale.com --- drivers/i2c/fsl_i2c.c | 58

Re: [U-Boot] [PATCH v3 8/9] tegra: i2c: Enable new CONFIG_SYS_I2C framework

2013-08-01 Thread Heiko Schocher
Hello Albert, Am 01.08.2013 08:53, schrieb Albert ARIBAUD: Hi Heiko, On Thu, 01 Aug 2013 08:02:42 +0200, Heiko Schocherh...@denx.de wrote: I suppose you could. It seems conceptually /far/ simpler to just scan the DT once up-front rather than having to defer all this stuff until on the

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-08-01 Thread Stefano Babic
Hi Dennis, On 01/08/2013 01:27, Robert Nelson wrote: kernel_boot=echo Trying kernel...; ${fs}load ${devtype} ${devnum} ${kernel_addr_r} ${prefix}vmlinuz ${fs}load ${devtype} ${devnum} ${ramdisk_addr_r} ${prefix}initrd.img bootz ${kernel_addr_r} ${ramdisk_addr_r}:${filesize} ${fdt_addr}

[U-Boot] [PATCH V2] i2c: soft: Fix typo in CONFIG_SYS_I2C_SOFT_SPEED

2013-08-01 Thread Marek Vasut
In case only the CONFIG_SYS_I2C_SPEED is set in configuration file, the CONFIG_SYS_I2C_SOFT_SPEED is defined as CONFIG_SYS_I2C_SPEED. The CONFIG_SYS_I2C_SOFT_SPEED is then used throughout the driver. Unfortunatelly, due to a typo in the driver, instead of defining CONFIG_SYS_I2C_SOFT_SPEED, an

[U-Boot] [PATCH] mmc: mxsmmc: Enable MMC HC support

2013-08-01 Thread Marek Vasut
Enable support for high-capacity eMMC and MMC cards. The MXS MMC driver has no problem with those. From: Amaury Pouly amaury.po...@gmail.com Signed-off-by: Marek Vasut ma...@denx.de Signed-off-by: Amaury Pouly amaury.po...@gmail.com Cc: Andy Fleming aflem...@freescale.com Cc: Fabio Estevam

Re: [U-Boot] [PATCH] mmc: mxsmmc: Enable MMC HC support

2013-08-01 Thread Fabio Estevam
Hi Marek, On Thu, Aug 1, 2013 at 8:54 AM, Marek Vasut ma...@denx.de wrote: Enable support for high-capacity eMMC and MMC cards. The MXS MMC driver has no problem with those. From: Amaury Pouly amaury.po...@gmail.com The 'From' field should come prior to the commit log. Signed-off-by: Marek

Re: [U-Boot] Pull request: u-boot-blackfin

2013-08-01 Thread Tom Rini
On Wed, Jul 31, 2013 at 05:14:59PM +0800, Sonic Zhang wrote: Hi Tom, Please pull the following patches from u-boot-blackfin into your tree. Thanks The following changes since commit 6a19cc9df0ff76273cecd3cd72323a73ff44e8de: cfi_flash: Add prototypes of overridable functions

[U-Boot] [PATCH] mmc: mxsmmc: Enable MMC HC support

2013-08-01 Thread Marek Vasut
From: Amaury Pouly amaury.po...@gmail.com Enable support for high-capacity eMMC and MMC cards. The MXS MMC driver has no problem with those. Signed-off-by: Marek Vasut ma...@denx.de Signed-off-by: Amaury Pouly amaury.po...@gmail.com Cc: Andy Fleming aflem...@freescale.com Cc: Fabio Estevam

Re: [U-Boot] [PATCH v3 8/9] tegra: i2c: Enable new CONFIG_SYS_I2C framework

2013-08-01 Thread Simon Glass
Hi, On Thu, Aug 1, 2013 at 2:38 AM, Heiko Schocher h...@denx.de wrote: Hello Albert, Am 01.08.2013 08:53, schrieb Albert ARIBAUD: Hi Heiko, On Thu, 01 Aug 2013 08:02:42 +0200, Heiko Schocherh...@denx.de wrote: I suppose you could. It seems conceptually /far/ simpler to just scan the

Re: [U-Boot] [PATCH] mmc: mxsmmc: Enable MMC HC support

2013-08-01 Thread Otavio Salvador
On Thu, Aug 1, 2013 at 11:21 AM, Marek Vasut ma...@denx.de wrote: From: Amaury Pouly amaury.po...@gmail.com Enable support for high-capacity eMMC and MMC cards. The MXS MMC driver has no problem with those. Signed-off-by: Marek Vasut ma...@denx.de Signed-off-by: Amaury Pouly

Re: [U-Boot] [PATCH v3 8/9] tegra: i2c: Enable new CONFIG_SYS_I2C framework

2013-08-01 Thread Heiko Schocher
Hello Simon, Am 01.08.2013 16:22, schrieb Simon Glass: Hi, On Thu, Aug 1, 2013 at 2:38 AM, Heiko Schocherh...@denx.de wrote: Hello Albert, Am 01.08.2013 08:53, schrieb Albert ARIBAUD: Hi Heiko, On Thu, 01 Aug 2013 08:02:42 +0200, Heiko Schocherh...@denx.de wrote: I suppose you

Re: [U-Boot] fw_printenv (uboot2011.12) 'Warning: Bad CRC, using default environment'

2013-08-01 Thread Andreas Neubacher
On 31.07.2013 18:51, Andreas Bießmann wrote: Dear Andy Neubi, On 31.07.13 15:26, Andy Neubi wrote: hi, i'm using the uboot-tools (fw_printenv) to readout the env-settings of my beagleboard-XM uboot. unfortunately i always getthe 'Warning: Bad CRC, using default environment' msg please

Re: [U-Boot] [PATCH v4 2/4] apf27: add support for the armadeus APF27 board

2013-08-01 Thread trem
Hi Stefano, On 29/07/13 11:43, Stefano Babic wrote: diff --git a/board/armadeus/apf27/splboot.S b/board/armadeus/apf27/splboot.S new file mode 100644 index 000..898e59b --- /dev/null +++ b/board/armadeus/apf27/splboot.S @@ -0,0 +1,528 @@ +/* + * IMX27 NAND Flash SPL (Secondary Program

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-08-01 Thread Rob Herring
On 08/01/2013 03:53 AM, Stefano Babic wrote: Hi Dennis, On 01/08/2013 01:27, Robert Nelson wrote: kernel_boot=echo Trying kernel...; ${fs}load ${devtype} ${devnum} ${kernel_addr_r} ${prefix}vmlinuz ${fs}load ${devtype} ${devnum} ${ramdisk_addr_r} ${prefix}initrd.img bootz

Re: [U-Boot] [PULL] u-boot-usb/master

2013-08-01 Thread Tom Rini
On Tue, Jul 30, 2013 at 08:48:04PM +0200, Marek Vasut wrote: The following changes since commit 9fab4bf4cc077c21e43941866f3f2c196f28670d: powerpc/ppc4xx: Convert new gdsys files to SPDX license tags (2013-07-26 15:32:59 -0400) are available in the git repository at:

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-08-01 Thread Dennis Gilmore
On Thu, 01 Aug 2013 10:53:49 +0200 Stefano Babic sba...@denx.de wrote: Hi Dennis, On 01/08/2013 01:27, Robert Nelson wrote: kernel_boot=echo Trying kernel...; ${fs}load ${devtype} ${devnum} ${kernel_addr_r} ${prefix}vmlinuz ${fs}load ${devtype} ${devnum} ${ramdisk_addr_r}

[U-Boot] OMAP5 uEVM USB eHCI patch set v4

2013-08-01 Thread Dan Murphy
This patch set is for the OMAP5 uEVM for the USB eHCI host. This patch set will enable the LAN9730 ethernet IC and the USB3503 usb hub. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH v4 7/7] ARM: OMAP5-uevm: Add usb device reset API

2013-08-01 Thread Dan Murphy
Add the call back to reset the LAN9730 after the FEAT_POWER has been called. Signed-off-by: Dan Murphy dmur...@ti.com --- v3 - Added this patch to separate the patch series - http://patchwork.ozlabs.org/patch/258229/ v4 - Updated the CONFIG gpio to be PHY3 -

[U-Boot] [PATCH v4 4/7] ARM: OMAP5-uevm: Add USB ehci support for the uEVM

2013-08-01 Thread Dan Murphy
Add the USB ehci support for the OMAP5 uEVM. Configure the uEVM mux data Add the flags to build the appropriate modules Add the usb call backs to initialize the EHCI controller Signed-off-by: Dan Murphy dmur...@ti.com --- v3 - Updated per comments and removed reset function -

[U-Boot] [PATCH v4 1/7] omap5: uevm: Change the board name to correct name

2013-08-01 Thread Dan Murphy
Change the board name for the sys info to 5432 uEVM Signed-off-by: Dan Murphy dmur...@ti.com Acked-by: Marek Vasut ma...@denx.de --- v3 - No change - http://patchwork.ozlabs.org/patch/258226/ v4 - No change - http://patchwork.ozlabs.org/patch/259749/ board/ti/omap5_uevm/evm.c |2 +- 1 file

[U-Boot] [PATCH v4 3/7] ARM: OMAP: USB: Fix linker error when ULPI is not defined

2013-08-01 Thread Dan Murphy
Fix the linker error for missing ulpi_reset when ulpi is not defined in the board config. Signed-off-by: Dan Murphy dmur...@ti.com Acked-by: Marek Vasut ma...@denx.de --- v3 - No updates - http://patchwork.ozlabs.org/patch/258228/ v4 - No updates - http://patchwork.ozlabs.org/patch/259755/

[U-Boot] [PATCH v4 5/7] ARM: OMAP5-uevm: Add USB MAC ethernet address

2013-08-01 Thread Dan Murphy
Set the usbethaddr based on the OMAP DIE_ID registers which should be unique for each processor. Then set this as the usb ethernet MAC address. Signed-off-by: Dan Murphy dmur...@ti.com --- v3 - new patch v4 - Updated per the comments - http://patchwork.ozlabs.org/patch/259754/

[U-Boot] [PATCH v4 2/7] ARM: OMAP5: USB: Add OMAP5 common USB EHCI information

2013-08-01 Thread Dan Murphy
* Enable the OMAP5 EHCI host clocks * Add OMAP5 EHCI register definitions * Add OMAP5 ES2 host revision Signed-off-by: Dan Murphy dmur...@ti.com --- v3 - Updated per comments - http://patchwork.ozlabs.org/patch/258230/ v4 - Updated per comments added the CONFIG option for PHY3 GPIO -

[U-Boot] [PATCH v4 6/7] USB: usb-hub: Add a weak function for resetting devices

2013-08-01 Thread Dan Murphy
Add a __weak function that can be overridden to reset devices attached to an ehci devices after the FEAT_POWER has been submitted Signed-off-by: Dan Murphy dmur...@ti.com --- v3 - Modified location of the weak function - http://patchwork.ozlabs.org/patch/258229/ v4 - No code changes -

Re: [U-Boot] OMAP5 uEVM USB eHCI patch set v4

2013-08-01 Thread Marek Vasut
Dear Dan Murphy, This patch set is for the OMAP5 uEVM for the USB eHCI host. This patch set will enable the LAN9730 ethernet IC and the USB3503 usb hub. Applied all, thanks. Best regards, Marek Vasut ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH v3 8/9] tegra: i2c: Enable new CONFIG_SYS_I2C framework

2013-08-01 Thread Albert ARIBAUD
Hi Heiko, On Thu, 01 Aug 2013 10:38:15 +0200, Heiko Schocher h...@denx.de wrote: Hello Albert, Am 01.08.2013 08:53, schrieb Albert ARIBAUD: Hi Heiko, On Thu, 01 Aug 2013 08:02:42 +0200, Heiko Schocherh...@denx.de wrote: I suppose you could. It seems conceptually /far/ simpler to

Re: [U-Boot] [PATCH v3 8/9] tegra: i2c: Enable new CONFIG_SYS_I2C framework

2013-08-01 Thread Albert ARIBAUD
Hi Simon, On Thu, 1 Aug 2013 08:22:55 -0600, Simon Glass s...@chromium.org wrote: Hi, On Thu, Aug 1, 2013 at 2:38 AM, Heiko Schocher h...@denx.de wrote: Hello Albert, Am 01.08.2013 08:53, schrieb Albert ARIBAUD: Hi Heiko, On Thu, 01 Aug 2013 08:02:42 +0200, Heiko

Re: [U-Boot] [PATCH v3 8/9] tegra: i2c: Enable new CONFIG_SYS_I2C framework

2013-08-01 Thread Stephen Warren
On 08/01/2013 12:02 AM, Heiko Schocher wrote: Am 01.08.2013 07:39, schrieb Stephen Warren: On 07/31/2013 10:32 PM, Heiko Schocher wrote: Am 31.07.2013 21:31, schrieb Stephen Warren: On 07/30/2013 11:46 PM, Heiko Schocher wrote: ... 2) Actually initializing or using the I2C HW. That could

Re: [U-Boot] [PATCH v3 8/9] tegra: i2c: Enable new CONFIG_SYS_I2C framework

2013-08-01 Thread Stephen Warren
On 08/01/2013 12:53 AM, Albert ARIBAUD wrote: Hi Heiko, On Thu, 01 Aug 2013 08:02:42 +0200, Heiko Schocher h...@denx.de wrote: I suppose you could. It seems conceptually /far/ simpler to just scan the DT once up-front rather than having to defer all this stuff until on the other hand we

[U-Boot] [PATCH V2 01/20] Add functions for use with i.mx6 otg udc

2013-08-01 Thread Troy Kisky
Add functions for use with mx6 soc void otg_enable(void); void reset_usb_phy1(void); Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com --- arch/arm/cpu/armv7/mx6/soc.c | 47 +++ arch/arm/include/asm/arch-mx6/crm_regs.h | 3 ++

[U-Boot] [PATCH V2 06/20] usb: gadget: config: fix unaligned access issues

2013-08-01 Thread Troy Kisky
Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com --- drivers/usb/gadget/config.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/usb/gadget/config.c b/drivers/usb/gadget/config.c index f563afe..014a679 100644 --- a/drivers/usb/gadget/config.c +++

[U-Boot] [PATCH V2 04/20] usb: gadget: mv_udc: fix hardware udc address for i.MX6

2013-08-01 Thread Troy Kisky
The hcor for i.MX6 is 02184340 and the udc should be 02184140 Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com --- I don't know if this is a correct fix, please check carefully. --- drivers/usb/gadget/mv_udc.c | 28 +++- 1 file changed, 19 insertions(+), 9

[U-Boot] [PATCH V2 03/20] nitrogen6x: add otg usb ethernet gadget support

2013-08-01 Thread Troy Kisky
Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com --- board/boundary/nitrogen6x/nitrogen6x.c | 16 1 file changed, 16 insertions(+) diff --git a/board/boundary/nitrogen6x/nitrogen6x.c b/board/boundary/nitrogen6x/nitrogen6x.c index 1a29b6f..eedcd77 100644 ---

[U-Boot] [PATCH V2 05/20] nitrogen6x: add CONFIG_MV_UDC

2013-08-01 Thread Troy Kisky
Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com --- include/configs/nitrogen6x.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/configs/nitrogen6x.h b/include/configs/nitrogen6x.h index 4242414..ce43b62 100644 --- a/include/configs/nitrogen6x.h +++

[U-Boot] [PATCH V2 05/20] arch-mxs/sys_proto.h: include regs-common.h

2013-08-01 Thread Troy Kisky
sys_proto uses mxs_register_32 so include asm/imx-common/regs-common.h like arch-mx6/sys_proto.h does. This prevents warnings when building m28evk after the next patch in the series. Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com --- arch/arm/include/asm/arch-mxs/sys_proto.h | 2 ++

[U-Boot] [PATCH V2 17/20] usb: gadget: mv_udc: flush item before head

2013-08-01 Thread Troy Kisky
Make sure the transfer descriptor is flushed before the queue is updated so that the controller will not see old information. Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com --- drivers/usb/gadget/mv_udc.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git

[U-Boot] [PATCH V2 04/20] nitrogen6x: add CONFIG_MV_UDC

2013-08-01 Thread Troy Kisky
Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com --- include/configs/nitrogen6x.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/configs/nitrogen6x.h b/include/configs/nitrogen6x.h index 4242414..ce43b62 100644 --- a/include/configs/nitrogen6x.h +++

[U-Boot] [PATCH V2 06/20] usb: gadget: mv_udc: fix hardware udc address for i.MX6

2013-08-01 Thread Troy Kisky
The hcor for i.MX6 is 02184340 and the udc should be 02184140 Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com --- I don't know if this is a correct fix, please check carefully. --- drivers/usb/gadget/mv_udc.c | 28 +++- 1 file changed, 19 insertions(+), 9

[U-Boot] [PATCH V2 00/20] Make mv_udc work for i.mx6

2013-08-01 Thread Troy Kisky
Hi Marek, Stefano This series is based on u-boot-usb/master branch. After this series, nitrogen6x works with tftpboot to transfer files over usb. This V2 is a rebase and most patches had to be changed slightly. I also ran a ./MAKEALL -a arm and fixed the errors that the V1 series had. The most

[U-Boot] [PATCH V2 18/20] usb: gadget: mv_udc: optimize ep_enable

2013-08-01 Thread Troy Kisky
Only get head if not ep0. Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com --- drivers/usb/gadget/mv_udc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/gadget/mv_udc.c b/drivers/usb/gadget/mv_udc.c index 2bf4bc0..82df9ab 100644 ---

[U-Boot] [PATCH V2 07/20] arch-mxs/sys_proto.h: include regs-common.h

2013-08-01 Thread Troy Kisky
sys_proto uses mxs_register_32 so include asm/imx-common/regs-common.h like arch-mx6/sys_proto.h does. This prevents warnings when building m28evk after the next patch in the series. Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com --- arch/arm/include/asm/arch-mxs/sys_proto.h | 2 ++

[U-Boot] [PATCH V2 15/20] usb: gadget: mv_udc: fix full speed connections

2013-08-01 Thread Troy Kisky
Set maximum packet length in queue header to wMaxPacketSize of endpoint. Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com --- drivers/usb/gadget/mv_udc.c | 48 - 1 file changed, 34 insertions(+), 14 deletions(-) diff --git

[U-Boot] [PATCH V2 07/20] usb: gadget: config: fix unaligned access issues

2013-08-01 Thread Troy Kisky
Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com --- drivers/usb/gadget/config.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/usb/gadget/config.c b/drivers/usb/gadget/config.c index f563afe..014a679 100644 --- a/drivers/usb/gadget/config.c +++

[U-Boot] [PATCH V2 02/20] mx6: iomux: add GPR1 defines

2013-08-01 Thread Troy Kisky
Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com --- arch/arm/include/asm/arch-mx6/iomux.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/include/asm/arch-mx6/iomux.h b/arch/arm/include/asm/arch-mx6/iomux.h index f4cfd4f..9e6d40f 100644 ---

[U-Boot] [PATCH V2 09/20] usb: gadget: ether set wMaxPacketSize

2013-08-01 Thread Troy Kisky
set wMaxPacketSize for full speed descriptors Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com --- drivers/usb/gadget/ether.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/usb/gadget/ether.c b/drivers/usb/gadget/ether.c index 579893c..f583c6e 100644 ---

[U-Boot] [PATCH V2 16/20] usb: gadget: mv_udc: optimize bounce

2013-08-01 Thread Troy Kisky
Only perform one copy, either in the bounce routine for IN transfers, or the debounce rtn for OUT transfer. On out transfers, only copy the number of bytes received from the bounce buffer Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com --- drivers/usb/gadget/mv_udc.c | 37

[U-Boot] [PATCH V2 19/20] usb: gadget: mv_udc: zero transfer descriptor memory on probe

2013-08-01 Thread Troy Kisky
Since we flush the TD, we may as well set it to a known value. Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com --- drivers/usb/gadget/mv_udc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/gadget/mv_udc.c b/drivers/usb/gadget/mv_udc.c index 82df9ab..4876894 100644 ---

[U-Boot] [PATCH V2 08/20] usb: gadget: mv_udc: add MX6Q specific reset

2013-08-01 Thread Troy Kisky
Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com --- I don't know if this is needed, but it doesn't hurt. --- drivers/usb/gadget/mv_udc.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/usb/gadget/mv_udc.c b/drivers/usb/gadget/mv_udc.c index 359b8e1..26f193d

[U-Boot] [PATCH V2 10/20] usb: gadget: ether: return error from rx_submit if no request

2013-08-01 Thread Troy Kisky
This prevents a crash if tftpboot is given a bad filename. Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com --- drivers/usb/gadget/ether.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/usb/gadget/ether.c b/drivers/usb/gadget/ether.c index f583c6e..fe73c7b 100644 ---

[U-Boot] [PATCH V2 20/20] usb: gadget: mv_udc: clear desc upon ep_disable

2013-08-01 Thread Troy Kisky
desc is set at ep_enable, so for symmetry, clear it at ep_disable. Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com --- drivers/usb/gadget/mv_udc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/usb/gadget/mv_udc.c b/drivers/usb/gadget/mv_udc.c index 4876894..74fa065

[U-Boot] [PATCH V2 14/20] usb: gadget: mv_udc: set is_dualspeed = 1

2013-08-01 Thread Troy Kisky
This controller support full and high speed. Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com --- drivers/usb/gadget/mv_udc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/gadget/mv_udc.c b/drivers/usb/gadget/mv_udc.c index 3ad51b7..fcfbfa3 100644 ---

[U-Boot] [PATCH V2 13/20] usb: gadget: mv_udc: fix typo in error message

2013-08-01 Thread Troy Kisky
Change 'nfo=' to 'info=' Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com --- drivers/usb/gadget/mv_udc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/gadget/mv_udc.c b/drivers/usb/gadget/mv_udc.c index 0ff2e5e..3ad51b7 100644 ---

[U-Boot] [PATCH V2 11/20] usb: gadget: mv_udc: split mv_udc.h file

2013-08-01 Thread Troy Kisky
Move defines only needed by mv_udc.c to a file in the same directory. This allows usbtty to compile for mv_udc, but it still doesn't link. Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com --- drivers/usb/gadget/mv_udc.c | 6 +++ drivers/usb/gadget/mv_udc.h | 115

[U-Boot] [PATCH V2 12/20] usb: udc: add udc.h include file

2013-08-01 Thread Troy Kisky
Move common defintions to udc.h Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com --- drivers/serial/usbtty.h | 3 +- drivers/usb/gadget/designware_udc.c | 1 + drivers/usb/gadget/mpc8xx_udc.c | 1 + drivers/usb/gadget/omap1510_udc.c | 1 +

Re: [U-Boot] [PATCH V2 04/20] usb: gadget: mv_udc: fix hardware udc address for i.MX6

2013-08-01 Thread Troy Kisky
Sorry folks, I forgot to delete old patches when I rebased to put Stefano patches together, please ignore this one. Troy ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH V2 05/20] nitrogen6x: add CONFIG_MV_UDC

2013-08-01 Thread Troy Kisky
On 8/1/2013 3:18 PM, Troy Kisky wrote: Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com --- include/configs/nitrogen6x.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/configs/nitrogen6x.h b/include/configs/nitrogen6x.h index 4242414..ce43b62 100644 ---

Re: [U-Boot] [PATCH V2 07/20] arch-mxs/sys_proto.h: include regs-common.h

2013-08-01 Thread Troy Kisky
On 8/1/2013 3:18 PM, Troy Kisky wrote: sys_proto uses mxs_register_32 so include asm/imx-common/regs-common.h like arch-mx6/sys_proto.h does. This prevents warnings when building m28evk after the next patch in the series. Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com ---

Re: [U-Boot] [PATCH V2 06/20] usb: gadget: config: fix unaligned access issues

2013-08-01 Thread Troy Kisky
On 8/1/2013 3:18 PM, Troy Kisky wrote: Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com --- drivers/usb/gadget/config.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/usb/gadget/config.c b/drivers/usb/gadget/config.c index f563afe..014a679 100644 ---

Re: [U-Boot] [PATCH V2 06/20] usb: gadget: config: fix unaligned access issues

2013-08-01 Thread Marek Vasut
Dear Troy Kisky, On 8/1/2013 3:18 PM, Troy Kisky wrote: Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com --- drivers/usb/gadget/config.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/usb/gadget/config.c b/drivers/usb/gadget/config.c

Re: [U-Boot] [PATCH V2 06/20] usb: gadget: config: fix unaligned access issues

2013-08-01 Thread Troy Kisky
On 8/1/2013 3:55 PM, Marek Vasut wrote: Dear Troy Kisky, On 8/1/2013 3:18 PM, Troy Kisky wrote: Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com --- drivers/usb/gadget/config.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/usb/gadget/config.c

Re: [U-Boot] [PATCH V2 06/20] usb: gadget: config: fix unaligned access issues

2013-08-01 Thread Marek Vasut
Dear Troy Kisky, On 8/1/2013 3:55 PM, Marek Vasut wrote: Dear Troy Kisky, On 8/1/2013 3:18 PM, Troy Kisky wrote: Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com --- drivers/usb/gadget/config.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff

[U-Boot] [PATCH V3 00/20] Make mv_udc work for i.mx6

2013-08-01 Thread Troy Kisky
Hi Marek, Stefano This series is based on u-boot-usb/master branch. After this series, nitrogen6x works with tftpboot to transfer files over usb. V2 was dropped to my bad posting of it and should be ignored. This V3 is a rebase and most patches had to be changed slightly. I also ran a

[U-Boot] [PATCH V3 07/20] usb: gadget: config: fix unaligned access issues

2013-08-01 Thread Troy Kisky
Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com --- drivers/usb/gadget/config.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/usb/gadget/config.c b/drivers/usb/gadget/config.c index f563afe..014a679 100644 --- a/drivers/usb/gadget/config.c +++

[U-Boot] [PATCH V3 01/20] Add functions for use with i.mx6 otg udc

2013-08-01 Thread Troy Kisky
Add functions for use with mx6 soc void otg_enable(void); void reset_usb_phy1(void); Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com --- arch/arm/cpu/armv7/mx6/soc.c | 47 +++ arch/arm/include/asm/arch-mx6/crm_regs.h | 3 ++

[U-Boot] [PATCH V3 10/20] usb: gadget: ether: return error from rx_submit if no request

2013-08-01 Thread Troy Kisky
This prevents a crash if tftpboot is given a bad filename. Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com --- drivers/usb/gadget/ether.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/usb/gadget/ether.c b/drivers/usb/gadget/ether.c index f583c6e..fe73c7b 100644 ---

[U-Boot] [PATCH V3 18/20] usb: gadget: mv_udc: optimize ep_enable

2013-08-01 Thread Troy Kisky
Only get head if not ep0. Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com --- drivers/usb/gadget/mv_udc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/gadget/mv_udc.c b/drivers/usb/gadget/mv_udc.c index 2bf4bc0..82df9ab 100644 ---

[U-Boot] [PATCH V3 02/20] mx6: iomux: add GPR1 defines

2013-08-01 Thread Troy Kisky
Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com --- arch/arm/include/asm/arch-mx6/iomux.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/include/asm/arch-mx6/iomux.h b/arch/arm/include/asm/arch-mx6/iomux.h index f4cfd4f..9e6d40f 100644 ---

[U-Boot] [PATCH V3 13/20] usb: gadget: mv_udc: fix typo in error message

2013-08-01 Thread Troy Kisky
Change 'nfo=' to 'info=' Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com --- drivers/usb/gadget/mv_udc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/gadget/mv_udc.c b/drivers/usb/gadget/mv_udc.c index 0ff2e5e..3ad51b7 100644 ---

[U-Boot] [PATCH V3 03/20] nitrogen6x: add otg usb ethernet gadget support

2013-08-01 Thread Troy Kisky
Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com --- board/boundary/nitrogen6x/nitrogen6x.c | 16 1 file changed, 16 insertions(+) diff --git a/board/boundary/nitrogen6x/nitrogen6x.c b/board/boundary/nitrogen6x/nitrogen6x.c index 1a29b6f..eedcd77 100644 ---

[U-Boot] [PATCH V3 04/20] nitrogen6x: add CONFIG_MV_UDC

2013-08-01 Thread Troy Kisky
Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com --- include/configs/nitrogen6x.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/configs/nitrogen6x.h b/include/configs/nitrogen6x.h index 4242414..ce43b62 100644 --- a/include/configs/nitrogen6x.h +++

[U-Boot] [PATCH V3 15/20] usb: gadget: mv_udc: fix full speed connections

2013-08-01 Thread Troy Kisky
Set maximum packet length in queue header to wMaxPacketSize of endpoint. Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com --- drivers/usb/gadget/mv_udc.c | 48 - 1 file changed, 34 insertions(+), 14 deletions(-) diff --git

[U-Boot] [PATCH V3 16/20] usb: gadget: mv_udc: optimize bounce

2013-08-01 Thread Troy Kisky
Only perform one copy, either in the bounce routine for IN transfers, or the debounce rtn for OUT transfer. On out transfers, only copy the number of bytes received from the bounce buffer Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com --- drivers/usb/gadget/mv_udc.c | 37

[U-Boot] [PATCH V3 20/20] usb: gadget: mv_udc: clear desc upon ep_disable

2013-08-01 Thread Troy Kisky
desc is set at ep_enable, so for symmetry, clear it at ep_disable. Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com --- drivers/usb/gadget/mv_udc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/usb/gadget/mv_udc.c b/drivers/usb/gadget/mv_udc.c index 4876894..74fa065

[U-Boot] [PATCH V3 12/20] usb: udc: add udc.h include file

2013-08-01 Thread Troy Kisky
Move common defintions to udc.h Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com --- drivers/serial/usbtty.h | 3 +- drivers/usb/gadget/designware_udc.c | 1 + drivers/usb/gadget/mpc8xx_udc.c | 1 + drivers/usb/gadget/omap1510_udc.c | 1 +

[U-Boot] [PATCH V3 11/20] usb: gadget: mv_udc: split mv_udc.h file

2013-08-01 Thread Troy Kisky
Move defines only needed by mv_udc.c to a file in the same directory. This allows usbtty to compile for mv_udc, but it still doesn't link. Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com --- drivers/usb/gadget/mv_udc.c | 6 +++ drivers/usb/gadget/mv_udc.h | 115

[U-Boot] [PATCH V3 09/20] usb: gadget: ether set wMaxPacketSize

2013-08-01 Thread Troy Kisky
set wMaxPacketSize for full speed descriptors Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com --- drivers/usb/gadget/ether.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/usb/gadget/ether.c b/drivers/usb/gadget/ether.c index 579893c..f583c6e 100644 ---

[U-Boot] [PATCH V3 05/20] arch-mxs/sys_proto.h: include regs-common.h

2013-08-01 Thread Troy Kisky
sys_proto uses mxs_register_32 so include asm/imx-common/regs-common.h like arch-mx6/sys_proto.h does. This prevents warnings when building m28evk after the next patch in the series. Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com --- arch/arm/include/asm/arch-mxs/sys_proto.h | 2 ++

[U-Boot] [PATCH V3 17/20] usb: gadget: mv_udc: flush item before head

2013-08-01 Thread Troy Kisky
Make sure the transfer descriptor is flushed before the queue is updated so that the controller will not see old information. Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com --- drivers/usb/gadget/mv_udc.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git

[U-Boot] [PATCH V3 14/20] usb: gadget: mv_udc: set is_dualspeed = 1

2013-08-01 Thread Troy Kisky
This controller support full and high speed. Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com --- drivers/usb/gadget/mv_udc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/gadget/mv_udc.c b/drivers/usb/gadget/mv_udc.c index 3ad51b7..fcfbfa3 100644 ---

[U-Boot] [PATCH V3 08/20] usb: gadget: mv_udc: add MX6Q specific reset

2013-08-01 Thread Troy Kisky
Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com --- I don't know if this is needed, but it doesn't hurt. --- drivers/usb/gadget/mv_udc.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/usb/gadget/mv_udc.c b/drivers/usb/gadget/mv_udc.c index 359b8e1..26f193d

[U-Boot] [PATCH V3 06/20] usb: gadget: mv_udc: fix hardware udc address for i.MX6

2013-08-01 Thread Troy Kisky
The hcor for i.MX6 is 02184340 and the udc should be 02184140 Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com --- I don't know if this is a correct fix, please check carefully. --- drivers/usb/gadget/mv_udc.c | 28 +++- 1 file changed, 19 insertions(+), 9

[U-Boot] [PATCH V3 19/20] usb: gadget: mv_udc: zero transfer descriptor memory on probe

2013-08-01 Thread Troy Kisky
Since we flush the TD, we may as well set it to a known value. Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com --- drivers/usb/gadget/mv_udc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/gadget/mv_udc.c b/drivers/usb/gadget/mv_udc.c index 82df9ab..4876894 100644 ---

[U-Boot] Mac address warning

2013-08-01 Thread Eric Nelson
Hi all, While testing Troy's usbnet patches, I was reminded of this mysterious warning issued when the environment has no mac address stored, but the device provides one: printf(\nWarning: %s using MAC address from net device\n, dev-name); Why is this a warning?

Re: [U-Boot] [PATCH v3 8/9] tegra: i2c: Enable new CONFIG_SYS_I2C framework

2013-08-01 Thread Heiko Schocher
Hello Stephen, Am 01.08.2013 22:32, schrieb Stephen Warren: On 08/01/2013 12:02 AM, Heiko Schocher wrote: Am 01.08.2013 07:39, schrieb Stephen Warren: On 07/31/2013 10:32 PM, Heiko Schocher wrote: Am 31.07.2013 21:31, schrieb Stephen Warren: On 07/30/2013 11:46 PM, Heiko Schocher wrote: