Re: [U-Boot] [PATCH] USB: relax usbcore reset timings

2012-02-27 Thread Wolfgang Grandegger
On 02/27/2012 12:10 AM, Marek Vasut wrote: From: Wolfgang Grandegger w...@denx.de Following the corresponding Linux code, this patch relaxes reset timings waiting at least 100ms after power to the ports. There are some reports that it helps make enumeration work better on some high speed

Re: [U-Boot] Unable to run scripts with autoscr command

2012-02-27 Thread Asif Sulikeri
Hi Graeme, On Mon, Feb 27, 2012 at 12:12 PM, Graeme Russ graeme.r...@gmail.com wrote: Hi Asif, On 02/27/2012 05:26 PM, Asif Sulikeri wrote: And the increase of 100kB is massive - are you sure you are compiling with the same set of options defined in the board config file?

Re: [U-Boot] [PATCH] ARM: omap3: temporary disable USB on TAM3517 boards

2012-02-27 Thread Stefano Babic
On 27/02/2012 00:10, Marek Vasut wrote: The TAM3517 boards require a patch for EHCI OMAP that does not yet find a way to mainline. The patch disables temporary USB until EHCI OMAP will be supported. Signed-off-by: Stefano Babic sba...@denx.de Cc: Tom Rini tom.r...@gmail.com Cc: Albert

[U-Boot] [PATCH] i2c: Add support for designware i2c controller

2012-02-27 Thread Amit Virdi
From: Vipin KUMAR vipin.ku...@st.com Earlier, a driver exists in the u-boot source for designware i2c interface. That driver was specific to spear platforms. This patch implements the i2c controller as a generic driver which can be used by multiple platforms The driver files are now renamed to

[U-Boot] [PATCH] ARM: Define change_bit routine

2012-02-27 Thread Amit Virdi
From: Vipin KUMAR vipin.ku...@st.com change_bit routine is left implementation dependent until now. This routine is now defined for arm platforms in asm-arm/bitops.h The Flexible Static memory controller driver, placed in mtd/nand/fsmc_nand.c needs this routine. FSMC is a memory controller

[U-Boot] [PATCH] Enable high speed support for USB device framework and usbtty

2012-02-27 Thread Amit Virdi
From: Vipin KUMAR vipin.ku...@st.com This patch adds the support for high speed in usb device framework and usbtty driver. This feature has been kept within a macro CONFIG_USBD_HS, so the board configuration files have to define this macro to enable high speed support. Along with that specific

[U-Boot] [PATCH 0/3] mtd/NAND: Support for FSMC controller

2012-02-27 Thread Amit Virdi
This patchset adds support for ST's FSMC controller. In the current u-boot, a SPEAr specific driver exists for FSMC controller. This patchset adds a full fledged driver that can be used across multiple platforms and removes the obsolete SPEAr specific driver. Vipin KUMAR (3): mtd/NAND: Add

[U-Boot] [PATCH 1/3] mtd/NAND: Add FSMC driver support

2012-02-27 Thread Amit Virdi
From: Vipin KUMAR vipin.ku...@st.com Flexible static memory controller is a peripheral provided by ST, which controls the access to NAND chips along with many other memory device chips eg NOR, SRAM. This patch adds the driver support for FSMC controller interfacing with NAND memory.

[U-Boot] [PATCH 2/3] SPEAr: Configure FSMC driver for NAND interface

2012-02-27 Thread Amit Virdi
From: Vipin KUMAR vipin.ku...@st.com Since FSMC is a standard IP and it supports different memory interfaces, it is supported independent of spear platform and spear is configured to use that driver for interfacing with the NAND device Signed-off-by: Vipin Kumar vipin.ku...@st.com Signed-off-by:

[U-Boot] [PATCH 3/3] mtd/NAND: Remove obsolete SPEAr specific NAND drivers

2012-02-27 Thread Amit Virdi
From: Vipin KUMAR vipin.ku...@st.com Since, SPEAr platform uses generic FSMC driver now, so spear specific files drivers/mtd/nand/spr_nand.c, arch/arm/include/asm/arch-spear/spr_nand.h are removed Signed-off-by: Vipin Kumar vipin.ku...@st.com Signed-off-by: Amit Virdi amit.vi...@st.com ---

Re: [U-Boot] [PATCH 2/3] SPEAr: Configure FSMC driver for NAND interface

2012-02-27 Thread Stefan Roese
Hi Amit, please find a few comments below. On Monday 27 February 2012 10:38:23 Amit Virdi wrote: From: Vipin KUMAR vipin.ku...@st.com Since FSMC is a standard IP and it supports different memory interfaces, it is supported independent of spear platform and spear is configured to use that

Re: [U-Boot] [PATCH] USB:host: Attribute packed removed from usb structures

2012-02-27 Thread Amit Virdi
Hello Mike, On 2/25/2012 12:48 AM, Mike Frysinger wrote: On Friday 24 February 2012 06:58:40 Amit Virdi wrote: Packed attribute is forcing a bytewise write on device registers, there by, resulting in a misbehavior on gcc-4.4.1. so use a compiler that isn't broken ? It doesn't seem like

Re: [U-Boot] [PATCH 2/3] SPEAr: Configure FSMC driver for NAND interface

2012-02-27 Thread Amit Virdi
Hello Stefan, On 2/27/2012 3:32 PM, Stefan Roese wrote: Hi Amit, please find a few comments below. On Monday 27 February 2012 10:38:23 Amit Virdi wrote: From: Vipin KUMARvipin.ku...@st.com Since FSMC is a standard IP and it supports different memory interfaces, it is supported independent

