Re: [U-Boot] redundant code in common/cmd_i2c.

2009-11-12 Thread Heiko Schocher
Hello PratapChandu, PratapChandu wrote: The following code fragment in the file common/cmd_i2c.c seems to be redundant. Is not good to delete ? Line 330 - 336 is like below #if 0 for (timeout = 0; timeout 10; timeout++) { udelay(2000); if

Re: [U-Boot] [PATCH 2/5] smc911x: use dev-name in printfs

2009-11-12 Thread Mike Rapoport
Hi Mike, On Thu, Nov 12, 2009 at 12:50 AM, Mike Frysinger vap...@gentoo.org wrote: here's my [compile] tested change as the board i have with this part isnt readily accessible atm ... -mike I've tested your changes, MAC register dumps works Ok. I needed to make some changes to make it work,

[U-Boot] [PATCH v2] OMAP3: pandora: fix booting without serial attached

2009-11-12 Thread Grazvydas Ignotas
When the board is booted without serial cable attached (which is how most of them will be used) UART RX is left floating and sometimes picks noise, which interrupts countdown and enters U-Boot prompt instead of booting the kernel. Fix this by setting up internal pullup on UART RX pin. This does

[U-Boot] [PATCH V4] Davinci: add a pin multiplexer configuration API

2009-11-12 Thread Nick Thompson
Davinci: add a pin multiplexer configuration API. Creates a method allowing pin settings to be logically grouped into data structure arrays and provides an API to configure the pinmux settings to enable the relevant pin functions. Signed-off-by: Nick Thompson nick.thomp...@gefanuc.com ---

Re: [U-Boot] [PATCH V5 0/4] add TI DA8xx support:

2009-11-12 Thread Nick Thompson
On 12/11/09 02:58, Tom wrote: Nick Thompson wrote: Add initial support for DA8xx SoC's and the spectrum digital DA830 EVM board. This patch set depends on [PATCH V3] Davinci: add a pin multiplexer configuration API posted on 2009-11-04 Yes it is dependent. There is a compile error

Re: [U-Boot] [PATCH v2] OMAP3: add CM-T35 board

2009-11-12 Thread Mike Rapoport
Dear Wolfgang, Wolfgang Denk wrote: Dear Mike Rapoport, In message 1257955131-16729-1-git-send-email-m...@compulab.co.il you wrote: Add CM-T35 board support -- v2 changes: - rename board config file from omap3_cm-t35.h to cm-t35.h - remove SZ_xx references - add MAKEALL/MAINTEINERS

[U-Boot] [PATCH] smc911x: make smc911x_initialize return correct value (Was: Re: [PATCH 1/5] smc911x: return -1 when initialization fails)

2009-11-12 Thread Mike Rapoport
Mike Frysinger wrote: On Wednesday 11 November 2009 03:03:00 Mike Rapoport wrote: --- a/drivers/net/smc911x.c +++ b/drivers/net/smc911x.c @@ -243,7 +243,7 @@ dev = malloc(sizeof(*dev)); if (!dev) { free(dev); -return 0; +return -1; }

Re: [U-Boot] [PATCH v2] OMAP3: pandora: fix booting without serial attached

2009-11-12 Thread Tom
Grazvydas Ignotas wrote: When the board is booted without serial cable attached (which is how most of them will be used) UART RX is left floating and sometimes picks noise, which interrupts countdown and enters U-Boot prompt instead of booting the kernel. Fix this by setting up internal

Re: [U-Boot] [PATCH V4] Davinci: add a pin multiplexer configuration API

2009-11-12 Thread Tom
Nick Thompson wrote: Davinci: add a pin multiplexer configuration API. Creates a method allowing pin settings to be logically grouped into data structure arrays and provides an API to configure the pinmux settings to enable the relevant pin functions. Signed-off-by: Nick Thompson

[U-Boot] [PATCH] Removes dead code in the file common/cmd_i2c.c

