Re: [U-Boot] [PATCH v3 3/5] arm: exynos4: cpu: Add definition for display

2012-09-27 Thread Piotr Wilczek
Dear Minkyu, -Original Message- From: Minkyu Kang [mailto:proms...@gmail.com] Sent: Thursday, September 27, 2012 2:21 AM To: Piotr Wilczek Cc: u-boot@lists.denx.de; Kyungmin Park; Donghwa Lee Subject: Re: [U-Boot] [PATCH v3 3/5] arm: exynos4: cpu: Add definition for display Dear

Re: [U-Boot] KernelDoc

2012-09-27 Thread Stefan Roese
On 09/26/2012 09:54 PM, Wolfgang Denk wrote: snip If I change the calling interface, must I add documentation then? Of course, yes. Didn't we agree that we want to make it easier for people to contribute code? If somebody who just wants to improve a small detail in the code is now not

Re: [U-Boot] [PATCH v3 2/5] drivers: video: Add ld9040 video driver

2012-09-27 Thread Minkyu Kang
Dear Piotr, On 24 September 2012 22:04, Piotr Wilczek p.wilc...@samsung.com wrote: This patch add ld9040 video driver: new file: drivers/video/ld9040.c new file: include/ld9040.h modified: drivers/video/Makefile It's a unnecessary information. Please remove it. Signed-off-by: Piotr

[U-Boot] [PATCH] snowball: Clear UART RX FIFO

2012-09-27 Thread Ramesh CHANDRASEKARAN
Without usb-serial cable plugged at this stage, some garbage is seen in UART RX FIFO, which blocks autoboot progress. The fix makes sure to empty the RX FIFO, before we wait for user input to interrupt autoboot. Signed-off-by: Ramesh Chandrasekaran ramesh.chandraseka...@stericsson.com ---

Re: [U-Boot] [PATCH v1 2/4] mpc83xx: add support for mpc8309

2012-09-27 Thread Gerlando Falauto
On 09/27/2012 03:22 AM, Kim Phillips wrote: On Wed, 26 Sep 2012 10:28:08 +0200 Gerlando Falautogerlando.fala...@keymile.com wrote: This processor, though very similar to other members of the PowerQUICC II Pro family (namely 8308, 8360 and 832x), provides yet another feature set than any

Re: [U-Boot] [PATCH v3 2/5] drivers: video: Add ld9040 video driver

2012-09-27 Thread Piotr Wilczek
Dear Minkyu, -Original Message- From: Minkyu Kang [mailto:proms...@gmail.com] Sent: Thursday, September 27, 2012 8:59 AM To: Piotr Wilczek Cc: u-boot@lists.denx.de; Kyungmin Park; Donghwa Lee Subject: Re: [U-Boot] [PATCH v3 2/5] drivers: video: Add ld9040 video driver Dear

Re: [U-Boot] [PATCH] mx6qsabreauto: Use ttymxc3 as console

2012-09-27 Thread Stefano Babic
On 26/09/2012 23:37, Otavio Salvador wrote: The mx6qsabreauto console is different than mx6qsabresd so the console configuration is now set in the board file. Signed-off-by: Otavio Salvador ota...@ossystems.com.br --- include/configs/mx6qsabre_common.h |2 +-

[U-Boot] [PATCH] TQM8xx: adjust linker script to grown code size

2012-09-27 Thread Wolfgang Denk
Some of the previous changes caused the code to grow, which causes errors like u-boot.lds:76 cannot move location counter backwards (from 4000828c to 40008000) when building with some older tool chains (like ELDK 4.2). Adjust the linker script to make fit again. Signed-off-by: Wolfgang Denk

Re: [U-Boot] [PATCH 1/6] am33xx: Enable UART{1,2,4,5} clocks

2012-09-27 Thread Matt Porter
On Wed, Sep 26, 2012 at 04:04:14PM -0400, Andrew Bradford wrote: If configured to use UART{1,2,4,5}, such as on the Beaglebone RS232 cape, enable the required clocks for the UART in use. Signed-off-by: Andrew Bradford and...@bradfordembedded.com --- arch/arm/cpu/armv7/am33xx/clock.c | 28

Re: [U-Boot] [PATCH 2/6] am33xx: Enable UART{1,2,4,5} pin-mux

2012-09-27 Thread Matt Porter
On Wed, Sep 26, 2012 at 04:04:15PM -0400, Andrew Bradford wrote: If configured to use UART{1,2,4,5}, such as on the Beaglebone RS232 cape, enable the proper pin-muxing as per the RS232 cape configuration. Signed-off-by: Andrew Bradford and...@bradfordembedded.com ---

Re: [U-Boot] [PATCH 6/6] am335x_evm: Enable use of UART{1,2,4,5}

2012-09-27 Thread Matt Porter
On Wed, Sep 26, 2012 at 04:04:19PM -0400, Andrew Bradford wrote: Add targets of am335x_evm_uart{1,2,4,5} to have serial input/output on UART{1,2,4,5} for use with the Beaglebone RS232 cape and other custom configurations. Add the UART3 target and I'll blow the dust off my EVM and try to test

Re: [U-Boot] [PATCH] TQM8xx: adjust linker script to grown code size

2012-09-27 Thread Marek Vasut
Dear Wolfgang Denk, Some of the previous changes caused the code to grow, which causes errors like u-boot.lds:76 cannot move location counter backwards (from 4000828c to 40008000) when building with some older tool chains (like ELDK 4.2). Adjust the linker script to make fit again.

Re: [U-Boot] [PATCH v3 07/18] tegra: Add support for PWM