Re: [U-Boot] [PATCH v4 07/13] davinci: Use correct #ifdef around gdata/bdata

2012-02-27 Thread Sughosh Ganu
hi Simon, On Sun Feb 26, 2012 at 09:56:37AM -0800, Simon Glass wrote: Hi Sughosh, On Thu, Feb 23, 2012 at 9:25 AM, Sughosh Ganu urwithsugh...@gmail.com wrote: hi Simon, On Mon Feb 20, 2012 at 05:32:49PM -0800, Simon Glass wrote: This fixes the following warnings in an SPL build when

Re: [U-Boot] [PATCH 03/11] st_smi: Return error in case TFF is not set

2012-02-27 Thread Stefan Roese
On Friday 24 February 2012 13:23:06 Amit Virdi wrote: Curently the code makes wrong assumption that the Transfer finished flag shall be set within the stipulated time. However, there may occur a scenario in which the TFF flag is not set. Return error in that case. Signed-off-by: Vipin Kumar

Re: [U-Boot] [PATCH v4 07/13] davinci: Use correct #ifdef around gdata/bdata

2012-02-27 Thread Christian Riesch
Hi, On Mon, Feb 27, 2012 at 11:16 AM, Sughosh Ganu urwithsugh...@gmail.com wrote: hi Simon, On Sun Feb 26, 2012 at 09:56:37AM -0800, Simon Glass wrote: Hi Sughosh, On Thu, Feb 23, 2012 at 9:25 AM, Sughosh Ganu urwithsugh...@gmail.com wrote: hi Simon, On Mon Feb 20, 2012 at

Re: [U-Boot] [PATCH v4 07/13] davinci: Use correct #ifdef around gdata/bdata

2012-02-27 Thread Sughosh Ganu
hi Christian, On Mon Feb 27, 2012 at 11:39:42AM +0100, Christian Riesch wrote: Hi, On Mon, Feb 27, 2012 at 11:16 AM, Sughosh Ganu urwithsugh...@gmail.com wrote: snip  arch/arm/cpu/arm926ejs/davinci/spl.c |    2 ++  1 files changed, 2 insertions(+), 0 deletions(-) diff --git

Re: [U-Boot] [PATCH] AVR32 removal due to lack of custodian.

2012-02-27 Thread Andreas Bießmann
Hi Wolfgang, On 25.02.2012 23:13, Wolfgang Denk wrote: AVR32 appaers to be unmaintained, and nobody appears to care about s/appaers/appears/g well, there where at least two users (sven and I) last year ... that. Let's get rid fof it. Would be sad, at least now ... I'm willing to get

Re: [U-Boot] [PATCH v4 07/13] davinci: Use correct #ifdef around gdata/bdata

2012-02-27 Thread Christian Riesch
Hi Sughosh, On Mon, Feb 27, 2012 at 11:56 AM, Sughosh Ganu urwithsugh...@gmail.com wrote: hi Christian, On Mon Feb 27, 2012 at 11:39:42AM +0100, Christian Riesch wrote: Hi, On Mon, Feb 27, 2012 at 11:16 AM, Sughosh Ganu urwithsugh...@gmail.com wrote: snip  

Re: [U-Boot] [PATCH] Enable high speed support for USB device framework and usbtty

2012-02-27 Thread Marek Vasut
From: Vipin KUMAR vipin.ku...@st.com This patch adds the support for high speed in usb device framework and usbtty driver. This feature has been kept within a macro CONFIG_USBD_HS, so the board configuration files have to define this macro to enable high speed support. Along with that

Re: [U-Boot] Unable to run scripts with autoscr command

2012-02-27 Thread Graeme Russ
Hi Asif, On 02/27/2012 07:19 PM, Asif Sulikeri wrote: Hi Graeme, On Mon, Feb 27, 2012 at 12:12 PM, Graeme Russ graeme.r...@gmail.com mailto:graeme.r...@gmail.com wrote: Hi Asif, On 02/27/2012 05:26 PM, Asif Sulikeri wrote: And the increase of 100kB is massive - are

[U-Boot] [PATCH] PXA: Fix warning in zipitz2

2012-02-27 Thread Marek Vasut
Configuring for zipitz2 board... zipitz2.c: In function ‘board_mmc_init’: zipitz2.c:85:2: warning: implicit declaration of function ‘pxa_mmc_register’ [-Wimplicit-function-declaration] Signed-off-by: Marek Vasut marek.va...@gmail.com --- board/zipitz2/zipitz2.c |1 + 1 files changed, 1

Re: [U-Boot] [PATCH v4 07/13] davinci: Use correct #ifdef around gdata/bdata

2012-02-27 Thread Sughosh Ganu
hi Christian, On Mon Feb 27, 2012 at 12:37:16PM +0100, Christian Riesch wrote: Hi Sughosh, On Mon, Feb 27, 2012 at 11:56 AM, Sughosh Ganu urwithsugh...@gmail.com wrote: hi Christian, On Mon Feb 27, 2012 at 11:39:42AM +0100, Christian Riesch wrote: Hi, On Mon, Feb 27, 2012 at

Re: [U-Boot] [PATCH v3] AVR32: fix timer_init() function

2012-02-27 Thread Sven Schnelle
Hi Wolfgang, On 02/26/2012 11:40 PM, Wolfgang Denk wrote: Dear Sven, Date: Sun, 4 Oct 2015 21:53:32 +0200 would you be willing to disclose the secrets of running such a time machine ? Hehe. The 'time machine' was basically a dead CMOS battery in my Thinkpad at that time ;) In

[U-Boot] [PATCH] PXA: Fix missing get_tbclk() breaking vpac boards