2009-11-12 Thread Pratap Chandu
There is some dead code enclosed by #if 0 #endif in the file common/cmd_i2c.c This patch removes the dead code. Signed-off-by: Pratap Chandu pratap.r...@gmail.com --- common/cmd_i2c.c |8 1 files changed, 0 insertions(+), 8 deletions(-) diff --git a/common/cmd_i2c.c

Re: [U-Boot] [PATCH] ppc/85xx: Add PIB/ATM support for MPC8569mds

2009-11-12 Thread Kumar Gala
On Nov 6, 2009, at 2:27 AM, Liu Yu wrote: Signed-off-by: Liu Yu yu@freescale.com --- board/freescale/common/pq-mds-pib.c |2 +- board/freescale/mpc8569mds/mpc8569mds.c |7 +++ include/configs/MPC8569MDS.h|3 +++ 3 files changed, 11 insertions(+), 1

Re: [U-Boot] [PATCH v1] fsl-ddr: Fix the chip-select interleaving issue

2009-11-12 Thread Kumar Gala
On Nov 11, 2009, at 5:26 PM, Dave Liu wrote: commit 1542fbdeec0d1e2a6df13189df8dcb1ce8802be3 introduced one new bug to chip-select interleaving. Single DDR controller also can do the chip-select interleaving if there is dual-rank or qual-rank DIMMs. Signed-off-by: Dave Liu

[U-Boot] Pull request - mpc85xx (for v2009.11)

2009-11-12 Thread Kumar Gala
The following changes since commit 4f127980e0d4ba179b4628ebf8e8642210731055: Wolfgang Denk (1): Merge branch 'master' of git://git.denx.de/u-boot-net are available in the git repository at: git://git.denx.de/u-boot-mpc85xx master Dave Liu (1): fsl-ddr: Fix the chip-select

Re: [U-Boot] redundant code in common/cmd_i2c.

2009-11-12 Thread Detlev Zundel
Hi Heiko, Hello PratapChandu, PratapChandu wrote: The following code fragment in the file common/cmd_i2c.c seems to be redundant. Is not good to delete ? Line 330 - 336 is like below #if 0 for (timeout = 0; timeout 10; timeout++) { udelay(2000);

Re: [U-Boot] [PATCH 1/2] ARM Conditionally compile board LED functions

2009-11-12 Thread Alessandro Rubini
I withdraw this patch. I will rethink this and come up with something better. I agree weak is better than ifdef. But the led situation on ARM isn't really pleasant when you look in lib_arm/board.c . When I proposed a simplification of board.c back on Jul 22 ([RFC] arm/board.c: avoid ifdef

Re: [U-Boot] [PATCH V5 0/4] add TI DA8xx support:

2009-11-12 Thread Paulraj, Sandeep
-Original Message- From: Tom [mailto:tom@windriver.com] Sent: Thursday, November 12, 2009 8:42 AM To: Nick Thompson; Paulraj, Sandeep Cc: u-boot@lists.denx.de Subject: Re: [U-Boot] [PATCH V5 0/4] add TI DA8xx support: Nick Thompson wrote: On 12/11/09 02:58, Tom wrote:

[U-Boot] [PATCH 1/3] DA830: Add pinmux for USB0_DRVVBUS

2009-11-12 Thread Ajay Kumar Gupta
USB0_DRVVBUS pinmux configuration is required for USB functinality in uboot. Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com Signed-off-by: Swaminathan S swami.i...@ti.com --- This patch set is created against Nick Thompson's latest patch set (v5) on DA8xx support and another patch from him on

[U-Boot] [PATCH 2/3] DA8xx: Add MUSB host support

2009-11-12 Thread Ajay Kumar Gupta
Tested USB host functionality on DA830 EVM. Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com Signed-off-by: Swaminathan S swami.i...@ti.com --- drivers/usb/musb/Makefile |1 + drivers/usb/musb/da8xx.c | 143 + drivers/usb/musb/da8xx.h | 83

Re: [U-Boot] [PATCH 1/3] DA830: Add pinmux for USB0_DRVVBUS