2012-09-27 Thread Simon Glass
Hi Mike, On Thu, Jul 19, 2012 at 6:55 AM, Mike Frysinger vap...@gentoo.org wrote: On Thursday 12 July 2012 11:25:07 Simon Glass wrote: --- a/arch/arm/cpu/armv7/tegra2/Makefile +++ b/arch/arm/cpu/armv7/tegra2/Makefile +COBJS-$(CONFIG_VIDEO_TEGRA) += pwm.o should this get its own knob ? PWM

Re: [U-Boot] [PATCH v3 06/18] tegra: fdt: Add LCD definitions for Tegra

2012-09-27 Thread Simon Glass
Hi Stephen, On Tue, Jul 31, 2012 at 9:12 AM, Stephen Warren swar...@wwwdotorg.org wrote: On 07/31/2012 03:27 AM, Simon Glass wrote: On Thu, Jul 12, 2012 at 4:25 PM, Simon Glass s...@chromium.org wrote: Add LCD definitions and also a proposed binding for LCD displays. The PWM is as per what

[U-Boot] [PATCH 1/4 V2] COMMON: Add __stringify() function

2012-09-27 Thread Marek Vasut
Copied from Linux kernel: commit 8f7c2c37319a81ef4c2bfdec67b1ccd5744d97e4 Date: Wed Apr 8 16:58:57 2009 +0800 Pull in the __stringify() macro from Linux kernel. This macro is usually used to convert numbers to strings at preprocessor level, yet it is not limited only to that. This is useful as

Re: [U-Boot] [PATCH 0/6] add zip command support for uboot

2012-09-27 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/26/12 19:05, Lei Wen wrote: Hi Tom, On Thu, Sep 27, 2012 at 12:20 AM, Tom Rini tr...@ti.com mailto:tr...@ti.com wrote: On Wed, Sep 26, 2012 at 05:34:25PM +0200, Marek Vasut wrote: Dear Lei Wen, On Thu, Sep 6, 2012 at 6:49 PM, Marek

Re: [U-Boot] [PATCH v3 06/18] tegra: fdt: Add LCD definitions for Tegra

2012-09-27 Thread Stephen Warren
On 09/27/2012 07:58 AM, Simon Glass wrote: Hi Stephen, On Tue, Jul 31, 2012 at 9:12 AM, Stephen Warren swar...@wwwdotorg.org wrote: On 07/31/2012 03:27 AM, Simon Glass wrote: On Thu, Jul 12, 2012 at 4:25 PM, Simon Glass s...@chromium.org wrote: Add LCD definitions and also a proposed

Re: [U-Boot] [PATCH 1/6] am33xx: Enable UART{1,2,4,5} clocks

2012-09-27 Thread Marek Vasut
Dear Andrew Bradford, If configured to use UART{1,2,4,5}, such as on the Beaglebone RS232 cape, enable the required clocks for the UART in use. Signed-off-by: Andrew Bradford and...@bradfordembedded.com --- arch/arm/cpu/armv7/am33xx/clock.c | 28 1 file

Re: [U-Boot] [U-Boot, v3] FAT: Make it possible to read from any file position

2012-09-27 Thread Tom Rini
On Tue, Sep 18, 2012 at 08:14:56AM -, Beno?t Th?baudeau wrote: When storage devices contain files larger than the embedded RAM, it is useful to be able to read these files by chunks, e.g. for a software update to the embedded NAND Flash from an external storage device (USB stick, SD

Re: [U-Boot] malloc: remove extern declarations of malloc_bin_reloc() in board.c files

2012-09-27 Thread Tom Rini
On Sun, Jun 03, 2012 at 12:40:04PM -, Daniel Schwierzeck wrote: Declare malloc_bin_reloc() in malloc.h and remove all extern declarations in various board.c files to get rid of one checkpatch.pl warning. Signed-off-by: Daniel Schwierzeck daniel.schwierz...@googlemail.com Cc: Wolfgang

Re: [U-Boot] [U-Boot,1/2] patman: Use reverse order for changelog

2012-09-27 Thread Tom Rini
On Sat, Aug 18, 2012 at 07:46:04AM -, Otavio Salvador wrote: Specially when many revisions are need for a patchset, the most interesting information is about the last set of changes so we output the changelog in reverse order to easy identification of most recent change set.

Re: [U-Boot] env: remove duplicated env_get_char_spec()

2012-09-27 Thread Tom Rini
On Sun, Sep 23, 2012 at 04:39:16AM -, Igor Grinberg wrote: env_fat and env_remote have an implementation of env_get_char_spec() function that is not different than the default. Remove the duplicated code. Signed-off-by: Igor Grinberg grinb...@compulab.co.il Applied to u-boot/master,

Re: [U-Boot] env: checkpatch clean env_fat

2012-09-27 Thread Tom Rini
On Sun, Sep 23, 2012 at 05:25:21AM -, Igor Grinberg wrote: env_fat has several checkpatch warnings - clean those up. Signed-off-by: Igor Grinberg grinb...@compulab.co.il Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, 1/4] lib: vsprintf.c: fix checkpath.pl warnings

2012-09-27 Thread Tom Rini
On Sun, Sep 16, 2012 at 06:55:03AM -, Daniel Schwierzeck wrote: From: Daniel Schwierzeck daniel.schwierz...@gmail.com Signed-off-by: Daniel Schwierzeck daniel.schwierz...@gmail.com Applied to u-boot/next, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, 2/4] lib: vsprintf.c: replace NUM_TYPE with s64/u64 types

2012-09-27 Thread Tom Rini
On Sun, Sep 16, 2012 at 06:55:04AM -, Daniel Schwierzeck wrote: From: Daniel Schwierzeck daniel.schwierz...@gmail.com This fixes warnings when compiling with ELDK-5.2.1 for MIPS64: vsprintf.c: In function 'put_dec': vsprintf.c:258:9: warning: comparison of distinct pointer types lacks

