Re: [U-Boot] 83xx, uec: adjust enet_interface settings on the fly.

2010-01-07 Thread Liu Dave-R63238
> > I don't remember why I added the eth_type==GIGA_ETH condition. > > If it is possible, please refactor it as Kim. > > Hmm.. while looking at this code, a question comes in mind: > Did this code (eth_type==GIGA_ETH) work correctly? Yes, It worked correctly. But later there are lots of change, I

[U-Boot] [PATCH] getline: split out for darwin systems

2010-01-07 Thread Mike Frysinger
At least on OS X 10.5 and older, getline does not exist. So split out the function from the mingw code so that we can pull it in for Darwin systems. Signed-off-by: Mike Frysinger --- tools/getline.c | 101 + tools/getline.h |1 +

Re: [U-Boot] 83xx, uec: adjust enet_interface settings on the fly.

2010-01-07 Thread Heiko Schocher
Hello Liu, Liu Dave-R63238 wrote: >> did you make any effort to refactor this into the existing >> eth_type == GIGA_ETH code? I'm not sure why that code became >> conditional in commit >> 24c3aca3f1358b113d3215adb5433b156e99f72b "mpc83xx: Add >> support for the MPC832XEMDS board" in the first

Re: [U-Boot] [PATCH v2 0/9] Added support for SPEAr SoCs

2010-01-07 Thread Vipin KUMAR
Hello Peter, > > This patch set is a reworked patch which incorporates all review > feedbacks from > > earlier earlier mails > > > > This patch set contains the support for 4 SoCs > > SPEAr600 > > SPEAr300 > > SPEAr310 > > SPEAr320 > > > > SPEAr is an ARM based SoC which supports rich set of peri

Re: [U-Boot] 83xx, uec: adjust enet_interface settings on the fly.

2010-01-07 Thread Liu Dave-R63238
> did you make any effort to refactor this into the existing > eth_type == GIGA_ETH code? I'm not sure why that code became > conditional in commit > 24c3aca3f1358b113d3215adb5433b156e99f72b "mpc83xx: Add > support for the MPC832XEMDS board" in the first place - Dave? I don't remember why I a

[U-Boot] [GIT PULL] please pull u-boot-mpc83xx

2010-01-07 Thread Kim Phillips
Wolfgang Denk, Please pull support for 8315rdb nand boot, the esd VME-CADDY/2, and some other fixes: The following changes since commit 6ca9da4d42aeb43df5ef29f7d0518009df583b2f: Wolfgang Denk (1): Merge branch 'master' of git://git.denx.de/u-boot-ppc4xx are available in the git reposit

Re: [U-Boot] 83xx, uec: adjust enet_interface settings on the fly.