2009-11-12 Thread Tom
Ajay Kumar Gupta wrote: USB0_DRVVBUS pinmux configuration is required for USB functinality in uboot. Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com Signed-off-by: Swaminathan S swami.i...@ti.com --- This patch set is created against Nick Thompson's latest patch set (v5) on DA8xx

Re: [U-Boot] [PATCH 1/3] DA830: Add pinmux for USB0_DRVVBUS

2009-11-12 Thread Paulraj, Sandeep
Ajay Kumar Gupta wrote: USB0_DRVVBUS pinmux configuration is required for USB functinality in uboot. Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com Signed-off-by: Swaminathan S swami.i...@ti.com --- This patch set is created against Nick Thompson's latest patch set (v5) on

Re: [U-Boot] [PATCH 1/2] ARM Conditionally compile board LED functions

2009-11-12 Thread Tom
Alessandro Rubini wrote: I withdraw this patch. I will rethink this and come up with something better. I agree weak is better than ifdef. But the led situation on ARM isn't really pleasant when you look in lib_arm/board.c . When I proposed a simplification of board.c back on Jul 22 ([RFC]

Re: [U-Boot] [PATCH 1/3] DA830: Add pinmux for USB0_DRVVBUS

2009-11-12 Thread Tom
Paulraj, Sandeep wrote: Ajay Kumar Gupta wrote: USB0_DRVVBUS pinmux configuration is required for USB functinality in uboot. Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com Signed-off-by: Swaminathan S swami.i...@ti.com --- This patch set is created against Nick Thompson's latest patch

Re: [U-Boot] [PATCH 2/3] DA8xx: Add MUSB host support

2009-11-12 Thread Nick Thompson
On 12/11/09 15:39, Ajay Kumar Gupta wrote: Tested USB host functionality on DA830 EVM. Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com Signed-off-by: Swaminathan S swami.i...@ti.com --- drivers/usb/musb/Makefile |1 + drivers/usb/musb/da8xx.c | 143

Re: [U-Boot] [PATCH V5 1/4] add TI DA8xx support: DA8xx includes

2009-11-12 Thread Paulraj, Sandeep
Provides initial support for TI OMAP-L1x/DA8xx SoC devices. See http://www.ti.com The DA8xx devices are similar to DaVinci devices but have a differing memory map and updated peripheral versions. Signed-off-by: Nick Thompson nick.thomp...@gefanuc.com Signed-off-by: Sekhar Nori

Re: [U-Boot] [PATCH 2/3] DA8xx: Add MUSB host support

2009-11-12 Thread Paulraj, Sandeep
On 12/11/09 15:39, Ajay Kumar Gupta wrote: Tested USB host functionality on DA830 EVM. Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com Signed-off-by: Swaminathan S swami.i...@ti.com --- drivers/usb/musb/Makefile |1 + drivers/usb/musb/da8xx.c | 143

Re: [U-Boot] [PATCH V5 3/4] add TI DA8xx support: Add new directory for da830evm board

2009-11-12 Thread Paulraj, Sandeep
From: Sekhar Nori nsek...@ti.com Add new directory for da830evm board Provides initial support for TI OMAP-L137/DA830 SoC devices on a Spectrum Digital EVM board. See http://www.spectrumdigital.com/ Provides: Initial boot and configuration. Support for i2c. UART support (console).

Re: [U-Boot] [PATCH 2/2] OMAP3:SDRC: introduce DDR types

2009-11-12 Thread Paulraj, Sandeep
Introduce Micron DDR timings and provide CONFIG_OMAP3_INFINEON_DDR and CONFIG_OMAP3_MICRON_DDR config options to allow for platform files to setup their timings as per the type of DDR selected Reported-by: Steve Sakoman in

Re: [U-Boot] [PATCH v3] davinci timer.c: Remove volatiles and memory mapped structures

2009-11-12 Thread Paulraj, Sandeep
Remove volatiles and memory mapped structure accesses and replace with readl and writel macro usage. Signed-off-by: Nick Thompson nick.thomp...@gefanuc.com --- This patch was originally part of the da830 support patch, but this effort is now being integrated into davinci. As a result,

