Re: [U-Boot] Can't read kernel if bad blocks are present in partition

2012-05-01 Thread Alexandre Gambier
Assuming you load the kernel to ram with tftp (and that "AppKernel" is an mtdparts partition in NAND), then you could do: nand erase.part AppKernel tftp $load_addr uImage crc32 $load_addr $filesize nand write.i $load_addr AppKernel $filesize nand read.i $load_addr AppKernel $filesize crc32 $load_

[U-Boot] Query about Address line test in POST of Uboot

2012-05-01 Thread Bhorania Amit
-- Forwarded message -- From: Bhorania Amit Date: Wed, May 2, 2012 at 11:12 AM Subject: Query about Address line test in POST of Uboot To: u-boot@lists.denx.de Respected Sir, I am understanding the code of POST for RAM. In the comment of Memory.c file for Ad

Re: [U-Boot] [PATCH 1/2 v4] ARM : Add GPIO Driver and IOMUX definition for S3C2440

2012-05-01 Thread Minkyu Kang
Dear Marek, On 2 May 2012 11:44, Marek Vasut wrote: >> > +int gpio_set_value(unsigned gpio, int value) >> > +{ >> > +       unsigned l = readl(GPIO_FULLPORT(gpio)); >> > +       unsigned port = GPIO_FULLPORT(gpio); >> > + >> > +       /* >> > +        * All GPIO Port have a configuration on >> >

[U-Boot] uboot and ZFS

2012-05-01 Thread Jorgen Lundman
Sorry if I am posting some kind of FAQ here, I recently picked up a Cubox (arm) which uses uboot. Added ZFS to Linux and made it have a ZFS root filesystem. The only drawback is the small boot partition of ext2/fat to read uImage and initrd. So I am curious about adding ZFS support to uboot.

[U-Boot] [PATCH] tegra2: trivially enable 13 mhz crystal frequency

2012-05-01 Thread Lucas Stach
This is needed for upcoming Toradex Colibri T20 upstream support. Signed-off-by: Lucas Stach --- arch/arm/cpu/armv7/tegra2/clock.c |5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/arch/arm/cpu/armv7/tegra2/clock.c b/arch/arm/cpu/armv7/tegra2/clock.c index 39376ab..8084

[U-Boot] [PATCH] OMAP4: Set fdt_high for OMAP4 devices to enable booting with Device Tree

2012-05-01 Thread Jon Hunter
From: Jon Hunter For OMAP4 boards, such as the panda-es, that have 1GB of memory the linux kernel fails to locate the device tree blob on boot. The reason being is that u-boot is copying the DT blob to the upper part of RAM when booting the kernel and the kernel is unable to access the blob. By s

Re: [U-Boot] [PATCH 1/2 v4] ARM : Add GPIO Driver and IOMUX definition for S3C2440

2012-05-01 Thread Marek Vasut
Dear Minkyu Kang, > Dear Gabriel Huau, > > On 30 April 2012 23:11, Gabriel Huau wrote: > > It's now possible to use the gpio driver interface > > for s3c2440. This patch add iomux definitions too. > > > > Signed-off-by: Gabriel Huau > > --- > > Changes for v2: > >- Modification of the

Re: [U-Boot] [PATCH 0/2] Replace yaffs2 with new version

2012-05-01 Thread Charles Manning
On Monday 30 April 2012 16:40:16 Wolfgang Denk wrote: > Dear Charles Manning, > > In message <1335739336-2942-1-git-send-email-cdhmann...@gmail.com> you wrote: > > This patch set replaces fs/yaffs2 with a new version. > > > > This new version is faster and also adds the ability to dynamically > >

[U-Boot] [PATCH] disk: generate GUID Partiton Tables

2012-05-01 Thread Donghwa Lee
This patch manipulates GUID Papartition Tables. I send this patch on behalf of Gwuieon Jin. Signed-off-by: Gwuieon Jin Signed-off-by: Kyungmin Park --- disk/part_efi.c | 107 +++ disk/part_efi.h |2 + include/part.h |2 + 3 files ch

Re: [U-Boot] [PATCH 1/2 v4] ARM : Add GPIO Driver and IOMUX definition for S3C2440

2012-05-01 Thread Minkyu Kang
Dear Gabriel Huau, On 30 April 2012 23:11, Gabriel Huau wrote: > It's now possible to use the gpio driver interface > for s3c2440. This patch add iomux definitions too. > > Signed-off-by: Gabriel Huau > --- > Changes for v2: >        - Modification of the coding style >        - Add my email add

Re: [U-Boot] [PATCH 2/2 v9] ARM : Add support for MINI2440 (s3c2440).

2012-05-01 Thread Minkyu Kang
On 30 April 2012 23:11, Gabriel Huau wrote: > Support of the MINI2440 board from FriendlyARM from > an old version of u-boot : > http://repo.or.cz/r/u-boot-openmoko/mini2440.git > > Currently, supporting only boot from NOR. > > Signed-off-by: Gabriel Huau > --- > Changes for v2: >        - Coding

Re: [U-Boot] [PATCH 2/2 v8] Add support for MINI2440 (s3c2440).

2012-05-01 Thread Minkyu Kang
On 30 April 2012 22:38, Gabriel Huau wrote: > Signed-off-by: Gabriel Huau > --- > Changes for v2: >        - Coding style cleanup >        - Remove unnecessary files modification >        - Remove unnecessary board configuration set > > Changes for v3: >        - Coding style cleanup >        - M

Re: [U-Boot] [PATCH V2] checkpatch: warn of whitespace before semicolon at end of line.

2012-05-01 Thread Eric Nelson
On 05/01/2012 04:11 PM, Marek Vasut wrote: Dear Eric Nelson, Signed-off-by: Eric Nelson --- tools/checkpatch.pl |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/tools/checkpatch.pl b/tools/checkpatch.pl index 2048a44..0caffcb 100755 --- a/tools/checkpatch.pl +++

Re: [U-Boot] [PATCH V2] checkpatch: warn of whitespace before semicolon at end of line.

2012-05-01 Thread Marek Vasut
Dear Eric Nelson, > Signed-off-by: Eric Nelson > --- > tools/checkpatch.pl |6 ++ > 1 files changed, 6 insertions(+), 0 deletions(-) > > diff --git a/tools/checkpatch.pl b/tools/checkpatch.pl > index 2048a44..0caffcb 100755 > --- a/tools/checkpatch.pl > +++ b/tools/checkpatch.pl > @@ -3

[U-Boot] [PATCH V2] checkpatch: warn of whitespace before semicolon at end of line.

2012-05-01 Thread Eric Nelson
Signed-off-by: Eric Nelson --- tools/checkpatch.pl |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/tools/checkpatch.pl b/tools/checkpatch.pl index 2048a44..0caffcb 100755 --- a/tools/checkpatch.pl +++ b/tools/checkpatch.pl @@ -3139,6 +3139,12 @@ sub process {

Re: [U-Boot] [PATCH] checkpatch: warn of whitespace before semicolon at end of line.

2012-05-01 Thread Marek Vasut
Dear Eric Nelson, > Signed-off-by: Eric Nelson > --- > tools/checkpatch.pl |6 ++ > 1 files changed, 6 insertions(+), 0 deletions(-) > > diff --git a/tools/checkpatch.pl b/tools/checkpatch.pl > index 2048a44..0caffcb 100755 > --- a/tools/checkpatch.pl > +++ b/tools/checkpatch.pl > @@ -3

[U-Boot] [PATCH] checkpatch: warn of whitespace before semicolon at end of line.

2012-05-01 Thread Eric Nelson
Signed-off-by: Eric Nelson --- tools/checkpatch.pl |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/tools/checkpatch.pl b/tools/checkpatch.pl index 2048a44..0caffcb 100755 --- a/tools/checkpatch.pl +++ b/tools/checkpatch.pl @@ -3139,6 +3139,12 @@ sub process {

Re: [U-Boot] [PATCH V4] i.MX6: mx6q_sabrelite: add SATA bindings

2012-05-01 Thread Eric Nelson
On 05/01/2012 02:11 PM, Marek Vasut wrote: Dear Eric Nelson, On 05/01/2012 12:25 PM, Marek Vasut wrote: Dear Eric Nelson, Signed-off-by: Eric Nelson --- V2 has been stripped of the board-independent changes and uses clrsetbits_le32() instead of twiddling bits by hand. V3 returns immediately

[U-Boot] [PATCH] powerpc/85xx: fix NAND boot linker scripts for -fpic

2012-05-01 Thread Scott Wood
GOT is now handled the way the main u-boot.lds does it. Without this, the boot hangs when built with newer GCC (since 4.6). Older toolchains hid the issue by converting -fpic to -fPIC. Signed-off-by: Scott Wood --- arch/powerpc/cpu/mpc85xx/u-boot-nand.lds |5 +++-- arch/powerpc/cpu/mpc

Re: [U-Boot] [PATCH] USB: S5P: Add ehci support

2012-05-01 Thread Marek Vasut
Dear Rajeshwari Shinde, > This patch adds ehci driver support for s5p. It'd be awesome if you CCed me ;-) Also, it might be worth CCing Lukasz? > > Signed-off-by: Vivek Gautam > Signed-off-by: Rajeshwari Shinde > --- > arch/arm/include/asm/arch-exynos/ehci-s5p.h | 66 > d

Re: [U-Boot] [PATCH V4] i.MX6: mx6q_sabrelite: add SATA bindings

2012-05-01 Thread Marek Vasut
Dear Eric Nelson, > On 05/01/2012 12:25 PM, Marek Vasut wrote: > > Dear Eric Nelson, > > > >> Signed-off-by: Eric Nelson > >> --- > >> V2 has been stripped of the board-independent changes and > >> uses clrsetbits_le32() instead of twiddling bits by hand. > >> > >> V3 returns immediately from se

[U-Boot] [PATCH 13/13] i.MX28: Avoid redefining serial_put[cs]()

2012-05-01 Thread Marek Vasut
Do not define serial_putc() and serial_puts() calls if CONFIG_SPL_SERIAL_SUPPORT is set. Signed-off-by: Marek Vasut Cc: Detlev Zundel Cc: Fabio Estevam Cc: Stefano Babic Cc: Wolfgang Denk --- arch/arm/cpu/arm926ejs/mx28/spl_boot.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/arch

[U-Boot] [PATCH 11/13] i.MX28: Add battery boot components to SPL

2012-05-01 Thread Marek Vasut
From: Marek Vasut Signed-off-by: Marek Vasut Cc: Detlev Zundel Cc: Fabio Estevam Cc: Stefano Babic Cc: Wolfgang Denk --- arch/arm/cpu/arm926ejs/mx28/spl_power_init.c | 100 +++--- 1 file changed, 92 insertions(+), 8 deletions(-) diff --git a/arch/arm/cpu/arm926ejs/mx28

[U-Boot] [PATCH 12/13] i.MX28: Check if WP detection is implemented at all

2012-05-01 Thread Marek Vasut
If the WP function is NULL, simply assume the card is always RW. Signed-off-by: Marek Vasut Cc: Stefano Babic Cc: Wolfgang Denk Cc: Detlev Zundel Cc: Fabio Estevam --- drivers/mmc/mxsmmc.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/mmc/mxsmmc.c b/drivers

[U-Boot] [PATCH 10/13] i.MX28: Reorder battery status functions in SPL

2012-05-01 Thread Marek Vasut
From: Marek Vasut Signed-off-by: Marek Vasut Cc: Detlev Zundel Cc: Fabio Estevam Cc: Stefano Babic Cc: Wolfgang Denk --- arch/arm/cpu/arm926ejs/mx28/spl_power_init.c | 120 -- 1 file changed, 56 insertions(+), 64 deletions(-) diff --git a/arch/arm/cpu/arm926ejs/mx2

[U-Boot] [PATCH 09/13] i.MX28: Add LRADC init to i.MX28 SPL

2012-05-01 Thread Marek Vasut
From: Marek Vasut This code is part of battery boot support for i.MX28. Signed-off-by: Marek Vasut Cc: Detlev Zundel Cc: Fabio Estevam Cc: Stefano Babic Cc: Wolfgang Denk --- arch/arm/cpu/arm926ejs/mx28/Makefile |2 +- arch/arm/cpu/arm926ejs/mx28/mx28_init.h |3 + arch

[U-Boot] [PATCH 08/13] i.MX28: Add LRADC register definitions

2012-05-01 Thread Marek Vasut
From: Marek Vasut Signed-off-by: Marek Vasut Cc: Detlev Zundel Cc: Fabio Estevam Cc: Stefano Babic Cc: Wolfgang Denk --- arch/arm/include/asm/arch-mx28/imx-regs.h |1 + arch/arm/include/asm/arch-mx28/regs-lradc.h | 400 +++ 2 files changed, 401 insertions(+)

[U-Boot] [PATCH 04/13] i.MX28: Improve passing of data from SPL to U-Boot

2012-05-01 Thread Marek Vasut
Pass memory size from SPL via structure located in SRAM instead of SCRATCH registers. This allows passing more data about boot from SPL to U-Boot, like the boot mode pads configuration. Signed-off-by: Marek Vasut Cc: Detlev Zundel Cc: Fabio Estevam Cc: Stefano Babic Cc: Wolfgang Denk --- arc

[U-Boot] [PATCH 07/13] i.MX28: Shut down the LCD controller before reset

2012-05-01 Thread Marek Vasut
If the LCD controller is on before the CPU goes into reset, the traffic on LCDIF data pins interferes with the BootROM's boot mode sampling. So shut the controller down. Signed-off-by: Marek Vasut Cc: Detlev Zundel Cc: Fabio Estevam Cc: Stefano Babic Cc: Wolfgang Denk --- arch/arm/cpu/arm926

[U-Boot] [PATCH 05/13] i.MX28: Implement boot pads sampling and reporting

2012-05-01 Thread Marek Vasut
This patch implements code that samples i.MX28 boot pads and reports boot mode accordingly. Signed-off-by: Marek Vasut Cc: Detlev Zundel Cc: Fabio Estevam Cc: Stefano Babic Cc: Wolfgang Denk --- arch/arm/cpu/arm926ejs/mx28/mx28.c |4 +++ arch/arm/cpu/arm926ejs/mx28/spl_boot.c

[U-Boot] [PATCH 03/13] M28EVK: Add SD update command

2012-05-01 Thread Marek Vasut
Add "update_sd_firmware" command to easily reload the SD card of m28evk kit. This comes handy when the board boots from SD card. Signed-off-by: Marek Vasut Cc: Detlev Zundel Cc: Fabio Estevam Cc: Stefano Babic Cc: Wolfgang Denk --- include/configs/m28evk.h |9 + 1 file changed, 9

[U-Boot] [PATCH 06/13] i.MX28: Add LCDIF register definitions

2012-05-01 Thread Marek Vasut
From: Marek Vasut Signed-off-by: Marek Vasut Cc: Detlev Zundel Cc: Fabio Estevam Cc: Stefano Babic Cc: Wolfgang Denk --- arch/arm/include/asm/arch-mx28/imx-regs.h |1 + arch/arm/include/asm/arch-mx28/regs-lcdif.h | 212 +++ 2 files changed, 213 insertions(+)

[U-Boot] [PATCH 01/13] FEC: Abstract out register setup

2012-05-01 Thread Marek Vasut
Abstract out common register setup. This also configured r_cntrl to correct value at registration time. Signed-off-by: Marek Vasut Cc: Detlev Zundel Cc: Fabio Estevam Cc: Stefano Babic Cc: Wolfgang Denk --- drivers/net/fec_mxc.c | 84 ++--- 1 fil

[U-Boot] [PATCH 00/13] M28EVK/i.MX28 improvements

2012-05-01 Thread Marek Vasut
These are some improvements that were stuck in my tree for a while, time to expunge them, please consider applying. Tested on: * DENX M28EVK v2.0 * DENX M28EVK v1.1 * Mysterious board #1 ... * Unnamed board #2 ... Marek Vasut (13): FEC: Abstract out register setup M28EVK: Implement support fo

[U-Boot] [PATCH 02/13] M28EVK: Implement support for new board V2.0

2012-05-01 Thread Marek Vasut
Signed-off-by: Marek Vasut Cc: Detlev Zundel Cc: Fabio Estevam Cc: Stefano Babic Cc: Wolfgang Denk --- board/denx/m28evk/m28evk.c | 20 +++- board/denx/m28evk/spl_boot.c |8 ++-- 2 files changed, 25 insertions(+), 3 deletions(-) diff --git a/board/denx/m28evk/m28e

Re: [U-Boot] [PATCH 00/13] M28EVK/i.MX28 improvements

2012-05-01 Thread Marek Vasut
> These are some improvements that were stuck in my tree for a while, time to > expunge them, please consider applying. Ignore this series, typo mangled Stefano's address, will resend. > > Tested on: > * DENX M28EVK v2.0 > * DENX M28EVK v1.1 > * Mysterious board #1 ... > * Unnamed board #2 ... >

[U-Boot] [PATCH 13/13] i.MX28: Avoid redefining serial_put[cs]()

2012-05-01 Thread Marek Vasut
Do not define serial_putc() and serial_puts() calls if CONFIG_SPL_SERIAL_SUPPORT is set. Signed-off-by: Marek Vasut Cc: Detlev Zundel Cc: Fabio Estevam Cc: Stefano Babic Cc: Wolfgang Denk --- arch/arm/cpu/arm926ejs/mx28/spl_boot.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/arch

[U-Boot] [PATCH 12/13] i.MX28: Check if WP detection is implemented at all

2012-05-01 Thread Marek Vasut
If the WP function is NULL, simply assume the card is always RW. Signed-off-by: Marek Vasut Cc: Stefano Babic Cc: Wolfgang Denk Cc: Detlev Zundel Cc: Fabio Estevam --- drivers/mmc/mxsmmc.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/mmc/mxsmmc.c b/drivers

[U-Boot] [PATCH 10/13] i.MX28: Reorder battery status functions in SPL

2012-05-01 Thread Marek Vasut
From: Marek Vasut Signed-off-by: Marek Vasut Cc: Detlev Zundel Cc: Fabio Estevam Cc: Stefano Babic Cc: Wolfgang Denk --- arch/arm/cpu/arm926ejs/mx28/spl_power_init.c | 120 -- 1 file changed, 56 insertions(+), 64 deletions(-) diff --git a/arch/arm/cpu/arm926ejs/mx2

[U-Boot] [PATCH 11/13] i.MX28: Add battery boot components to SPL

2012-05-01 Thread Marek Vasut
From: Marek Vasut Signed-off-by: Marek Vasut Cc: Detlev Zundel Cc: Fabio Estevam Cc: Stefano Babic Cc: Wolfgang Denk --- arch/arm/cpu/arm926ejs/mx28/spl_power_init.c | 100 +++--- 1 file changed, 92 insertions(+), 8 deletions(-) diff --git a/arch/arm/cpu/arm926ejs/mx28

[U-Boot] [PATCH 09/13] i.MX28: Add LRADC init to i.MX28 SPL

2012-05-01 Thread Marek Vasut
From: Marek Vasut This code is part of battery boot support for i.MX28. Signed-off-by: Marek Vasut Cc: Detlev Zundel Cc: Fabio Estevam Cc: Stefano Babic Cc: Wolfgang Denk --- arch/arm/cpu/arm926ejs/mx28/Makefile |2 +- arch/arm/cpu/arm926ejs/mx28/mx28_init.h |3 + arch

[U-Boot] [PATCH 08/13] i.MX28: Add LRADC register definitions

2012-05-01 Thread Marek Vasut
From: Marek Vasut Signed-off-by: Marek Vasut Cc: Detlev Zundel Cc: Fabio Estevam Cc: Stefano Babic Cc: Wolfgang Denk --- arch/arm/include/asm/arch-mx28/imx-regs.h |1 + arch/arm/include/asm/arch-mx28/regs-lradc.h | 400 +++ 2 files changed, 401 insertions(+)

[U-Boot] [PATCH 06/13] i.MX28: Add LCDIF register definitions

2012-05-01 Thread Marek Vasut
From: Marek Vasut Signed-off-by: Marek Vasut Cc: Detlev Zundel Cc: Fabio Estevam Cc: Stefano Babic Cc: Wolfgang Denk --- arch/arm/include/asm/arch-mx28/imx-regs.h |1 + arch/arm/include/asm/arch-mx28/regs-lcdif.h | 212 +++ 2 files changed, 213 insertions(+)

[U-Boot] [PATCH 07/13] i.MX28: Shut down the LCD controller before reset

2012-05-01 Thread Marek Vasut
If the LCD controller is on before the CPU goes into reset, the traffic on LCDIF data pins interferes with the BootROM's boot mode sampling. So shut the controller down. Signed-off-by: Marek Vasut Cc: Detlev Zundel Cc: Fabio Estevam Cc: Stefano Babic Cc: Wolfgang Denk --- arch/arm/cpu/arm926

[U-Boot] [PATCH 05/13] i.MX28: Implement boot pads sampling and reporting

2012-05-01 Thread Marek Vasut
This patch implements code that samples i.MX28 boot pads and reports boot mode accordingly. Signed-off-by: Marek Vasut Cc: Detlev Zundel Cc: Fabio Estevam Cc: Stefano Babic Cc: Wolfgang Denk --- arch/arm/cpu/arm926ejs/mx28/mx28.c |4 +++ arch/arm/cpu/arm926ejs/mx28/spl_boot.c

[U-Boot] [PATCH 04/13] i.MX28: Improve passing of data from SPL to U-Boot

2012-05-01 Thread Marek Vasut
Pass memory size from SPL via structure located in SRAM instead of SCRATCH registers. This allows passing more data about boot from SPL to U-Boot, like the boot mode pads configuration. Signed-off-by: Marek Vasut Cc: Detlev Zundel Cc: Fabio Estevam Cc: Stefano Babic Cc: Wolfgang Denk --- arc

[U-Boot] [PATCH 01/13] FEC: Abstract out register setup

2012-05-01 Thread Marek Vasut
Abstract out common register setup. This also configured r_cntrl to correct value at registration time. Signed-off-by: Marek Vasut Cc: Detlev Zundel Cc: Fabio Estevam Cc: Stefano Babic Cc: Wolfgang Denk --- drivers/net/fec_mxc.c | 84 ++--- 1 fil

[U-Boot] [PATCH 02/13] M28EVK: Implement support for new board V2.0

2012-05-01 Thread Marek Vasut
Signed-off-by: Marek Vasut Cc: Detlev Zundel Cc: Fabio Estevam Cc: Stefano Babic Cc: Wolfgang Denk --- board/denx/m28evk/m28evk.c | 20 +++- board/denx/m28evk/spl_boot.c |8 ++-- 2 files changed, 25 insertions(+), 3 deletions(-) diff --git a/board/denx/m28evk/m28e

[U-Boot] [PATCH 03/13] M28EVK: Add SD update command

2012-05-01 Thread Marek Vasut
Add "update_sd_firmware" command to easily reload the SD card of m28evk kit. This comes handy when the board boots from SD card. Signed-off-by: Marek Vasut Cc: Detlev Zundel Cc: Fabio Estevam Cc: Stefano Babic Cc: Wolfgang Denk --- include/configs/m28evk.h |9 + 1 file changed, 9

[U-Boot] [PATCH 00/13] M28EVK/i.MX28 improvements

2012-05-01 Thread Marek Vasut
These are some improvements that were stuck in my tree for a while, time to expunge them, please consider applying. Tested on: * DENX M28EVK v2.0 * DENX M28EVK v1.1 * Mysterious board #1 ... * Unnamed board #2 ... Marek Vasut (13): FEC: Abstract out register setup M28EVK: Implement support fo

[U-Boot] [PATCH 2/2] GPIO: Implement gpio_{from, to}_string on M28EVK

2012-05-01 Thread Marek Vasut
Implement the above two functions. The format of input parameters is "x_y", where x is the bank number and y is the pin number in that bank. Example: => gpio i 3_13 gpio: pin 3_13 (gpio 107) value is 0 Signed-off-by: Marek Vasut Cc: Detlev Zundel Cc: Mike Frysinger Cc: Stefano Babic ---

[U-Boot] [PATCH 1/2] GPIO: Extend the cmd_gpio API by gpio_{from, to}_string()

2012-05-01 Thread Marek Vasut
The gpio_from_string() call shall parse the incoming GPIO name taken from the command line and return the GPIO number used within U-Boot or return -1 on error. The gpio_to_string() on the other hand allows nicer reporting of GPIO name in the output of cmd_gpio. Signed-off-by: Marek Vasut Cc: Det

Re: [U-Boot] [PATCH V5] i.MX6: mx6q_sabrelite: add SATA bindings

2012-05-01 Thread Eric Nelson
On 05/01/2012 01:09 PM, Marek Vasut wrote: Dear Eric Nelson, Signed-off-by: Eric Nelson --- V2 has been stripped of the board-independent changes and uses clrsetbits_le32() instead of twiddling bits by hand. V3 returns immediately from setup_sata() if enable_sata_clock() returns an error. V4

Re: [U-Boot] [U-boot] Help: Tegra250 board(harmony) Ethernet driver

2012-05-01 Thread Allen Martin
On Tue, Apr 24, 2012 at 12:53:15AM -0700, YONGKI KIM wrote: > Hello everyone. > I am trying to port the Ethernet driver to *tegra250 development > board(harmony board)* but I have the problem. > Harmony has a SMSC LAN9514 integrated USB hub/ethernet controller. There's a driver for it in drivers/

Re: [U-Boot] [PATCH V5] i.MX6: mx6q_sabrelite: add SATA bindings

2012-05-01 Thread Marek Vasut
Dear Eric Nelson, > Signed-off-by: Eric Nelson > --- > V2 has been stripped of the board-independent changes and > uses clrsetbits_le32() instead of twiddling bits by hand. > > V3 returns immediately from setup_sata() if enable_sata_clock() > returns an error. > > V4 removes extra #include and

[U-Boot] [PATCH V5] i.MX6: mx6q_sabrelite: add SATA bindings

2012-05-01 Thread Eric Nelson
Signed-off-by: Eric Nelson --- V2 has been stripped of the board-independent changes and uses clrsetbits_le32() instead of twiddling bits by hand. V3 returns immediately from setup_sata() if enable_sata_clock() returns an error. V4 removes extra #include and addresses a style issue as discussed

Re: [U-Boot] [PATCH 0/4] usb:gadget:composite: Support for composite gadget framework

2012-05-01 Thread Marek Vasut
Dear Lukasz Majewski, > This patch set provides support for composite gadget framework. > Files from Linux kernel (2.6.36) - namely composite.{c|h} have been > ported. > > Some extra "compatibility" code has been added as well. > > Lukasz Majewski (4): > usb:gadget:composite Composite framewor

Re: [U-Boot] [PATCH V4] i.MX6: mx6q_sabrelite: add SATA bindings

2012-05-01 Thread Eric Nelson
On 05/01/2012 12:25 PM, Marek Vasut wrote: Dear Eric Nelson, Signed-off-by: Eric Nelson --- V2 has been stripped of the board-independent changes and uses clrsetbits_le32() instead of twiddling bits by hand. V3 returns immediately from setup_sata() if enable_sata_clock() returns an error. V4

Re: [U-Boot] [PATCH V4 5/8] i.MX25: usb: Set PORTSCx register

2012-05-01 Thread Marek Vasut
Dear Stefano Babic, > On 19/04/2012 10:55, Timo Ketola wrote: > > The USB controller in i.MX25 has a PORTSCx registers which should be > > set. In this regard it is similar to the controller in i.MX31. As this > > file is compiled only with i.MX25 and -31, #ifdef check can be removed. > > > > Sig

Re: [U-Boot] [PATCH V4] i.MX6: mx6q_sabrelite: add SATA bindings

2012-05-01 Thread Marek Vasut
Dear Eric Nelson, > Signed-off-by: Eric Nelson > --- > V2 has been stripped of the board-independent changes and > uses clrsetbits_le32() instead of twiddling bits by hand. > > V3 returns immediately from setup_sata() if enable_sata_clock() > returns an error. > > V4 removes extra #include and

[U-Boot] [PATCH V4] i.MX6: mx6q_sabrelite: add SATA bindings

2012-05-01 Thread Eric Nelson
Signed-off-by: Eric Nelson --- V2 has been stripped of the board-independent changes and uses clrsetbits_le32() instead of twiddling bits by hand. V3 returns immediately from setup_sata() if enable_sata_clock() returns an error. V4 removes extra #include and addresses a style issue as discussed

Re: [U-Boot] Question about U-Boot env variable substitution

2012-05-01 Thread Wolfgang Denk
Dear David Aldrich, In message <41302a7145ac054fa7a96cfd03835a0a114...@ex10mbx02.eu.nec.com> you wrote: > > I would be grateful for some help with environment variable substitution in > U-Boot please. Make sure to read the manual, and the FAQ section, especially http://www.denx.de/wiki/view/DU

Re: [U-Boot] Question about U-Boot env variable substitution

2012-05-01 Thread David Aldrich
I have fixed this now. Best regards David > -Original Message- > From: u-boot-boun...@lists.denx.de [mailto:u-boot- > boun...@lists.denx.de] On Behalf Of David Aldrich > Sent: 01 May 2012 13:29 > To: u-boot@lists.denx.de > Subject: [U-Boot] Question about U-Boot env variable substitution

Re: [U-Boot] [PATCH] doc: cleanup - move board READMEs into respective board directories

2012-05-01 Thread Daniel Schwierzeck
Dear Wolfgang, 2012/4/30 Wolfgang Denk : > Also drop a few files referring to no longer / not yet supported > boards. > > Signed-off-by: Wolfgang Denk > Cc: Prafulla Wadaskar > Cc: Stefan Roese > Cc: Kim Phillips > Cc: Andy Fleming > Cc: Jason Jin > Cc: Stefano Babic > Cc: Daniel Schwierzec

[U-Boot] Question about U-Boot env variable substitution

2012-05-01 Thread David Aldrich
Hi I would be grateful for some help with environment variable substitution in U-Boot please. I have: => printenv [snip] bootargs=console=ttyS0,115200 root=/dev/nfs rw ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}:${netdev}:off nfsroot=${serverip}:${rootpath} [snip] bootcmd=ru

[U-Boot] [PATCH 0/2] Generalise dns325 support and include dns320

2012-05-01 Thread Jamie Lentin
As suggested by Prafulla Wadaskar, generalise dns325 support so that the dns320 can be supported by the same code. NB: The patch uses git renaming to change dns325 to dnskw, so cannot be applied with regular patch(1). Let me know if I shouldn't be submitting in this form. Jamie Lentin (2): kirk

[U-Boot] [PATCH 2/2] kirkwood: Add support for the D-Link DNS-320

2012-05-01 Thread Jamie Lentin
Extend dnskw to support the D-Link DNS-320 ShareCenter NAS also. For more information on this NAS, see:- http://jamie.lentin.co.uk/devices/dlink-dns320 http://dns323.kood.org/dns-320 http://sharecenter.dlink.com/products/DNS-320 Signed-off-by: Jamie Lentin Cc: prafu...@marvell.com Cc: albe

[U-Boot] [PATCH 1/2] kirkwood: Rename dns325 to dnskw

2012-05-01 Thread Jamie Lentin
So we can re-use DNS-325 configuration for the DNS-320 without things getting confusing, rename all common parts from dns325 to dnskw, and use a config option to configure DNS-325 specifics. Signed-off-by: Jamie Lentin Cc: prafu...@marvell.com Cc: albert.u.b...@aribaud.net --- board/d-link/{dns3

[U-Boot] [PATCH] USB: S5P: Add ehci support

2012-05-01 Thread Rajeshwari Shinde
This patch adds ehci driver support for s5p. Signed-off-by: Vivek Gautam Signed-off-by: Rajeshwari Shinde --- arch/arm/include/asm/arch-exynos/ehci-s5p.h | 66 drivers/usb/host/Makefile |1 + drivers/usb/host/ehci-s5p.c | 113 ++