Re: [U-Boot] [U-Boot, 3/4] common: cmd_elf.c: fix checkpath.pl warnings

2012-09-27 Thread Tom Rini
On Sun, Sep 16, 2012 at 06:55:05AM -, Daniel Schwierzeck wrote: From: Daniel Schwierzeck daniel.schwierz...@gmail.com Signed-off-by: Daniel Schwierzeck daniel.schwierz...@gmail.com With a change to re-order the functions (board/w7o/ uses valid_elf_image as well) rather than mark

Re: [U-Boot] [U-Boot, 4/4] common: cmd_elf.c: use uintptr_t for casts from u32 to void*

2012-09-27 Thread Tom Rini
On Sun, Sep 16, 2012 at 06:55:06AM -, Daniel Schwierzeck wrote: From: Daniel Schwierzeck daniel.schwierz...@gmail.com This fixes warnings when compiling with ELDK-5.2.1 for MIPS64: cmd_elf.c: In function 'load_elf_image_phdr': cmd_elf.c:289:15: warning: cast to pointer from integer of

Re: [U-Boot] [PATCH 1/6] am33xx: Enable UART{1,2,4,5} clocks

2012-09-27 Thread Tom Rini
On Thu, Sep 27, 2012 at 06:13:36PM +0200, Marek Vasut wrote: Dear Andrew Bradford, If configured to use UART{1,2,4,5}, such as on the Beaglebone RS232 cape, enable the required clocks for the UART in use. Signed-off-by: Andrew Bradford and...@bradfordembedded.com ---

Re: [U-Boot] [PATCH 4/6] console omap-common/spl: Enable use of eserial

2012-09-27 Thread Marek Vasut
Dear Andrew Bradford, Enable use of eserial devices for common and omap-common/spl. This probably isn't the right way to do this as the changes aren't needed for 'common' configurations, just for one case. Signed-off-by: Andrew Bradford and...@bradfordembedded.com ---

Re: [U-Boot] [PATCH resend 1/3] tegra20: complete periph_id enum

2012-09-27 Thread Tom Warren
Lucas, On Wed, Sep 26, 2012 at 9:19 AM, Tom Warren twar...@nvidia.com wrote: Lucas, -Original Message- From: Lucas Stach [mailto:d...@lynxeye.de] Sent: Tuesday, September 25, 2012 11:21 PM To: Tom Warren Cc: u-boot@lists.denx.de Subject: [PATCH resend 1/3] tegra20: complete

Re: [U-Boot] [PATCH] tegra: enable CONFIG_CMD_PART

2012-09-27 Thread Tom Warren
Stephen, -Original Message- From: Stephen Warren [mailto:swar...@wwwdotorg.org] Sent: Tuesday, September 25, 2012 4:32 PM To: Tom Warren Cc: u-boot@lists.denx.de; Stephen Warren Subject: [PATCH] tegra: enable CONFIG_CMD_PART From: Stephen Warren swar...@nvidia.com This is

Re: [U-Boot] [PATCH 1/6] am33xx: Enable UART{1,2,4,5} clocks

2012-09-27 Thread Marek Vasut
Dear Tom Rini, On Thu, Sep 27, 2012 at 06:13:36PM +0200, Marek Vasut wrote: Dear Andrew Bradford, If configured to use UART{1,2,4,5}, such as on the Beaglebone RS232 cape, enable the required clocks for the UART in use. Signed-off-by: Andrew Bradford and...@bradfordembedded.com

Re: [U-Boot] [PATCH 1/6] am33xx: Enable UART{1,2,4,5} clocks

2012-09-27 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/27/12 09:45, Marek Vasut wrote: Dear Tom Rini, On Thu, Sep 27, 2012 at 06:13:36PM +0200, Marek Vasut wrote: Dear Andrew Bradford, If configured to use UART{1,2,4,5}, such as on the Beaglebone RS232 cape, enable the required clocks for

Re: [U-Boot] [PATCH 1/6] am33xx: Enable UART{1,2,4,5} clocks

2012-09-27 Thread Marek Vasut
Dear Tom Rini, On 09/27/12 09:45, Marek Vasut wrote: Dear Tom Rini, On Thu, Sep 27, 2012 at 06:13:36PM +0200, Marek Vasut wrote: Dear Andrew Bradford, If configured to use UART{1,2,4,5}, such as on the Beaglebone RS232 cape, enable the required clocks for the UART in use.

Re: [U-Boot] [PATCH 1/6] am33xx: Enable UART{1,2,4,5} clocks

2012-09-27 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/27/12 10:11, Marek Vasut wrote: Dear Tom Rini, On 09/27/12 09:45, Marek Vasut wrote: Dear Tom Rini, On Thu, Sep 27, 2012 at 06:13:36PM +0200, Marek Vasut wrote: Dear Andrew Bradford, If configured to use UART{1,2,4,5}, such as on the

Re: [U-Boot] [PATCH v4 0/6] tegra: Add NAND flash support

2012-09-27 Thread Simon Glass
Hi Stephen, On Fri, Sep 21, 2012 at 2:57 PM, Stephen Warren swar...@wwwdotorg.org wrote: On 09/21/2012 03:44 PM, Tom Warren wrote: Simon, -Original Message- From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass Sent: Friday, September 07, 2012 2:33 PM To: Tom

Re: [U-Boot] KernelDoc

2012-09-27 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/26/12 23:19, Stefan Roese wrote: [snip] BTW: I've done quite some Linux kernel work and never used this kernel-doc style so far. Its not mandatory in the Linux kernel. Not that this really matters in regards to U-Boot. But my personal