2012-02-27 Thread Marek Vasut
Signed-off-by: Marek Vasut marek.va...@gmail.com --- arch/arm/cpu/pxa/timer.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/arch/arm/cpu/pxa/timer.c b/arch/arm/cpu/pxa/timer.c index b7b0da9..a8f7462 100644 --- a/arch/arm/cpu/pxa/timer.c +++

[U-Boot] [PULL] u-boot-pxa / fix

2012-02-27 Thread Marek Vasut
The following changes since commit 417c2c787e32784b5de975065a7d1dd5b3cc8ecd: at91: modified NAND flash timing on otc570 board (2012-02-20 09:00:13 +0100) are available in the git repository at: git://git.denx.de/u-boot-pxa.git fix for you to fetch changes up to

Re: [U-Boot] [PATCH] AVR32 removal due to lack of custodian.

2012-02-27 Thread Marek Vasut
Hi Wolfgang, On 25.02.2012 23:13, Wolfgang Denk wrote: AVR32 appaers to be unmaintained, and nobody appears to care about s/appaers/appears/g well, there where at least two users (sven and I) last year ... that. Let's get rid fof it. Would be sad, at least now ... I'm

Re: [U-Boot] [PATCH] usb: musb: fix printf warning

2012-02-27 Thread Marek Vasut
On Sunday 26 February 2012 18:48:26 Marek Vasut wrote: On Sunday 26 February 2012 18:13:58 Marek Vasut wrote: musb_hcd.c: In function 'musb_submit_rh_msg': musb_hcd.c:827:2: warning: format '%d' expects type 'int', but argument 3 has type 'long unsigned int'

Re: [U-Boot] [PATCH] USB:host: Attribute packed removed from usb structures

2012-02-27 Thread Marek Vasut
On 2/25/2012 3:42 PM, Albert ARIBAUD wrote: Hi Amit, Hello Albert, Le 24/02/2012 12:58, Amit Virdi a écrit : From: Vipin Kumarvipin.ku...@st.com Packed attribute is forcing a bytewise write on device registers, there by, resulting in a misbehavior on gcc-4.4.1. Reverting the

Re: [U-Boot] [PATCH v3 0/16] tegra: Add fdt definitions and USB driver

2012-02-27 Thread Marek Vasut
Hi Marek, On Sun, Feb 26, 2012 at 3:09 PM, Marek Vasut ma...@denx.de wrote: This series brings in the kernel fdt file and provides a working USB driver for Tegra2 Seaboard. (I have done this in one series since otherwise most of the fdt additions will just look like dead code.)

Re: [U-Boot] [PATCH] AVR32 removal due to lack of custodian.

2012-02-27 Thread Andreas Bießmann
Hi Marek, On 27.02.2012 14:09, Marek Vasut wrote: I'm willing to get u-boot avr32 support to live on for at least some years, if no one else volunteers. that'd be great! There's especially one problem I found with the AVR32 stuff. The MMC driver. I take it the gen_atmel_mci.c driver can

Re: [U-Boot] [PATCH] AVR32 removal due to lack of custodian.

2012-02-27 Thread Marek Vasut
Hi Marek, On 27.02.2012 14:09, Marek Vasut wrote: I'm willing to get u-boot avr32 support to live on for at least some years, if no one else volunteers. that'd be great! There's especially one problem I found with the AVR32 stuff. The MMC driver. I take it the gen_atmel_mci.c driver

Re: [U-Boot] [PATCH] USB: relax usbcore reset timings

2012-02-27 Thread Marek Vasut
On 02/27/2012 12:10 AM, Marek Vasut wrote: From: Wolfgang Grandegger w...@denx.de Following the corresponding Linux code, this patch relaxes reset timings waiting at least 100ms after power to the ports. There are some reports that it helps make enumeration work better on some high

Re: [U-Boot] [PATCH v2 0/4] Clean up ehci-omap and extend support for omap3/4 socs

2012-02-27 Thread Marek Vasut
Hi Marek, On Mon, Feb 27, 2012 at 4:43 AM, Marek Vasut ma...@denx.de wrote: From: Govindraj.R govindraj.r...@ti.com Clean up ehci-omap added and make it generic to extend support for omap4 socs. Add ehci support for panda board. Patch series depends on below patch:

Re: [U-Boot] [PATCH] ARM: omap3: temporary disable USB on TAM3517 boards

2012-02-27 Thread Marek Vasut
On 27/02/2012 00:10, Marek Vasut wrote: The TAM3517 boards require a patch for EHCI OMAP that does not yet find a way to mainline. The patch disables temporary USB until EHCI OMAP will be supported. Signed-off-by: Stefano Babic sba...@denx.de Cc: Tom Rini tom.r...@gmail.com Cc:

Re: [U-Boot] [PATCH]powerpc/8xxx:Add MPH controller support in USB device-tree fixup

2012-02-27 Thread Marek Vasut
Hi Marek, The final version of this patch is under review, didn't get any more comments, waiting for its acceptance... http://patchwork.ozlabs.org/patch/140557/ Someone who knows PowerPC would be welcome to review this patch. Otherwise, resubmit if this is forgotten please and Cc me.

Re: [U-Boot] [PATCH v2 0/4] Clean up ehci-omap and extend support for omap3/4 socs

2012-02-27 Thread Tom Rini
On Mon, Feb 27, 2012 at 6:51 AM, Marek Vasut marek.va...@gmail.com wrote: Hi Marek, On Mon, Feb 27, 2012 at 4:43 AM, Marek Vasut ma...@denx.de wrote: From: Govindraj.R govindraj.r...@ti.com Clean up ehci-omap added and make it generic to extend support for omap4 socs. Add ehci support