Re: [U-Boot] [PATCH V5 4/4] add TI DA8xx support: Integrate DA830 EVM support into U-Boot

2009-11-12 Thread Paulraj, Sandeep
From: Sekhar Nori nsek...@ti.com Integrate DA830 EVM support into U-Boot. Provides initial support for TI OMAP-L137/DA830 SoC devices on a Spectrum Digital EVM board. See http://www.spectrumdigital.com/ Signed-off-by: Nick Thompson nick.thomp...@gefanuc.com --- Applies to

Re: [U-Boot] [PATCH 1/3] DA830: Add pinmux for USB0_DRVVBUS

2009-11-12 Thread Paulraj, Sandeep
Paulraj, Sandeep wrote: Ajay Kumar Gupta wrote: USB0_DRVVBUS pinmux configuration is required for USB functinality in uboot. Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com Signed-off-by: Swaminathan S swami.i...@ti.com --- This patch set is created against Nick Thompson's

Re: [U-Boot] [PATCH V5 2/4] add TI DA8xx support: Add DA8xx cpu functions

2009-11-12 Thread Paulraj, Sandeep
-Original Message- From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Nick Thompson Sent: Tuesday, November 10, 2009 10:10 AM To: u-boot@lists.denx.de Subject: [U-Boot] [PATCH V5 2/4] add TI DA8xx support: Add DA8xx cpu functions From: Sekhar

Re: [U-Boot] [PATCH 3/3] DA830: Add usb config

2009-11-12 Thread Nick Thompson
On 12/11/09 15:39, Ajay Kumar Gupta wrote: Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com Signed-off-by: Swaminathan S swami.i...@ti.com --- include/configs/da830evm.h | 35 +++ 1 files changed, 35 insertions(+), 0 deletions(-) diff --git

Re: [U-Boot] [PATCH 2/2] OMAP3:SDRC: introduce DDR types

2009-11-12 Thread Tom
Paulraj, Sandeep wrote: Introduce Micron DDR timings and provide CONFIG_OMAP3_INFINEON_DDR and CONFIG_OMAP3_MICRON_DDR config options to allow for platform files to setup their timings as per the type of DDR selected Reported-by: Steve Sakoman in

Re: [U-Boot] [PATCH 2/2] OMAP3:SDRC: introduce DDR types

2009-11-12 Thread Menon, Nishanth
From: Tom [mailto:tom@windriver.com] Sent: Thursday, November 12, 2009 11:30 AM Paulraj, Sandeep wrote: Introduce Micron DDR timings and provide CONFIG_OMAP3_INFINEON_DDR and CONFIG_OMAP3_MICRON_DDR config options to allow for platform files to setup their timings as per the type

[U-Boot] [PATCH v2 3/3] MX31: Activate NAND support for i.MX31 Litekit board.

2009-11-12 Thread Magnus Lilja
Signed-off-by: Magnus Lilja lilja.mag...@gmail.com --- include/configs/imx31_litekit.h | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/include/configs/imx31_litekit.h b/include/configs/imx31_litekit.h index 6131008..f413994 100644 ---

[U-Boot] [PATCH v2 0/3] MXC: Add NAND support for i.MX31

2009-11-12 Thread Magnus Lilja
Hi all, This series adds NAND support for i.MX31 using the mxc_nand driver that was added for i.MX27. The same NAND flash controller is used in i.MX31. Tested on i.MX31 Litekit. MAKEALL ARM11ARM9 performed. Changes since v1: Changed variable name in mxc_nand.c. Regards, Magnus Magnus Lilja

[U-Boot] [PATCH v2 2/3] mxc_nand: Update driver to work with i.MX31.

2009-11-12 Thread Magnus Lilja
Tested on i.MX31 Litekit. Signed-off-by: Magnus Lilja lilja.mag...@gmail.com Acked-by: Scott Wood scottw...@freescale.com --- Change since v1: Renamed sc_regs variable for i.MX31 to cc_regs. drivers/mtd/nand/mxc_nand.c | 34 +++--- 1 files changed, 31

[U-Boot] [PATCH v2 1/3] MX31: Add struct definition for clock control module in i.MX31.