Re: [U-Boot] [PATCH 1/6] am33xx: Enable UART{1,2,4,5} clocks

2012-09-27 Thread Marek Vasut
Dear Tom Rini, On 09/27/12 10:11, Marek Vasut wrote: Dear Tom Rini, On 09/27/12 09:45, Marek Vasut wrote: Dear Tom Rini, On Thu, Sep 27, 2012 at 06:13:36PM +0200, Marek Vasut wrote: Dear Andrew Bradford, If configured to use UART{1,2,4,5}, such as on the Beaglebone RS232

Re: [U-Boot] [PATCH v3 09/18] tegra: Add LCD driver

2012-09-27 Thread Simon Glass
Hi Thierry, On Thu, Jul 19, 2012 at 12:41 AM, Thierry Reding thierry.red...@avionic-design.de wrote: On Thu, Jul 12, 2012 at 08:25:09AM -0700, Simon Glass wrote: This driver supports driving a single LCD and providing a U-Boot console on it. Signed-off-by: Simon Glass s...@chromium.org ---

Re: [U-Boot] KernelDoc

2012-09-27 Thread Fabio Estevam
On Thu, Sep 27, 2012 at 3:19 AM, Stefan Roese s...@denx.de wrote: Please don't. As you mentioned above, we (in U-Boot) already have very strict rules making it not easy for especially new developers to push their changes upstream. I fear that with such a new requirement, more users /

[U-Boot] Pull request: u-boot-net.git master

2012-09-27 Thread Joe Hershberger
The following changes since commit ee1f4caaa2a3f79d692155eec8a4c7289d60e106: Prepare v2012.10-rc1 (2012-09-21 17:18:28 -0700) are available in the git repository at: git://git.denx.de/u-boot-net.git master for you to fetch changes up to ee0f60df0b71092cd632fc6651f4157a2d252598: net:

Re: [U-Boot] [PATCH v3 08/18] tegra: Add SOC support for display/lcd

2012-09-27 Thread Simon Glass
Hi, On Thu, Jul 19, 2012 at 1:03 AM, Adam Jiang ch...@nvidia.com wrote: On Thu, Jul 12, 2012 at 11:25:08PM +0800, Simon Glass wrote: From: Wei Ni w...@nvidia.com Add support for the LCD peripheral at the Tegra2 SOC level. A separate LCD driver will use this functionality to configure the

Re: [U-Boot] [PATCH 1/6] am33xx: Enable UART{1,2,4,5} clocks

2012-09-27 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/27/12 10:27, Marek Vasut wrote: Dear Tom Rini, On 09/27/12 10:11, Marek Vasut wrote: Dear Tom Rini, On 09/27/12 09:45, Marek Vasut wrote: Dear Tom Rini, On Thu, Sep 27, 2012 at 06:13:36PM +0200, Marek Vasut wrote: Dear Andrew

Re: [U-Boot] [PATCH v3 11/18] arm: Add control over cachability of memory regions