[U-Boot] [PATCH v2 2/2] usb: Add CONFIG to fetch string descriptor

2012-02-27 Thread Puneet Saxena
Add CONFIG_USB_STRING_FETCH to fetch string using descriptor length then fetch actual bytes, returned in descriptor buffer. Signed-off-by: Puneet Saxena pune...@nvidia.com --- Changes for V2: - Change config by CONFIG_USB_STRING_FETCH common/usb.c|4

[U-Boot] [PATCH v2 1/2] usb: align buffers at cacheline

2012-02-27 Thread Puneet Saxena
As DMA expects the buffers to be equal and larger then cache lines, This aligns buffers at cacheline. Signed-off-by: Puneet Saxena pune...@nvidia.com Signed-off-by: Jim Lin ji...@nvidia.com --- Changes for V2: - Use ARCH_DMA_MINALIGN directly - Use ALIGN to align size as cacheline

Re: [U-Boot] [PATCH 1/2] usb: align buffers at cacheline

2012-02-27 Thread puneets
Hi, On Friday 24 February 2012 06:12 PM, Simon Glass wrote: Hi, On Thu, Feb 23, 2012 at 6:25 AM, Puneet Saxenapune...@nvidia.com wrote: As DMA expects the buffers to be equal and larger then cache lines, This aligns buffers at cacheline. Signed-off-by: Puneet Saxenapune...@nvidia.com

Re: [U-Boot] [PATCH v2 0/4] Clean up ehci-omap and extend support for omap3/4 socs

2012-02-27 Thread Marek Vasut
On Mon, Feb 27, 2012 at 6:51 AM, Marek Vasut marek.va...@gmail.com wrote: Hi Marek, On Mon, Feb 27, 2012 at 4:43 AM, Marek Vasut ma...@denx.de wrote: From: Govindraj.R govindraj.r...@ti.com Clean up ehci-omap added and make it generic to extend support for omap4 socs. Add ehci

Re: [U-Boot] [RFC PATCH 0/2] fdt: Deal correctly with alias nodes

2012-02-27 Thread Tom Warren
Marek/Simon, -Original Message- From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass Sent: Sunday, February 26, 2012 7:55 PM To: Marek Vasut; Tom Warren Subject: Re: [U-Boot] [RFC PATCH 0/2] fdt: Deal correctly with alias nodes +Tom, tegra maintainer Hi

Re: [U-Boot] [RFC PATCH 0/2] fdt: Deal correctly with alias nodes

2012-02-27 Thread Marek Vasut
Marek/Simon, -Original Message- From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass Sent: Sunday, February 26, 2012 7:55 PM To: Marek Vasut; Tom Warren Subject: Re: [U-Boot] [RFC PATCH 0/2] fdt: Deal correctly with alias nodes +Tom, tegra maintainer

Re: [U-Boot] [PATCH v2 1/2] usb: align buffers at cacheline

2012-02-27 Thread Marek Vasut
As DMA expects the buffers to be equal and larger then cache lines, This aligns buffers at cacheline. Signed-off-by: Puneet Saxena pune...@nvidia.com Signed-off-by: Jim Lin ji...@nvidia.com --- First of all, thanks for this patch, it really helps. But, there are a few things that

Re: [U-Boot] [PATCH v2 1/2] usb: align buffers at cacheline

2012-02-27 Thread Simon Glass
Hi Marek, On Mon, Feb 27, 2012 at 8:49 AM, Marek Vasut ma...@denx.de wrote: As DMA expects the buffers to be equal and larger then cache lines, This aligns buffers at cacheline. Signed-off-by: Puneet Saxena pune...@nvidia.com Signed-off-by: Jim Lin ji...@nvidia.com --- First of all,

Re: [U-Boot] [PATCH v2 1/2] usb: align buffers at cacheline

2012-02-27 Thread Marek Vasut
Hi Marek, On Mon, Feb 27, 2012 at 8:49 AM, Marek Vasut ma...@denx.de wrote: As DMA expects the buffers to be equal and larger then cache lines, This aligns buffers at cacheline. Signed-off-by: Puneet Saxena pune...@nvidia.com Signed-off-by: Jim Lin ji...@nvidia.com --- First

Re: [U-Boot] [PATCH v2 1/2] usb: align buffers at cacheline

2012-02-27 Thread Simon Glass
Hi Marek, On Mon, Feb 27, 2012 at 9:11 AM, Marek Vasut ma...@denx.de wrote: Hi Marek, On Mon, Feb 27, 2012 at 8:49 AM, Marek Vasut ma...@denx.de wrote: As DMA expects the buffers to be equal and larger then cache lines, This aligns buffers at cacheline. Signed-off-by: Puneet Saxena

Re: [U-Boot] How to Change the DDR3 Speed to low in U-boot

2012-02-27 Thread Balaji Sivakumar, ERS, HCLTech
Hi, I have verified the lowlwevel_init.s file but there are not initializing DDR3. They do only following instructions, Invalidate_dcache Init L2 cache Init AIPS Init Clock And in the mx6q_saberlite.C board file they are just doing dram_init , this function does only banks and its size.

[U-Boot] REg : EIM Registers Configuration Required or Not to access NOR Flash in Flash_Header.s File

2012-02-27 Thread Balaji Sivakumar, ERS, HCLTech
Hi, Am using IMX6 processor based board. I am customizing U-boot for my design. In my board I have NOR Flash which is connected via EIM CS0 port. My question do I have to add any DCD Settings for EIM registers, because IMX6 RM document they mentioned You can use DCD for configuring EIM and