2009-11-12 Thread Magnus Lilja
Signed-off-by: Magnus Lilja lilja.mag...@gmail.com --- include/asm-arm/arch-mx31/mx31-regs.h | 39 + 1 files changed, 39 insertions(+), 0 deletions(-) diff --git a/include/asm-arm/arch-mx31/mx31-regs.h b/include/asm-arm/arch-mx31/mx31-regs.h index

[U-Boot] Loam Program

2009-11-12 Thread ©Nationwide Loan
Dear Customer, NationWide Loans to help you change the way you live. Arranging a loan with us is simple and straightforward,loans from £10,000 to £5,000,000 over 5 to 35 years we make the process convenient and fast. Please if interested in getting a loan from our bank do get back to us as soon

[U-Boot] Loam Program

2009-11-12 Thread ©Nationwide Loan
Dear Customer, NationWide Loans to help you change the way you live. Arranging a loan with us is simple and straightforward,loans from £10,000 to £5,000,000 over 5 to 35 years we make the process convenient and fast. Please if interested in getting a loan from our bank do get back to us as soon

Re: [U-Boot] [PATCH 2/5] smc911x: use dev-name in printfs

2009-11-12 Thread Mike Frysinger
On Thursday 12 November 2009 04:13:48 Mike Rapoport wrote: On Thu, Nov 12, 2009 at 12:50 AM, Mike Frysinger wrote: here's my [compile] tested change as the board i have with this part isnt readily accessible atm ... I've tested your changes, MAC register dumps works Ok. I needed to make

[U-Boot] [PATCH] smc911x_eeprom: fix building after smc911x overhaul

2009-11-12 Thread Mike Frysinger
When the smc911x driver was converted to NET_MULTI, the smc911x eeprom was missed. The config option needed updating as well as overhauling of the rergister read/write functions. Signed-off-by: Mike Frysinger vap...@gentoo.org Tested-by: Mike Rapoport mike.rapop...@gmail.com ---

Re: [U-Boot] [PATCH 3/3] DA830: Add usb config

2009-11-12 Thread Gupta, Ajay Kumar
-Original Message- From: Nick Thompson [mailto:nick.thomp...@gefanuc.com] Sent: Thursday, November 12, 2009 10:25 PM To: Gupta, Ajay Kumar Cc: u-boot@lists.denx.de; Subbrathnam, Swaminathan Subject: Re: [PATCH 3/3] DA830: Add usb config On 12/11/09 15:39, Ajay Kumar Gupta wrote:

[U-Boot] [PATCH v2] smc911x_eeprom: fix building after smc911x overhaul

2009-11-12 Thread Mike Frysinger
When the smc911x driver was converted to NET_MULTI, the smc911x eeprom was missed. The config option needed updating as well as overhauling of the rergister read/write functions. Signed-off-by: Mike Frysinger vap...@gentoo.org Tested-by: Mike Rapoport mike.rapop...@gmail.com --- v2 - fix

Re: [U-Boot] [PATCH] smc911x: make smc911x_initialize return correct value (Was: Re: [PATCH 1/5] smc911x: return -1 when initialization fails)