2012-09-27 Thread Simon Glass
Hi Albert and Mike, On Thu, Jul 19, 2012 at 7:10 AM, Mike Frysinger vap...@gentoo.org wrote: On Thursday 12 July 2012 14:12:41 Albert ARIBAUD wrote: On Thu, 12 Jul 2012 08:25:11 -0700, Simon Glass wrote: --- a/arch/arm/include/asm/system.h +++ b/arch/arm/include/asm/system.h +/* options

Re: [U-Boot] [PATCH v7 20/29] ARM: SPL: Convert davinci to CONFIG_SPL_FRAMEWORK

2012-09-27 Thread Tom Rini
On Mon, Sep 24, 2012 at 05:30:58PM -0700, Tom Rini wrote: - Convert the non-relocation part of board_init_f to spl_board_init, turn on CONFIG_SPL_BOARD_INIT in the configs. - Remove duplicated code. - Add spl_boot_device() that returns the statically chosen boot device. Signed-off-by: Tom

[U-Boot] RMII ethernet problems on i.MX6 Solo

2012-09-27 Thread Carolyn Smith
Hello, Has anyone had any success getting RMII ethernet to work on an i.MX6 Solo or DualLite? I am pretty confident I have the IOMUX registers set up properly and the clocking configured and working properly but am not seeing any activity on the TXEN line when trying to transmit a packet.I can

Re: [U-Boot] RMII ethernet problems on i.MX6 Solo

2012-09-27 Thread Troy Kisky
On 9/27/2012 11:27 AM, Carolyn Smith wrote: Hello, Has anyone had any success getting RMII ethernet to work on an i.MX6 Solo or DualLite? I am pretty confident I have the IOMUX registers set up properly and the clocking configured and working properly but am not seeing any activity on the TXEN

Re: [U-Boot] RMII ethernet problems on i.MX6 Solo

2012-09-27 Thread Fabio Estevam
On Thu, Sep 27, 2012 at 3:27 PM, Carolyn Smith carolynsm...@gmail.com wrote: Hello, Has anyone had any success getting RMII ethernet to work on an i.MX6 Solo or DualLite? I am pretty confident I have the IOMUX registers set up properly and the clocking configured and working properly but am

Re: [U-Boot] [PATCH v2 11/19] tegra: Add LCD support to Nvidia boards

2012-09-27 Thread Simon Glass
Hi Stephen, On Mon, Jul 23, 2012 at 1:25 PM, Stephen Warren swar...@wwwdotorg.org wrote: On 07/10/2012 10:58 PM, Simon Glass wrote: Hi Stephen, On Fri, Jun 15, 2012 at 1:47 AM, Stephen Warren swar...@wwwdotorg.org mailto:swar...@wwwdotorg.org wrote: On 06/13/2012 10:19 AM, Simon Glass

Re: [U-Boot] [PATCH v3 12/18] lcd: Add CONFIG_LCD_ALIGNMENT to select frame buffer alignment

2012-09-27 Thread Simon Glass
Hi Mike, On Thu, Jul 19, 2012 at 6:59 AM, Mike Frysinger vap...@gentoo.org wrote: On Thursday 12 July 2012 11:25:12 Simon Glass wrote: --- a/common/lcd.c +++ b/common/lcd.c +#ifdef CONFIG_ARM +#include asm/system.h +#endif this header isn't ARM specific. also, i think most arches just

Re: [U-Boot] [PATCH v3 17/18] lcd: Add CONSOLE_SCROLL_LINES option to speed console

2012-09-27 Thread Simon Glass
Hi Mike, On Thu, Jul 19, 2012 at 7:04 AM, Mike Frysinger vap...@gentoo.org wrote: On Thursday 12 July 2012 11:25:17 Simon Glass wrote: --- a/README +++ b/README + CONSOLE_SCROLL_LINES + + When the console need to be scrolled, this is the number of +

Re: [U-Boot] [PATCH v3 06/18] tegra: fdt: Add LCD definitions for Tegra

2012-09-27 Thread Simon Glass
Hi Thierry, On Tue, Jul 31, 2012 at 2:51 AM, Thierry Reding thierry.red...@avionic-design.de wrote: On Tue, Jul 31, 2012 at 10:27:23AM +0100, Simon Glass wrote: +Thierry Hi, On Thu, Jul 12, 2012 at 4:25 PM, Simon Glass s...@chromium.org wrote: Add LCD definitions and also a proposed

Re: [U-Boot] [PATCH] usb: ehci: don't print debug output

2012-09-27 Thread Lucas Stach
Hi Marek, Am Donnerstag, den 30.08.2012, 17:47 +0200 schrieb Marek Vasut: Dear Lucas Stach, This is clearly some sort of debug output and should not be printed during normal operation. Signed-off-by: Lucas Stach d...@lynxeye.de I think we should apply this ... yet it's been in

Re: [U-Boot] Pull request: u-boot-net.git master

2012-09-27 Thread Tom Rini
On Thu, Sep 27, 2012 at 12:38:37PM -0500, Joe Hershberger wrote: The following changes since commit ee1f4caaa2a3f79d692155eec8a4c7289d60e106: Prepare v2012.10-rc1 (2012-09-21 17:18:28 -0700) are available in the git repository at: git://git.denx.de/u-boot-net.git master for you

[U-Boot] [PATCH v2 01/14] mx5/6: Define default SoC input clock frequencies

2012-09-27 Thread Benoît Thébaudeau
Define default SoC input clock frequencies for i.MX5/6 in order to get rid of duplicated definitions. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Stefano Babic sba...@denx.de Cc: Jason Liu r64...@freescale.com Cc: Matt Sealey m...@genesi-usa.com Cc: Fabio Estevam

[U-Boot] [PATCH v2 02/14] mx5 clocks: Cleanup

2012-09-27 Thread Benoît Thébaudeau
Clean up the i.MX5 clock driver: - Use readl() and writel() instead of their __raw_ counterparts. - Use the clr/setbits_le32() family of macros rather than expanding code. - Use accessor macros for bit-fields instead of _MASK and _OFFSET. Signed-off-by: Benoît Thébaudeau

[U-Boot] [PATCH v2 03/14] mx5: Use explicit clock gate names

2012-09-27 Thread Benoît Thébaudeau
Use clock gate definitions having names showing clearly the gated clock instead of names giving only a register field index. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Stefano Babic sba...@denx.de --- This change reveals (clock.c won't build) that the USB PHY clock

[U-Boot] [PATCH v2 04/14] mx5: Fix clock gate values

2012-09-27 Thread Benoît Thébaudeau
The clock gate values are 2-bit bit-fields. Hence, setting or clearing only one of these bits like what was done is wrong and can lead to unpredictable behavior depending on the original value of these bit-fields. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Stefano Babic

[U-Boot] [PATCH v2 05/14] mx51: Fix USB PHY clocks

2012-09-27 Thread Benoît Thébaudeau
The i.MX51 has a single USB PHY clock, while the i.MX53 has two. These 3 clocks have different clock gate control bit-fields. The existing code was correct only for i.MX53, so this patch fixes the i.MX51 use case. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Stefano Babic

[U-Boot] [PATCH v2 06/14] mx5 clocks: Add and use CCSR definitions

2012-09-27 Thread Benoît Thébaudeau
This fixes config_pll_clk(), which used 0x20 instead of 0x200 for PLL4_CLOCK. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Stefano Babic sba...@denx.de --- This patch supersedes http://patchwork.ozlabs.org/patch/177404/ . Changes for v2: - Consequences from the previous

[U-Boot] [PATCH v2 07/14] mx5 clocks: Fix get_lp_apm()

2012-09-27 Thread Benoît Thébaudeau
If CCM.CCSR.lp_apm is set, the lp_apm clock is not necessarily 32768 Hz x 1024. In that case: - on i.MX51, this clock comes from the output of the FPM, - on i.MX53, this clock comes from the output of PLL4. This patch fixes the code accordingly. Signed-off-by: Benoît Thébaudeau

[U-Boot] [PATCH v2 08/14] mx5 clocks: Fix get_periph_clk()

2012-09-27 Thread Benoît Thébaudeau
In the case periph_clk comes from periph_apm_clk, the latter is selected by the CCM.CBCMR.periph_apm_sel mux, which can source the lp_apm clock from its input ♯2. get_periph_clk() returned 0 instead of the lp_apm clock frequency in this case. Signed-off-by: Benoît Thébaudeau

[U-Boot] [PATCH v2 09/14] mx5 clocks: Fix get_ipg_per_clk()

2012-09-27 Thread Benoît Thébaudeau
This fixes the IPG PERCLK frequency printed by the clocks command. The issue was that get_ipg_per_clk() used periph_clk instead of lp_apm in the case CCM.CBCMR.perclk_lp_apm_sel is set. It also fixes I²C support. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Stefano Babic

[U-Boot] [PATCH v2 10/14] mx5 clocks: Fix get_uart_clk()

2012-09-27 Thread Benoît Thébaudeau
This function returned 6650 instead of the correct lp_apm clock frequency if the CCM.CSCMR1.uart_clk_sel mux is set to 3. This patch fixes this issue by introducing the get_standard_pll_sel_clk() function that will be used by future patches to handle identical muxes used by many other clocks.

[U-Boot] [PATCH v2 11/14] mx5 clocks: Simplify imx_get_cspiclk()

2012-09-27 Thread Benoît Thébaudeau
The code handling the dividers was duplicated for each possible input clock, and this function can benefit from the newly introduced get_standard_pll_sel_clk() function instead of duplicating this mux handling code. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Stefano Babic

[U-Boot] [PATCH v2 12/14] mx5 clocks: Fix MXC_FEC_CLK

2012-09-27 Thread Benoît Thébaudeau
The FEC clock does not come from PLL1, but from the IPG clock. The previous code was even inconsistent with itself, returning the IPG clock as expected for imx_get_fecclk(), but the PLL1 clock for mxc_get_clock(MXC_FEC_CLK). Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc:

[U-Boot] [PATCH v2 13/14] mx51: Fix I2C clock ID check

2012-09-27 Thread Benoît Thébaudeau
There are only 2 I²C instances on i.MX51, but 3 on i.MX53. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Stefano Babic sba...@denx.de --- Changes for v2: - New patch. .../arch/arm/cpu/armv7/mx5/clock.c |6 +- 1 file changed, 5 insertions(+), 1

[U-Boot] [PATCH v2] mx35: Fix eSDHC clocks

2012-09-27 Thread Benoît Thébaudeau
Each eSDHC instance has a dedicated clock. gd-sdhc_clk must also be set accordingly. This is good for the case only a single SDHC instance is used (initialization made with fsl_esdhc_mmc_init()). A future patch will fix the multi-instance use case (initialization made directly with

[U-Boot] [PATCH 1/7] mx25: Fix decode_pll

2012-09-27 Thread Benoît Thébaudeau
The MFN bit-field of the PLL registers represents a signed value. See the reference manual. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Stefano Babic sba...@denx.de --- .../arch/arm/cpu/arm926ejs/mx25/generic.c |9 ++--- 1 file changed, 6 insertions(+), 3

[U-Boot] [PATCH 2/7] mx25: Clean up clock calculations

2012-09-27 Thread Benoît Thébaudeau
Avoid possible overflow in clock calculations, and do not waste calls to lldiv() to divide simple ulongs. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Stefano Babic sba...@denx.de --- .../arch/arm/cpu/arm926ejs/mx25/generic.c |8 1 file changed, 4

[U-Boot] [PATCH 3/7] mx25: Define more standard clocks

2012-09-27 Thread Benoît Thébaudeau
Define AHB, IPG and CSPI clocks. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Stefano Babic sba...@denx.de --- .../arch/arm/cpu/arm926ejs/mx25/generic.c | 10 ++ .../arch/arm/include/asm/arch-mx25/clock.h |5 + 2 files changed, 15

[U-Boot] [PATCH 4/7] mx25 clocks: Fix MXC_FEC_CLK

2012-09-27 Thread Benoît Thébaudeau
mxc_get_clock(MXC_FEC_CLK) should return the IPG clock, not the AHB clock. Also, imx_get_fecclk() was correct but reimplemented the calculation of the IPG clock, so remove the duplicated code. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Stefano Babic sba...@denx.de ---

[U-Boot] [PATCH 5/7] mx25: Clean up clocks API

2012-09-27 Thread Benoît Thébaudeau
Use the standard mxc_get_clock() instead of exporting internal functions and using literal constant values. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Stefano Babic sba...@denx.de --- .../arch/arm/cpu/arm926ejs/mx25/generic.c |6 +++---

[U-Boot] [PATCH 6/7] mx25: Define cpu_eth_init() only if needed

2012-09-27 Thread Benoît Thébaudeau
The FEC is the only SoC Ethernet support available on i.MX25, so define cpu_eth_init() only for it instead of returning a misleading success code. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Stefano Babic sba...@denx.de --- .../arch/arm/cpu/arm926ejs/mx25/generic.c

[U-Boot] [PATCH 7/7] mx25: Fix eSDHC support

2012-09-27 Thread Benoît Thébaudeau
The MMC driver appropriate for the i.MX25 is fsl_esdhc, which has nothing to do with mxcmmc. Also, each eSDHC instance has a dedicated clock, so gd-sdhc_clk must be set accordingly. This is good for the case only a single SDHC instance is used (initialization made with fsl_esdhc_mmc_init()). A

[U-Boot] [PATCH] mxc: Fix SDHC multi-instance clock

2012-09-27 Thread Benoît Thébaudeau
On mxc, each SDHC instance has a dedicated clock, so gd-sdhc_clk is not suitable for the multi-instance use case (initialization made directly with fsl_esdhc_initialize()). This patch fixes this issue by adding a configuration field for the SDHC input clock frequency. Signed-off-by: Benoît

Re: [U-Boot] [PATCH v3 06/18] tegra: fdt: Add LCD definitions for Tegra

2012-09-27 Thread Simon Glass
Hi Stephen, On Thu, Sep 27, 2012 at 8:49 AM, Stephen Warren swar...@wwwdotorg.org wrote: On 09/27/2012 07:58 AM, Simon Glass wrote: Hi Stephen, On Tue, Jul 31, 2012 at 9:12 AM, Stephen Warren swar...@wwwdotorg.org wrote: On 07/31/2012 03:27 AM, Simon Glass wrote: On Thu, Jul 12, 2012 at

Re: [U-Boot] [PATCH v3 6/8] fdt: cmd_fdt: Call fdt_chosen() from fdt boardsetup

2012-09-27 Thread Kumar Gala
On Sep 26, 2012, at 9:20 AM, Stefan Roese wrote: Hi Kumar, On 09/26/2012 03:36 PM, Kumar Gala wrote: By calling fdt_chosen(), the chosen node will be updated / created by the fdt boardsetup command. This is useful for setting of the kernel commandline via the bootargs env variable.

Re: [U-Boot] [PATCH v3 6/8] fdt: cmd_fdt: Call fdt_chosen() from fdt boardsetup

2012-09-27 Thread McClintock Matthew-B29882
On Thu, Sep 27, 2012 at 3:28 PM, Kumar Gala ga...@kernel.crashing.org wrote: On Sep 26, 2012, at 9:20 AM, Stefan Roese wrote: Hi Kumar, On 09/26/2012 03:36 PM, Kumar Gala wrote: By calling fdt_chosen(), the chosen node will be updated / created by the fdt boardsetup command. This is useful

Re: [U-Boot] [PATCH v2 05/14] mx51: Fix USB PHY clocks

2012-09-27 Thread Marek Vasut
Dear Benoît Thébaudeau, The i.MX51 has a single USB PHY clock, while the i.MX53 has two. These 3 clocks have different clock gate control bit-fields. The existing code was correct only for i.MX53, so this patch fixes the i.MX51 use case. Signed-off-by: Benoît Thébaudeau

Re: [U-Boot] [PATCH 6/7] mx25: Define cpu_eth_init() only if needed

2012-09-27 Thread Fabio Estevam
Hi Benoît, On Thu, Sep 27, 2012 at 5:28 PM, Benoît Thébaudeau benoit.thebaud...@advansee.com wrote: The FEC is the only SoC Ethernet support available on i.MX25, so define cpu_eth_init() only for it instead of returning a misleading success code. Yes, but someone may want to use mx25 with a

Re: [U-Boot] [PATCH 1/2] Tegra20: Move some code files to common directories for upcoming Tegra30 patches.

2012-09-27 Thread Simon Glass
Hi Tom, On Fri, Sep 21, 2012 at 1:42 PM, Tom Warren twarren.nvi...@gmail.com wrote: Move files that are going to be common between T20 and T30 into 'tegra-common' subdirs in AVP (arm720t), CPU (armv7), and shared (arch/arm/cpu/.) areas. Any files that are left behind in '/tegra20' will be

Re: [U-Boot] [PATCH 2/2] Tegra20: Move some include files to arch-tegra for sharing with Tegra30

2012-09-27 Thread Simon Glass
On Fri, Sep 21, 2012 at 1:42 PM, Tom Warren twarren.nvi...@gmail.com wrote: The move is pretty straight-forward. ap20.h and tegra20.h were renamed to ap.h and tegra.h. Some files remain in arch-tegra20 but 'include' a file in 'arch-tegra' with #defines structs that will be common between

Re: [U-Boot] [PATCH v2 01/19] Add gpio_request() to asm-generic header

2012-09-27 Thread Simon Glass
Hi Anatolij, On Fri, Sep 21, 2012 at 12:30 PM, Anatolij Gustschin ag...@denx.de wrote: Hi Simon, On Wed, 13 Jun 2012 09:19:37 -0700 Simon Glass s...@chromium.org wrote: This function should also be part of the GPIO API, so add it. Signed-off-by: Simon Glass s...@chromium.org ---

Re: [U-Boot] RMII ethernet problems on i.MX6 Solo

2012-09-27 Thread Carolyn Smith
On Thu, Sep 27, 2012 at 12:00 PM, Fabio Estevam feste...@gmail.com wrote: On Thu, Sep 27, 2012 at 3:27 PM, Carolyn Smith carolynsm...@gmail.com wrote: Hello, Has anyone had any success getting RMII ethernet to work on an i.MX6 Solo or DualLite? I am pretty confident I have the IOMUX

Re: [U-Boot] [PATCH 6/7] mx25: Define cpu_eth_init() only if needed

2012-09-27 Thread Benoît Thébaudeau
Hi Fabio, On Thursday, September 27, 2012 10:55:22 PM, Fabio Estevam wrote: Hi Benoît, On Thu, Sep 27, 2012 at 5:28 PM, Benoît Thébaudeau benoit.thebaud...@advansee.com wrote: The FEC is the only SoC Ethernet support available on i.MX25, so define cpu_eth_init() only for it instead of

[U-Boot] [PATCH] nand: add ID for Micron MT29F8G08A

2012-09-27 Thread Lucas Stach
As found on the Colibri T20 engineering sample board. Signed-off-by: Lucas Stach d...@lynxeye.de --- drivers/mtd/nand/nand_ids.c | 1 + 1 Datei geändert, 1 Zeile hinzugefügt(+) diff --git a/drivers/mtd/nand/nand_ids.c b/drivers/mtd/nand/nand_ids.c index 3953549..ae300fe 100644 ---

[U-Boot] [PATCH 2/2] tegra: nand: add board pinmux

2012-09-27 Thread Lucas Stach
Boards may require a different pinmux setup for NAND than the default one. Add a way to call into board specific code to set this up. Signed-off-by: Lucas Stach d...@lynxeye.de --- arch/arm/include/asm/arch-tegra/board.h | 1 + drivers/mtd/nand/tegra_nand.c | 11 ++- 2 Dateien

[U-Boot] [PATCH 1/2] tegra: clean up board include hell

2012-09-27 Thread Lucas Stach
The prototypes used in board files were all scattered out, which lead to code duplication between SPL and normal U-Boot and some prototypes not actually being used. Consolidate this in a common board header. This will allow to push down the calling of the pinmux functions into the respective

[U-Boot] [PATCH] tegra: add Colibri T20 board support

2012-09-27 Thread Lucas Stach
This adds board support for the Toradex Colibri T20 module. Working functions: - MMC boot - USB boot - Network - NAND environment Signed-off-by: Lucas Stach d...@lynxeye.de CC: Stephen Warren swar...@wwwdotorg.org CC: Tom Warren twarren.nvi...@gmail.com --- MAINTAINERS

Re: [U-Boot] [PATCH] nand: add ID for Micron MT29F8G08A

2012-09-27 Thread Scott Wood
On 09/27/2012 04:49:31 PM, Lucas Stach wrote: As found on the Colibri T20 engineering sample board. Signed-off-by: Lucas Stach d...@lynxeye.de --- drivers/mtd/nand/nand_ids.c | 1 + 1 Datei geändert, 1 Zeile hinzugefügt(+) diff --git a/drivers/mtd/nand/nand_ids.c b/drivers/mtd/nand/nand_ids.c

Re: [U-Boot] [PATCH] nand: add ID for Micron MT29F8G08A

2012-09-27 Thread Lucas Stach
Am Donnerstag, den 27.09.2012, 16:53 -0500 schrieb Scott Wood: On 09/27/2012 04:49:31 PM, Lucas Stach wrote: As found on the Colibri T20 engineering sample board. Signed-off-by: Lucas Stach d...@lynxeye.de --- drivers/mtd/nand/nand_ids.c | 1 + 1 Datei geändert, 1 Zeile

Re: [U-Boot] [PATCH] nand: add ID for Micron MT29F8G08A

2012-09-27 Thread Scott Wood
On 09/27/2012 05:08:03 PM, Lucas Stach wrote: Am Donnerstag, den 27.09.2012, 16:53 -0500 schrieb Scott Wood: On 09/27/2012 04:49:31 PM, Lucas Stach wrote: As found on the Colibri T20 engineering sample board. Signed-off-by: Lucas Stach d...@lynxeye.de --- drivers/mtd/nand/nand_ids.c

Re: [U-Boot] [PATCH] nand: add ID for Micron MT29F8G08A

2012-09-27 Thread Lucas Stach
Am Donnerstag, den 27.09.2012, 17:13 -0500 schrieb Scott Wood: On 09/27/2012 05:08:03 PM, Lucas Stach wrote: Am Donnerstag, den 27.09.2012, 16:53 -0500 schrieb Scott Wood: On 09/27/2012 04:49:31 PM, Lucas Stach wrote: As found on the Colibri T20 engineering sample board.

[U-Boot] [PATCH v3] usb: ehci: don't print debug output

2012-09-27 Thread Lucas Stach
This is clearly some sort of debug output and should not be printed during normal operation. Signed-off-by: Lucas Stach d...@lynxeye.de --- v2,v3: rebased on top of u-boot-usb/master --- drivers/usb/host/ehci-hcd.c | 2 +- 1 Datei geändert, 1 Zeile hinzugefügt(+), 1 Zeile entfernt(-) diff --git

Re: [U-Boot] [PATCH] nand: add ID for Micron MT29F8G08A

2012-09-27 Thread Scott Wood
On 09/27/2012 05:19:23 PM, Lucas Stach wrote: Am Donnerstag, den 27.09.2012, 17:13 -0500 schrieb Scott Wood: On 09/27/2012 05:08:03 PM, Lucas Stach wrote: Am Donnerstag, den 27.09.2012, 16:53 -0500 schrieb Scott Wood: On 09/27/2012 04:49:31 PM, Lucas Stach wrote: As found on the

Re: [U-Boot] [PATCH 1/2] tegra: clean up board include hell

2012-09-27 Thread Stephen Warren
On 09/27/2012 03:52 PM, Lucas Stach wrote: The prototypes used in board files were all scattered out, which lead to code duplication between SPL and normal U-Boot and some prototypes not actually being used. Consolidate this in a common board header. This will allow to push down the calling

Re: [U-Boot] [PATCH 2/2] tegra: nand: add board pinmux

2012-09-27 Thread Stephen Warren
On 09/27/2012 03:52 PM, Lucas Stach wrote: Boards may require a different pinmux setup for NAND than the default one. Add a way to call into board specific code to set this up. diff --git a/drivers/mtd/nand/tegra_nand.c b/drivers/mtd/nand/tegra_nand.c void board_nand_init(void) {

[U-Boot] [RFC PATCH v2 0/5] Add environment call-back capability

2012-09-27 Thread Joe Hershberger
When a variable with a registered callback is inserted, deleted, or overwritten the callback is called and gives the system an opportunity to do something in response to the change. It also has the opportunuty to reject the change by returning non-zero. Before I go much further, I want to get a

[U-Boot] [RFC PATCH v2 3/5] env: Add a bootfile env handler

2012-09-27 Thread Joe Hershberger
Remove the hard-coded bootfile handler and use a callback instead Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- common/cmd_nvedit.c| 13 - include/env_callback.h | 2 +- net/net.c | 16 3 files changed, 17 insertions(+), 14 deletions(-)

  1   2   >