Re: [U-Boot] [PATCH v3] AT91SAM9*: Change kernel address in dataflash to match u-boot's size

2012-02-27 Thread Ulf Samuelsson
On 2012-02-20 17:40, Alexandre Belloni wrote: On at91sam platforms, u-boot grew larger than the allocated size in dataflash, the layout was: bootstrap 0x ubootenv 0x4200 uboot 0x8400 kernel 0x00042000 u-boot with the defconfig doesn't seem to fit in 0x42000 - 0x8400

Re: [U-Boot] [PATCH] USB:host: Attribute packed removed from usb structures

2012-02-27 Thread Mike Frysinger
On Monday 27 February 2012 05:02:14 Amit Virdi wrote: On 2/25/2012 12:48 AM, Mike Frysinger wrote: On Friday 24 February 2012 06:58:40 Amit Virdi wrote: Packed attribute is forcing a bytewise write on device registers, there by, resulting in a misbehavior on gcc-4.4.1. so use a

Re: [U-Boot] [PATCH] USB:host: Attribute packed removed from usb structures

2012-02-27 Thread Mike Frysinger
On Monday 27 February 2012 08:14:26 Marek Vasut wrote: On 2/25/2012 3:42 PM, Albert ARIBAUD wrote: Le 24/02/2012 12:58, Amit Virdi a écrit : Packed attribute is forcing a bytewise write on device registers, there by, resulting in a misbehavior on gcc-4.4.1. Reverting the structures

Re: [U-Boot] [PATCH v2 2/2] usb: Add CONFIG to fetch string descriptor

2012-02-27 Thread Mike Frysinger
On Monday 27 February 2012 10:36:32 Puneet Saxena wrote: Add CONFIG_USB_STRING_FETCH to fetch string using descriptor length then fetch actual bytes, returned in descriptor buffer. i'm having a hard time understanding what you're trying to say here new CONFIG_xxx knobs should be documented in

Re: [U-Boot] [PATCH v4 8/8] sandbox: Add basic command line parsing