2010-01-07 Thread Kim Phillips
On Thu, 7 Jan 2010 09:01:32 +0100 Heiko Schocher wrote: > static void adjust_link(struct eth_device *dev) > { > uec_private_t *uec = (uec_private_t *)dev->priv; > @@ -547,6 +617,8 @@ static void adjust_link(struct eth_device *dev) >

Re: [U-Boot] 83xx: add support configure bus parking

2010-01-07 Thread Kim Phillips
On Thu, 7 Jan 2010 08:56:00 +0100 Heiko Schocher wrote: > Add support to configure bus parking mode and master in bus arbitration > configuration (ACR). Add this for the kmeter1 port: > > Configure bus arbiter with recommended values from Freescale > to improve bus latency/throughput for applica

Re: [U-Boot] [PATCH] mpc83xx: vme8349: Fix power up reset sequence for tsi148

2010-01-07 Thread Kim Phillips
On Tue, 8 Dec 2009 09:21:41 +0100 Stefan Roese wrote: > From: Reinhard Arlt > > Remove PCI reset, if there is a monarch PMC module. > > Signed-off-by: Reinhard Arlt > Signed-off-by: Stefan Roese > --- applied, with the below fixes merged into the same commit. Thanks, Kim >From 798912251c

Re: [U-Boot] [PATCH] mpc83xx: Add support for MPC8349 esd caddy2

2010-01-07 Thread Kim Phillips
On Tue, 8 Dec 2009 09:13:08 +0100 Stefan Roese wrote: > From: Reinhard Arlt > > The caddy2 is a variant of the already supported vme8349. So we just > add the differences to this board port. To better support those two > boards we switched from fixed SDRAM configuration to usage of > spd_sdram(

Re: [U-Boot] [PATCH v2] mpc83xx: Add NAND boot support for MPC8315E-RDB boards

2010-01-07 Thread Kim Phillips
On Tue, 24 Nov 2009 20:12:12 +0300 Anton Vorontsov wrote: > The core support for NAND booting is there already, so this patch > is pretty straightforward. > > There is one trick though: top level Makefile expects nand_spl to > be in nand_spl/board/$(BOARDDIR), but we can fully reuse the code > f

Re: [U-Boot] [PATCH v2] mpc83xx: spd_sdram.c: Disable memory controller before initializing

2010-01-07 Thread Kim Phillips
On Tue, 8 Dec 2009 09:10:04 +0100 Stefan Roese wrote: > + /* > + * First disable the memory controller (could be enabled > + * by the debugger) > + */ > + clrsetbits_be32(&ddr->sdram_cfg, SDRAM_CFG_MEM_EN, 0); > + asm("sync;isync"); applied after changing to use [i]syn

Re: [U-Boot] MPC8315 uboot hangs on relocation

2010-01-07 Thread Jerry Van Baren
Sureshkumar Nagarathinam wrote: > Hi All, > > I am porting the u-boot for a customized board based on MPC8315 > processor. It has DDR2 SDRAM of 128 MB & 8 MB of flash. I found that > the code hangs during the relocation of the code, exactly in the > following line (@ relocation function in cpu

Re: [U-Boot] [PATCH 1/3] Monahan/PXA3xx: integrate Linux NAND controller driver

2010-01-07 Thread Scott Wood
On Thu, Dec 24, 2009 at 04:33:49AM +0100, Marcel Ziswiler wrote: > +/* XXX U-BOOT XXX */ > +#define __U_BOOT__ > + > +#ifndef __U_BOOT__ I don't think we need this. In fact, it could make it harder to spot conflicts when merging new versions of the file from linux, since patch could find the cont

Re: [U-Boot] zoom2 build broken

2010-01-07 Thread Tom
Dirk Behme wrote: > On 07.01.2010 18:54, Pandita, Vikram wrote: >> Hi Tom >> >> I tried building the zoom2 config on arm uboot tree [1] and I get this >> linker error. >> Am I missing something? > > Yes ;) > > http://lists.denx.de/pipermail/u-boot/2010-January/065915.html > > Best regards > >

Re: [U-Boot] MPC8315 uboot hangs on relocation

2010-01-07 Thread Wolfgang Denk
Dear Sureshkumar Nagarathinam, In message <839118.2412...@web112320.mail.gq1.yahoo.com> you wrote: > > Since the board has only 8MB of flash, I have modified the the TEXT_BASE to > 0xFFF8(as against 0xFE00). I am able to access the DDR2 SDRAM(whole > 128MB) , I tested it by writing & re

Re: [U-Boot] zoom2 build broken

2010-01-07 Thread Pandita, Vikram
>-Original Message- >From: Dirk Behme [mailto:dirk.be...@googlemail.com] >Sent: Thursday, January 07, 2010 12:30 PM >To: Pandita, Vikram >Cc: Tom; u-boot@lists.denx.de >Subject: Re: [U-Boot] zoom2 build broken > >On 07.01.2010 18:54, Pandita, Vikram wrote: >> Hi Tom >> >> I tried building

Re: [U-Boot] [PATCH v2] Make getenv_IPaddr() global

2010-01-07 Thread Ben Warren
Dirk Behme wrote: > There are boards out there that do not have network support in > U-Boot (CONFIG_CMD_NET not set), but they do so in Linux. This > makes it desirable to be able to port network configuration (like > the IP address) to the Linux kernel. > > We should not make the passing of the IP

Re: [U-Boot] zoom2 build broken

2010-01-07 Thread Dirk Behme
On 07.01.2010 18:54, Pandita, Vikram wrote: > Hi Tom > > I tried building the zoom2 config on arm uboot tree [1] and I get this linker > error. > Am I missing something? Yes ;) http://lists.denx.de/pipermail/u-boot/2010-January/065915.html Best regards Dirk > "amake = make ARCH=arm CROSS_CO

Re: [U-Boot] [PATCH v2 0/9] Added support for SPEAr SoCs

2010-01-07 Thread Peter Tyser
On Thu, 2010-01-07 at 17:26 +0530, Vipin KUMAR wrote: > This patch set is a reworked patch which incorporates all review feedbacks > from > earlier earlier mails > > This patch set contains the support for 4 SoCs > SPEAr600 > SPEAr300 > SPEAr310 > SPEAr320 > > SPEAr is an ARM based SoC which sup

[U-Boot] [PATCH] Support for Calao USB A9263 board based on AT91SAM9263 CPU

2010-01-07 Thread Thomas Petazzoni
The Calao USB A9263 board is a board manufactured and sold by Calao Systems . Its components are very similar to the AT91SAM9263EK board, so its configuration is based on the configuration of this board. There are however some differences: different clocks, no LCD, etc

Re: [U-Boot] [PATCH v2 0/9] Added support for SPEAr SoCs

2010-01-07 Thread Armando VISCONTI
Thanks Tom, Tomorrow Vipin will change it according to your inputs. He will also do the rebase to latest uboot. Rgds, Arm Tom wrote: > Vipin KUMAR wrote: > >> This patch set is a reworked patch which incorporates all review feedbacks >> from >> earlier earlier mails >> >> This patch set cont

[U-Boot] zoom2 build broken

2010-01-07 Thread Pandita, Vikram
Hi Tom I tried building the zoom2 config on arm uboot tree [1] and I get this linker error. Am I missing something? "amake = make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi-" $amake omap3_zoom2_config $amake Map u-boot.map -o u-boot lib_arm/libarm.a(board.o): In function `start_armboot': /

Re: [U-Boot] [PATCH v2 0/9] Added support for SPEAr SoCs

2010-01-07 Thread Tom
Vipin KUMAR wrote: > This patch set is a reworked patch which incorporates all review feedbacks > from > earlier earlier mails > > This patch set contains the support for 4 SoCs > SPEAr600 > SPEAr300 > SPEAr310 > SPEAr320 > > SPEAr is an ARM based SoC which supports rich set of peripherals like

Re: [U-Boot] [PATCH 0/2] omap3: Optimize detection of cpu revision

2010-01-07 Thread Paulraj, Sandeep
> > > -Original Message- > > From: Premi, Sanjeev > > Sent: Tuesday, December 15, 2009 6:48 PM > > To: u-boot@lists.denx.de > > Cc: Premi, Sanjeev > > Subject: [PATCH 0/2] omap3: Optimize detection of cpu revision > > > > Each call to get_cpu_rev() leads to repetitive > > execution of cod

Re: [U-Boot] TI:OMAP: [PATCH 4/4] Enable I2C bus switching

2010-01-07 Thread Paulraj, Sandeep
> > Hello Khasim Syed, > > Khasim Syed Mohammed wrote: > >>From 3aa4b510a95b5313dc103c286eea44a6054b67d4 Mon Sep 17 00:00:00 2001 > > From: Syed Mohammed Khasim > > Date: Tue, 5 Jan 2010 20:52:36 +0530 > > Subject: [PATCH] Enable I2C bus switching > > > > OMAP3 supports Multiple I2C channels,

Re: [U-Boot] [PATCH 0/4] AM35x: Initial support for the processor

2010-01-07 Thread Premi, Sanjeev
> -Original Message- > From: Premi, Sanjeev > Sent: Wednesday, December 16, 2009 12:08 AM > To: u-boot@lists.denx.de > Cc: Premi, Sanjeev > Subject: [PATCH 0/4] AM35x: Initial support for the processor > > This patchset adds basic support for the AM35x > processors. It also ensures that u

Re: [U-Boot] [PATCH 0/2] omap3: Optimize detection of cpu revision

2010-01-07 Thread Premi, Sanjeev
> -Original Message- > From: Premi, Sanjeev > Sent: Tuesday, December 15, 2009 6:48 PM > To: u-boot@lists.denx.de > Cc: Premi, Sanjeev > Subject: [PATCH 0/2] omap3: Optimize detection of cpu revision > > Each call to get_cpu_rev() leads to repetitive > execution of code to detect the cpu

[U-Boot] [PATCH v2 5/9] SPEAr320 SoC support added

2010-01-07 Thread Vipin KUMAR
Signed-off-by: Vipin --- MAKEALL |1 + Makefile|1 + board/spear/spear320/Makefile | 52 +++ board/spear/spear320/config.mk | 41 +++ board/spear/spear320/spear320.c | 58

[U-Boot] [PATCH v2 4/9] SPEAr310 SoC support added

2010-01-07 Thread Vipin KUMAR
Signed-off-by: Vipin --- MAKEALL |1 + Makefile|1 + board/spear/spear310/Makefile | 52 ++ board/spear/spear310/config.mk | 41 +++ board/spear/spear310/spear310.c | 58 +++ include/configs/spear.h

[U-Boot] [PATCH v2 9/9] usbd driver support for SPEAr SoCs

2010-01-07 Thread Vipin KUMAR
Signed-off-by: Vipin --- drivers/serial/usbtty.h |2 + drivers/usb/gadget/Makefile |1 + drivers/usb/gadget/spr_udc.c | 1004 ++ include/configs/spear.h |7 +- include/usb/spr_udc.h| 227 ++ 5 files changed, 1240 ins

[U-Boot] [PATCH v2 7/9] smi driver support for SPEAr SoCs

2010-01-07 Thread Vipin KUMAR
Signed-off-by: Vipin --- drivers/mtd/Makefile |1 + drivers/mtd/spr_smi.c| 530 ++ include/asm-arm/arch-spear/spr_smi.h | 117 3 files changed, 648 insertions(+), 0 deletions(-) mode change 100644 => 100755 drivers/m

[U-Boot] [PATCH v2 8/9] nand(fsmc) driver support for SPEAr SoCs

2010-01-07 Thread Vipin KUMAR
Signed-off-by: Vipin --- drivers/mtd/nand/Makefile |1 + drivers/mtd/nand/spr_nand.c | 123 + include/asm-arm/arch-spear/spr_nand.h | 57 +++ 3 files changed, 181 insertions(+), 0 deletions(-) create mode 100755 drivers/mt

[U-Boot] [PATCH v2 2/9] SPEAr600 SoC support added

2010-01-07 Thread Vipin KUMAR
Signed-off-by: Vipin --- MAKEALL|1 + Makefile |3 + board/spear/common/spr_lowlevel_init.S | 201 board/spear/common/spr_misc.c | 296 board

[U-Boot] [PATCH v2 6/9] i2c driver support for SPEAr SoCs

2010-01-07 Thread Vipin KUMAR
Signed-off-by: Vipin --- drivers/i2c/Makefile |1 + drivers/i2c/spr_i2c.c| 340 ++ include/asm-arm/arch-spear/spr_i2c.h | 146 +++ include/configs/spear.h |2 +- 4 files changed, 488 insertions(+),

[U-Boot] [PATCH v2 3/9] SPEAr300 SoC support added

2010-01-07 Thread Vipin KUMAR
Signed-off-by: Vipin --- MAKEALL |1 + Makefile|1 + board/spear/spear300/Makefile | 52 +++ board/spear/spear300/config.mk | 38 ++ board/spear/spear300/spear300.c | 57 +

[U-Boot] [PATCH v2 1/9] Added README.spear

2010-01-07 Thread Vipin KUMAR
Signed-off-by: Vipin --- doc/README.spear | 53 + 1 files changed, 53 insertions(+), 0 deletions(-) create mode 100644 doc/README.spear diff --git a/doc/README.spear b/doc/README.spear new file mode 100644 index 000..906871c --- /dev/nu

[U-Boot] [PATCH v2 0/9] Added support for SPEAr SoCs

2010-01-07 Thread Vipin KUMAR
This patch set is a reworked patch which incorporates all review feedbacks from earlier earlier mails This patch set contains the support for 4 SoCs SPEAr600 SPEAr300 SPEAr310 SPEAr320 SPEAr is an ARM based SoC which supports rich set of peripherals like Ethernet, USB Host, USB Device etc t

[U-Boot] [PATCH v5] TI DaVinci: Driver for the davinci SPI controller

2010-01-07 Thread Sudhakar Rajashekhara
From: Sekhar Nori This adds a driver for the SPI controller found on davinci based SoCs from Texas Instruments. Signed-off-by: Sekhar Nori Signed-off-by: Sudhakar Rajashekhara --- >From the previous version, following are the modifications: 1. Argument to sizeof() changed in spi_setup_slave()

[U-Boot] [PATCH 1/2] 85xx/p1_p2_rdb: p1020: add muxed usb2 handling

2010-01-07 Thread Vivek Mahajan
This patch adds the 2nd USB (muxed with eLBC) node depending upon enabling the 'usb2' environment variable via hwconfig i.e. "setenv hwconfig usb2", so that linux has the 2nd USB controller enabled, which will lead to the disabling of the eLBC (NAND, NOR etc). Also the 2nd USB controller has been

[U-Boot] [PATCH 2/2] 85xx/p1_p2_rdb: enable hwconfig

2010-01-07 Thread Vivek Mahajan
Signed-off-by: Vivek Mahajan --- include/configs/P1_P2_RDB.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/configs/P1_P2_RDB.h b/include/configs/P1_P2_RDB.h index 15bfeef..405e6d5 100644 --- a/include/configs/P1_P2_RDB.h +++ b/include/configs/P1_P2_RDB.h @@ -203

[U-Boot] 83xx, uec: adjust enet_interface settings on the fly.

2010-01-07 Thread Heiko Schocher
If using UCC as Ethernet Controller and type = FAST_ETH, it was not possible to switch between 10 and 100 MBit interfaces. This patch adds this for following interfaces: 10_MII 10_RMII 10_RGMII 100_MII 100_RMII 100_RGMII Signed-off-by: Heiko Schocher --- drivers/qe/uec.c | 73

Re: [U-Boot] [RFC PATCH] fix compilation issue in arm cortex a8

2010-01-07 Thread Michael Trimarchi
Tom wrote: > Michael Trimarchi wrote: >> Hi, >> >> this patch fix the compilation issue. Step to reproduce: >> >> add CONFIG_YAFFS2 in overo defconfig and compile u-boot >> >> Regards >> Michael >> >> > > This is not an OMAP specific problem. > This problem will happen on all ARM platforms. > > It