2009-11-12 Thread Mike Frysinger
On Thursday 12 November 2009 08:35:08 Mike Rapoport wrote: Mike Frysinger wrote: On Wednesday 11 November 2009 03:03:00 Mike Rapoport wrote: --- a/drivers/net/smc911x.c +++ b/drivers/net/smc911x.c @@ -243,7 +243,7 @@ dev = malloc(sizeof(*dev)); if (!dev) {

Re: [U-Boot] [PATCH 1/3] DA830: Add pinmux for USB0_DRVVBUS

2009-11-12 Thread Gupta, Ajay Kumar
-Original Message- From: Paulraj, Sandeep Sent: Thursday, November 12, 2009 10:00 PM To: Tom; Nick Thompson Cc: Gupta, Ajay Kumar; u-boot@lists.denx.de; Subbrathnam, Swaminathan Subject: RE: [U-Boot] [PATCH 1/3] DA830: Add pinmux for USB0_DRVVBUS Paulraj, Sandeep wrote:

[U-Boot] Pull request - net [for 2009.11]

2009-11-12 Thread Ben Warren
Wolfgang, The following changes since commit 4f127980e0d4ba179b4628ebf8e8642210731055: Wolfgang Denk (1): Merge branch 'master' of git://git.denx.de/u-boot-net are available in the git repository at: git://git.denx.de/u-boot-net.git master Mike Frysinger (1): smc911x_eeprom:

[U-Boot] [PATCH 1/4 v2] DA830: Add pinmux for USB0_DRVVBUS

2009-11-12 Thread Ajay Kumar Gupta
USB0_DRVVBUS pinmux configuration is required for USB functinality in uboot. Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com Signed-off-by: Swaminathan S swami.i...@ti.com --- Created and tested against latest uboot-ti/master branch. Changes from v1: - Added GPIO definitions -

[U-Boot] [PATCH 2/4 v2] DA8xx: Add GPIO register definitions

2009-11-12 Thread Ajay Kumar Gupta
Added DA8xx GPIO base addresses in gpio_defs.h and pointers to different BANKs which can be used to program GPIOs. Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com Signed-off-by: Swaminathan S swami.i...@ti.com --- include/asm-arm/arch-davinci/gpio_defs.h | 14 ++ 1 files changed,

[U-Boot] [PATCH 4/4 v2] DA830: Add usb config

2009-11-12 Thread Ajay Kumar Gupta
Adding USB configuration. Default is set for USB MSC host. Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com Signed-off-by: Swaminathan S swami.i...@ti.com --- include/configs/da830evm.h | 38 +- 1 files changed, 33 insertions(+), 5 deletions(-) diff --git

[U-Boot] [PATCH 3/4 v2] DA8xx: Add MUSB host support

2009-11-12 Thread Ajay Kumar Gupta
Tested USB host functionality on DA830 EVM. Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com Signed-off-by: Swaminathan S swami.i...@ti.com --- drivers/usb/musb/Makefile |1 + drivers/usb/musb/da8xx.c | 138 + drivers/usb/musb/da8xx.h | 79

Re: [U-Boot] [PATCH] S3C6400/SMDK6400: fix stack_setup in start.S

2009-11-12 Thread Minkyu Kang
Dear Seunghyeon Rhee, 2009/11/10 Minkyu Kang proms...@gmail.com: Dear Seunghyeon Rhee, 2009/11/2 Seunghyeon Rhee (이승현) seunghy...@lpmtec.com: Dear Minkyu Kang, 2009/11/2 Minkyu Kang proms...@gmail.com: Dear Seunghyeon Rhee 2009/10/31 Seunghyeon Rhee (이승현) seunghy...@lpmtec.com:

Re: [U-Boot] s5pc1xx: serial: fix the error check logic

2009-11-12 Thread Minkyu Kang
2009/11/10 Minkyu Kang mk7.k...@samsung.com: Because of Frame error, Parity error and Overrun error are occured only receive operation, need to masking when error checking. Signed-off-by: Minkyu Kang mk7.k...@samsung.com ---  drivers/serial/serial_s5pc1xx.c |   24 +---

Re: [U-Boot] [PATCH ARM] Add a unified s3c24x0 header file

2009-11-12 Thread Minkyu Kang
Dear Kevin Morfitt 2009/11/10 kevin.morf...@fearnside-systems.co.uk kevin.morf...@fearnside-systems.co.uk: This patch adds a unified s3c24x0 cpu header file that selects the header file for the specific s3c24x0 cpu from the SOC and CPU configs defined in board config file. This removes the

Re: [U-Boot] [PATCH] S3C6400/SMDK6400: fix stack_setup in start.S

2009-11-12 Thread 이승현
Fix stack_setup to place the stack on the correct address in DRAM accroding to U-Boot standard and remove conditional compilation by CONFIG_MEMORY_UPPER_CODE macro that is not necessry. This macro was introduced and used only by this board for some unclear reason. The definition of this macro is