2012-02-27 Thread Mike Frysinger
On Monday 27 February 2012 00:43:30 Simon Glass wrote: On Sun, Feb 26, 2012 at 8:42 PM, Mike Frysinger wrote: drivers/mtd/spi/sandbox.c: static int sb_cmdline_cb_spi_sf(struct sandbox_state *state, const char *arg) { unsigned long bus, cs; const char *spec = sb_spi_parse_spec(arg,

Re: [U-Boot] [PATCH 05/15] common/main.c: Fix function readline

2012-02-27 Thread Pali Rohár
On Sunday 26 February 2012 23:33:01 Mike Frysinger wrote: On Saturday 07 January 2012 03:51:16 Pali Rohár wrote: On Friday 06 January 2012 15:15:29 Mike Frysinger wrote: On Sunday 18 December 2011 16:34:01 Pali Rohár wrote: * Ignore ANSI escape codes for moving cursor, which are

Re: [U-Boot] [PATCH 00/14] Nokia RX-51 support

2012-02-27 Thread Pali Rohár
On Sunday 26 February 2012 23:10:18 Mike Frysinger wrote: On Sunday 26 February 2012 17:08:04 Marek Vasut wrote: On Tuesday 24 January 2012 15:27:57 Pali Rohár wrote: This patch series add support for new board Nokia RX-51 (aka N900). Last two patches adding on screen bootmenu support.

Re: [U-Boot] [PULL] u-boot-pxa / fix

2012-02-27 Thread Albert ARIBAUD
Hi Marek, Le 27/02/2012 14:03, Marek Vasut a écrit : The following changes since commit 417c2c787e32784b5de975065a7d1dd5b3cc8ecd: at91: modified NAND flash timing on otc570 board (2012-02-20 09:00:13 +0100) are available in the git repository at: git://git.denx.de/u-boot-pxa.git fix

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

2012-02-27 Thread Albert ARIBAUD
Hi Tom, Le 23/02/2012 17:01, Tom Rini a écrit : Hello, The following changes since commit 417c2c787e32784b5de975065a7d1dd5b3cc8ecd: Daniel Gorsulowski (1): at91: modified NAND flash timing on otc570 board are available in the git repository at: git://git.denx.de/u-boot-ti.git

Re: [U-Boot] [PATCH 05/15] common/main.c: Fix function readline

2012-02-27 Thread Mike Frysinger
On Monday 27 February 2012 13:40:07 Pali Rohár wrote: On Sunday 26 February 2012 23:33:01 Mike Frysinger wrote: On Saturday 07 January 2012 03:51:16 Pali Rohár wrote: On Friday 06 January 2012 15:15:29 Mike Frysinger wrote: On Sunday 18 December 2011 16:34:01 Pali Rohár wrote: *

[U-Boot] Pull request: u-boot-arm/master

2012-02-27 Thread Albert ARIBAUD
Hi Wolfgang, The following changes since commit 54e96680cb96fb7a4b8f43fd949c62054004d3e5: Merge branch 'master' of git://git.denx.de/u-boot-microblaze (2012-02-26 22:17:40 +0100) are available in the git repository at: git://git.denx.de/u-boot-arm master Aneesh V (1): armv7:

Re: [U-Boot] [PATCH v4 04/20] arm: fdt: Ensure that an embedded fdt is word-aligned

2012-02-27 Thread Simon Glass
Hi Albert, On Sun, Feb 19, 2012 at 10:33 AM, Albert ARIBAUD albert.u.b...@aribaud.net wrote: Hi Simon, Le 19/02/2012 17:23, Simon Glass a écrit : Sorry I had that wrong - it's not the link step I am bothered by, it is the objcopy step. What I would like to do is mark the input section,

Re: [U-Boot] [PATCH 04/14] Fix function readline in main.c

2012-02-27 Thread Mike Frysinger
On Wednesday 25 January 2012 13:05:31 Marek Vasut wrote: * Ignore ANSI escape codes for moving cursor, which are generated by keyboard I think WD should comment on this one. no need ... see the previous thread on the previous version of this patch. Pali should be able to drop this.

Re: [U-Boot] [PATCH v5 0/18] tegra: Add fdt definitions and USB driver

2012-02-27 Thread Simon Glass
Hi, On Sun, Feb 26, 2012 at 7:02 PM, Simon Glass s...@chromium.org wrote: Hi Marek, On Sun, Feb 26, 2012 at 3:13 PM, Marek Vasut ma...@denx.de wrote: This series brings in the Linux kernel fdt file and provides a working USB driver for Tegra2 Seaboard. (I have done this in one series since

[U-Boot] [PATCH v6 0/20] tegra: Add fdt definitions and USB driver

2012-02-27 Thread Simon Glass
This series brings in the Linux kernel fdt file and provides a working USB driver for Tegra2 Seaboard. (I have done this in one series since otherwise most of the fdt additions will just look like dead code.) The driver requires CONFIG_OF_CONTROL and a device tree to operate. Some enhancements

[U-Boot] [PATCH v6 04/20] arm: fdt: Add skeleton device tree file from kernel

2012-02-27 Thread Simon Glass
This was taken from commit b48c54e2 at: git://git.kernel.org/pub/scm/linux/kernel/git/olof/tegra.git Signed-off-by: Simon Glass s...@chromium.org --- arch/arm/dts/skeleton.dtsi | 13 + 1 files changed, 13 insertions(+), 0 deletions(-) create mode 100644 arch/arm/dts/skeleton.dtsi

[U-Boot] [PATCH v6 09/20] tegra: fdt: Add additional USB binding

2012-02-27 Thread Simon Glass
This adds a property to indicate a port which can switch between host and device mode. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v5: - Add dr_mode property to control host/device/otg mode - Add nvidia,has-legacy-mode property per review comments

[U-Boot] [PATCH v6 01/20] fdt: Tidy up a few fdtdec problems

2012-02-27 Thread Simon Glass
This fixes five trivial issues in fdtdec.c: 1. fdtdec_get_is_enabled() doesn't really need a default value 2. The fdt must be word-aligned, since otherwise it will fail on ARM 3. The compat_names[] array is missing its first element. This is needed only because the first fdt_compat_id is defined

[U-Boot] [PATCH v6 17/20] tegra: usb: Add USB support to nvidia boards

2012-02-27 Thread Simon Glass
This adds basic USB support for port 0. The other port is not supported yet. Tegra2 (SeaBoard) # usb start (Re)start USB... USB: Register 10011 NbrPorts 1 USB EHCI 1.00 scanning bus for devices... 5 USB Device(s) found scanning bus for storage devices... 1 Storage Device(s) found Tegra2

[U-Boot] [PATCH v6 02/20] fdt: Add functions to access phandles, arrays and bools

2012-02-27 Thread Simon Glass
Add a function to look up a property which is a phandle in a node, and another to read a fixed-length integer array from an fdt property. Also add a function to read boolean properties, although there is no actual boolean type in U-Boot. Signed-off-by: Simon Glass s...@chromium.org Acked-by:

[U-Boot] [PATCH v6 03/20] fdt: Add basic support for decoding GPIO definitions

2012-02-27 Thread Simon Glass
This adds some support into fdtdec for reading GPIO definitions from the fdt. We permit up to FDT_GPIO_MAX GPIOs in the system. Each GPIO is of the form: gpio-function-name = phandle gpio_num flags; where: phandle is a pointer to the GPIO node gpio_num is the number of the GPIO (0 to 223) flags

[U-Boot] [PATCH v6 08/20] fdt: Add tegra-usb bindings file from linux

2012-02-27 Thread Simon Glass
This file is taken from the Linux mailing list. Signed-off-by: Simon Glass s...@chromium.org --- doc/device-tree-bindings/usb/tegra-usb.txt | 13 + 1 files changed, 13 insertions(+), 0 deletions(-) create mode 100644 doc/device-tree-bindings/usb/tegra-usb.txt diff --git

[U-Boot] [PATCH v6 10/20] tegra: fdt: Add clock bindings

2012-02-27 Thread Simon Glass
This adds a basic binding for the oscillator and peripheral clocks. The second cell is the clock number, defined as the bit number within the clock enable register if the peripheral clock. This uses the RFC clock bindings from Grant Likely so may change later:

[U-Boot] [PATCH v6 13/20] tegra: usb: fdt: Add USB definitions for Tegra2 Seaboard

2012-02-27 Thread Simon Glass
We set up two USB ports, one of which can be host or device. For some reason the kernel version does enable both ports. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: - Remove 0x from fdt aliases - Use okay instead of ok for fdt node status Changes in v3: - Disable USB2 which is

[U-Boot] [PATCH v6 05/20] tegra: fdt: Add Tegra2x device tree file from kernel

2012-02-27 Thread Simon Glass
This was taken from commit b48c54e2 at: git://git.kernel.org/pub/scm/linux/kernel/git/olof/tegra.git config.mk is updated to provide this file to boards through the built-in mechanism: /include/ ARCH_CPU_DTS Signed-off-by: Simon Glass s...@chromium.org --- arch/arm/cpu/armv7/tegra2/config.mk

[U-Boot] [PATCH v6 07/20] fdt: Add staging area for device tree binding documentation

2012-02-27 Thread Simon Glass
Add a directory to hold device tree binding files, to permit easy review of this material in U-Boot patches. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v4: - Add staging area for device tree bindings used in U-Boot Changes in v5: - Update README to indicate that we will commit

[U-Boot] [PATCH v6 14/20] usb: Add support for txfifo threshold

2012-02-27 Thread Simon Glass
CONFIG_USB_EHCI_TXFIFO_THRESH enables setting of the txfilltuning field in the EHCI controller on reset. Signed-off-by: Simon Glass s...@chromium.org Acked-by: Remy Bohmer li...@bohmer.net --- README |3 +++ drivers/usb/host/ehci-hcd.c |7 +++

[U-Boot] [PATCH v6 15/20] tegra: fdt: Add function to return peripheral/clock ID

2012-02-27 Thread Simon Glass
A common requirement is to find the clock ID for a peripheral. This is the second cell of the 'clocks' property (the first being the phandle itself). Signed-off-by: Simon Glass s...@chromium.org --- Changes in v4: - Add fdtdec function to return peripheral ID Changes in v6: - Move peripheral

[U-Boot] [PATCH v6 20/20] tegra: fdt: Enable FDT support for Seaboard

2012-02-27 Thread Simon Glass
This switches Seaboard over to use FDT for run-time config instead of CONFIG options. USB is the only user at present. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v3: - Drop Tegra USB alignment patch as we will deal with this another way Changes in v6: - Drop fdt alignment patch

[U-Boot] [PATCH v6 16/20] tegra: usb: Add support for Tegra USB peripheral

2012-02-27 Thread Simon Glass
This adds basic support for the Tegra2 USB controller. Board files should call board_usb_init() to set things up. Configuration is performed through the FDT, with aliases used to set the order of the ports, like this fragment: aliases { /* This defines the order of our

[U-Boot] [PATCH v6 18/20] tegra: usb: Add common USB defines for tegra2 boards

2012-02-27 Thread Simon Glass
All Tegra2 boards should include tegra2-common. This adds the required USB config to that file. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v5: - Add CONFIG_EHCI_DCACHE which is needed for dcache operation - Drop unused CONFIG_USB_EHCI_DATA_ALIGN option

[U-Boot] [PATCH v6 19/20] tegra: usb: Enable USB on Seaboard

2012-02-27 Thread Simon Glass
Seaboard has a top port which is USB host or device, and a side port which is host only. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: - Remove unneeded CONFIG_TEGRA_USBx defines include/configs/seaboard.h |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff

[U-Boot] [PATCH v6 11/20] tegra: fdt: Add clock bindings for Tegra2 Seaboard

2012-02-27 Thread Simon Glass
Add the definition of the oscillator clock frequency. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v6: - Add new patch to bring in clock bindings to seaboard board/nvidia/dts/tegra2-seaboard.dts | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git

Re: [U-Boot] [PATCH] USB:host: Attribute packed removed from usb structures

2012-02-27 Thread Marek Vasut
On Monday 27 February 2012 08:14:26 Marek Vasut wrote: On 2/25/2012 3:42 PM, Albert ARIBAUD wrote: Le 24/02/2012 12:58, Amit Virdi a écrit : Packed attribute is forcing a bytewise write on device registers, there by, resulting in a misbehavior on gcc-4.4.1. Reverting the

Re: [U-Boot] [PULL] u-boot-pxa / fix

2012-02-27 Thread Marek Vasut
Hi Marek, Le 27/02/2012 14:03, Marek Vasut a écrit : The following changes since commit 417c2c787e32784b5de975065a7d1dd5b3cc8ecd: at91: modified NAND flash timing on otc570 board (2012-02-20 09:00:13 +0100) are available in the git repository at:

Re: [U-Boot] [PATCH v5 0/18] tegra: Add fdt definitions and USB driver

2012-02-27 Thread Marek Vasut
Hi, On Sun, Feb 26, 2012 at 7:02 PM, Simon Glass s...@chromium.org wrote: Hi Marek, On Sun, Feb 26, 2012 at 3:13 PM, Marek Vasut ma...@denx.de wrote: This series brings in the Linux kernel fdt file and provides a working USB driver for Tegra2 Seaboard. (I have done this in one

Re: [U-Boot] [PATCH v4 8/8] sandbox: Add basic command line parsing

2012-02-27 Thread Simon Glass
Hi Mike, On Mon, Feb 27, 2012 at 10:32 AM, Mike Frysinger vap...@gentoo.org wrote: On Monday 27 February 2012 00:43:30 Simon Glass wrote: On Sun, Feb 26, 2012 at 8:42 PM, Mike Frysinger wrote: drivers/mtd/spi/sandbox.c: static int sb_cmdline_cb_spi_sf(struct sandbox_state *state, const char

Re: [U-Boot] [PATCH 00/14] Nokia RX-51 support

2012-02-27 Thread Marek Vasut
On Sunday 26 February 2012 23:10:18 Mike Frysinger wrote: On Sunday 26 February 2012 17:08:04 Marek Vasut wrote: On Tuesday 24 January 2012 15:27:57 Pali Rohár wrote: This patch series add support for new board Nokia RX-51 (aka N900). Last two patches adding on screen bootmenu

[U-Boot] [PATCH v6 12/20] tegra: usb: fdt: Add additional device tree definitions for USB ports

2012-02-27 Thread Simon Glass
This adds clock references to the USB part of the device tree for U-Boot, and marks USB1 as supporting legacy mode (which we disable in the driver). The USB timing information may vary between boards sometimes, but for now we hard-code it in C. This is because all current T2x boards use the same

[U-Boot] [PATCH v6 06/20] tegra: fdt: Add device tree file for Tegra2 Seaboard from kernel

2012-02-27 Thread Simon Glass
This was taken from commit b48c54e2 at: git://git.kernel.org/pub/scm/linux/kernel/git/olof/tegra.git Signed-off-by: Simon Glass s...@chromium.org --- board/nvidia/dts/tegra2-seaboard.dts | 36 ++ 1 files changed, 36 insertions(+), 0 deletions(-) create mode

Re: [U-Boot] [PATCH v5 0/18] tegra: Add fdt definitions and USB driver

2012-02-27 Thread Tom Warren
Marek/Simon, -Original Message- From: Marek Vasut [mailto:marek.va...@gmail.com] Sent: Monday, February 27, 2012 1:55 PM To: u-boot@lists.denx.de Cc: Simon Glass; Tom Warren Subject: Re: [U-Boot] [PATCH v5 0/18] tegra: Add fdt definitions and USB driver Hi, On Sun, Feb 26,

Re: [U-Boot] [PATCH v5 0/18] tegra: Add fdt definitions and USB driver

2012-02-27 Thread Simon Glass
Hi Tom, On Mon, Feb 27, 2012 at 1:44 PM, Tom Warren twar...@nvidia.com wrote: Marek/Simon, -Original Message- From: Marek Vasut [mailto:marek.va...@gmail.com] Sent: Monday, February 27, 2012 1:55 PM To: u-boot@lists.denx.de Cc: Simon Glass; Tom Warren Subject: Re: [U-Boot] [PATCH

Re: [U-Boot] ARM: Update mach-types

2012-02-27 Thread Troy Kisky
|ARM: Update mach-types | |This commit updates the mach-types based on the latest in Linus's head | |Signed-off-by: Marek Vasut marek.va...@gmail.com Hi Marek, Can I get you to do this again? I'd the symbol for MACH_MX6Q_SABRELITE. Thanks Troy ___

[U-Boot] [PATCH] ARM: Add .data/.rodata/.bss section starts to gd_t

2012-02-27 Thread Peter Barada
When debugging u-boot, after relocation its tedious to calculate positions of the various sections (.data, .rodata, .bss). To make it easier, add the structure sections to gd_t that contains the relocated start of those sections. Then the gdb command add-symbol-file can by used with -s section

Re: [U-Boot] [PATCH 2/3] SPEAr: Configure FSMC driver for NAND interface

2012-02-27 Thread Scott Wood
On 02/27/2012 04:02 AM, Stefan Roese wrote: diff --git a/include/configs/spear-common.h b/include/configs/spear-common.h index 516b78e..c37305f 100644 --- a/include/configs/spear-common.h +++ b/include/configs/spear-common.h @@ -90,7 +90,7 @@ /* NAND FLASH Configuration */ #define

Re: [U-Boot] ARM: Update mach-types

2012-02-27 Thread Marek Vasut
|ARM: Update mach-types | |This commit updates the mach-types based on the latest in Linus's head | |Signed-off-by: Marek Vasut marek.va...@gmail.com Hi Marek, Can I get you to do this again? I'd the symbol for MACH_MX6Q_SABRELITE. No, can you please submit the mach-types update

Re: [U-Boot] [PATCH v6 09/20] tegra: fdt: Add additional USB binding

2012-02-27 Thread Stephen Warren
On 02/27/2012 01:52 PM, Simon Glass wrote: This adds a property to indicate a port which can switch between host and device mode. ... diff --git a/doc/device-tree-bindings/usb/tegra-usb.txt b/doc/device-tree-bindings/usb/tegra-usb.txt ... +Optional properties: + - dr_mode : dual role

Re: [U-Boot] [PATCH v6 11/20] tegra: fdt: Add clock bindings for Tegra2 Seaboard

2012-02-27 Thread Stephen Warren
On 02/27/2012 01:52 PM, Simon Glass wrote: Add the definition of the oscillator clock frequency. diff --git a/board/nvidia/dts/tegra2-seaboard.dts b/board/nvidia/dts/tegra2-seaboard.dts + clock@60006000 { + clocks = osc; + }; The CAR takes two clock inputs; one 32KHz

Re: [U-Boot] [PATCH v6 15/20] tegra: fdt: Add function to return peripheral/clock ID

2012-02-27 Thread Stephen Warren
On 02/27/2012 01:52 PM, Simon Glass wrote: A common requirement is to find the clock ID for a peripheral. This is the second cell of the 'clocks' property (the first being the phandle itself). +int clock_decode_periph_id(const void *blob, int node) + valid = clock_periph_id_isvalid(id);

Re: [U-Boot] [PATCH v6 0/20] tegra: Add fdt definitions and USB driver

2012-02-27 Thread Stephen Warren
On 02/27/2012 01:52 PM, Simon Glass wrote: This series brings in the Linux kernel fdt file and provides a working USB driver for Tegra2 Seaboard. Aside from the issues I just pointed out, this series looks fine. I didn't review most of the patches in detail though, just those related to the DT

Re: [U-Boot] [PATCH] USB:host: Attribute packed removed from usb structures

2012-02-27 Thread Mike Frysinger
On Monday 27 February 2012 15:53:29 Marek Vasut wrote: On Monday 27 February 2012 08:14:26 Marek Vasut wrote: On 2/25/2012 3:42 PM, Albert ARIBAUD wrote: Le 24/02/2012 12:58, Amit Virdi a écrit : Packed attribute is forcing a bytewise write on device registers, there by,

  1   2   >