Re: [U-Boot-Users] [PATCH v2] spi: Kill spi_chipsel table and introduce spi_setup()

2008-02-06 Thread Haavard Skinnemoen
On Tue, 5 Feb 2008 23:34:46 -0500 Mike Frysinger <[EMAIL PROTECTED]> wrote: > so the new SPI interface has this API: > - void spi_init(void); > - int spi_setup(int cs, unsigned int max_hz, unsigned int mode); > - int spi_xfer(int cs, int bitlen, uchar *dout, uchar *din); > - int spi_cs_is_vali

[U-Boot-Users] [PATCH] Fix arm926ejs compile when SKIP_LOWLEVEL_INIT is on.

2008-02-06 Thread Stelian Pop
cpu/arm926ejs/start.o: In function `cpu_init_crit': .../cpu/arm926ejs/start.S:227: undefined reference to `lowlevel_init' Signed-off-by: Stelian Pop <[EMAIL PROTECTED]> --- cpu/arm926ejs/start.S |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/cpu/arm926ejs/start.S b/c

Re: [U-Boot-Users] [PPC] PLEASE READ - was: [PATCH] Fix linker scripts: add NOLOAD atribute to .bss/.sbss sections

2008-02-06 Thread Joakim Tjernlund
On Mon, 2008-02-04 at 20:14 +0100, Wolfgang Denk wrote: > In message <[EMAIL PROTECTED]> you wrote: > > On Mon, Feb 04, 2008 at 12:32:36AM +0100, Wolfgang Denk wrote: > > > So far, it is not clear to me what a better choice for a global > > > register variable could be (i. e. which register w

[U-Boot-Users] [PATCH] Use a structure instead of the error prone unnamed array to define the possible dataflash banks.

2008-02-06 Thread Stelian Pop
Signed-off-by: Stelian Pop <[EMAIL PROTECTED]> --- drivers/mtd/dataflash.c | 31 ++- 1 files changed, 18 insertions(+), 13 deletions(-) diff --git a/drivers/mtd/dataflash.c b/drivers/mtd/dataflash.c index 91903c8..4084ff7 100644 --- a/drivers/mtd/dataflash.c +++ b/dr

[U-Boot-Users] [PATCH] Fix incorrect address test in AT91F_DataflashSelect().

2008-02-06 Thread Stelian Pop
Signed-off-by: Stelian Pop <[EMAIL PROTECTED]> --- drivers/mtd/dataflash.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/mtd/dataflash.c b/drivers/mtd/dataflash.c index 4084ff7..2421407 100644 --- a/drivers/mtd/dataflash.c +++ b/drivers/mtd/dataflash.c @@ -309,7

Re: [U-Boot-Users] [PATCH] Fix incorrect address test in AT91F_DataflashSelect().

2008-02-06 Thread michael
Hi, Stelian Pop wrote: > Signed-off-by: Stelian Pop <[EMAIL PROTECTED]> > --- > drivers/mtd/dataflash.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/drivers/mtd/dataflash.c b/drivers/mtd/dataflash.c > index 4084ff7..2421407 100644 > --- a/drivers/mtd/dataflash.c

Re: [U-Boot-Users] [PATCH v2] spi: Kill spi_chipsel table and introduce spi_setup()

2008-02-06 Thread Mike Frysinger
On Wednesday 06 February 2008, Haavard Skinnemoen wrote: > On Tue, 5 Feb 2008 23:34:46 -0500 > > Mike Frysinger <[EMAIL PROTECTED]> wrote: > > so the new SPI interface has this API: > > - void spi_init(void); > > - int spi_setup(int cs, unsigned int max_hz, unsigned int mode); > > - int spi_xfer

Re: [U-Boot-Users] [PATCH v2] spi: Kill spi_chipsel table and introduce spi_setup()

2008-02-06 Thread Ben Warren
Haavard Skinnemoen wrote: > On Tue, 5 Feb 2008 23:34:46 -0500 > Mike Frysinger <[EMAIL PROTECTED]> wrote: > > >> so the new SPI interface has this API: >> - void spi_init(void); >> - int spi_setup(int cs, unsigned int max_hz, unsigned int mode); >> - int spi_xfer(int cs, int bitlen, uchar *do

Re: [U-Boot-Users] [PATCH v2] spi: Kill spi_chipsel table and introduce spi_setup()

2008-02-06 Thread Haavard Skinnemoen
On Wed, 06 Feb 2008 10:18:51 -0500 Ben Warren <[EMAIL PROTECTED]> wrote: > If there really is a need to turn off the controller, or change the > transfer rate on the fly, then this is good. OTOH, this is a bootloader, > not an OS, and probably the vast majority of use cases would just be to >

Re: [U-Boot-Users] [PATCH v2] spi: Kill spi_chipsel table and introduce spi_setup()

2008-02-06 Thread Ben Warren
Mike Frysinger wrote: > On Wednesday 06 February 2008, Ben Warren wrote: > >> Haavard Skinnemoen wrote: >> >>> On Tue, 5 Feb 2008 23:34:46 -0500 >>> Mike Frysinger <[EMAIL PROTECTED]> wrote: >>> there isnt a function to pair up with spi_setup() ? for example, the normal co

Re: [U-Boot-Users] [PATCH v2] spi: Kill spi_chipsel table and introduce spi_setup()

2008-02-06 Thread Mike Frysinger
On Wednesday 06 February 2008, Ben Warren wrote: > Haavard Skinnemoen wrote: > > On Tue, 5 Feb 2008 23:34:46 -0500 > > Mike Frysinger <[EMAIL PROTECTED]> wrote: > >> there isnt a function to pair up with spi_setup() ? for example, the > >> normal communication flow with a SPI flash: > >> - spi_se

[U-Boot-Users] [PATCH] PPC440EPx: Optionally enable second I2C bus

2008-02-06 Thread Mike Nuss
The option CONFIG_I2C_MULTI_BUS does not have any effect on Sequoia, the PPC440EPx reference platform, because IIC1 is never enabled. Add Sequoia board code to turn on IIC1 if CONFIG_I2C_MULTI_BUS is selected. Signed-off-by: Mike Nuss <[EMAIL PROTECTED]> Cc: Stefan Roese <[EMAIL PROTECTED]> diff

[U-Boot-Users] [PATCH] 83xx: Add Vitesse VSC7385 firmware uploading

2008-02-06 Thread Timur Tabi
The Vitesse VSC7385 is a 5-port switch found on the Freescale MPC8349E-mITX and other boards. A small firwmare must be uploaded to its on-board memory before it can be enabled. This patch adds the code which uploads firmware (but not the firmware itself) and updates the MPC8349E-mITX, MPC8313E-RD

Re: [U-Boot-Users] how to use mtdparts command in uboot

2008-02-06 Thread Wolfgang Denk
In message <[EMAIL PROTECTED]> you wrote: > > i have gone thru the mailing list also, but could not get much information. See http://www.denx.de/wiki/view/DULG/UBootEnvVariables and especially http://www.denx.de/wiki/view/DULG/UBootCmdGroupFlash#Section_5.9.3.5. > Content-Type: text/html; charset

Re: [U-Boot-Users] [PPC] PLEASE READ - was: [PATCH] Fix linker scripts: add NOLOAD atribute to .bss/.sbss sections

2008-02-06 Thread Wolfgang Denk
In message <[EMAIL PROTECTED]> you wrote: > > I think the register approach is needed if we ever want to > make u-boot fully relocateable. Good point. > There are a few global data accesses that needs to be fixed > before that can happen though. There should not be any global data > accesses bef

Re: [U-Boot-Users] [PATCH] Add attribute POST_PREREL to ECC memory POST

2008-02-06 Thread Wolfgang Denk
In message <[EMAIL PROTECTED]> you wrote: > Signed-off-by: Larry Johnson <[EMAIL PROTECTED]> > --- > post/tests.c |4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) Applied, thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zund

Re: [U-Boot-Users] [PATCH 1/1] xsengine: rename board_post_init to board_late_init

2008-02-06 Thread Wolfgang Denk
In message <[EMAIL PROTECTED]> you wrote: > missing migration from "Cleanup of some init functions" > in c837dcb1a316745092567bfe4fb266d0941884ff > > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <[EMAIL PROTECTED]> Applied. Thanks. Best regards, Wolfgang Denk -- DENX Software Engineering G

[U-Boot-Users] [Q] memtest doubt

2008-02-06 Thread Guennadi Liakhovetski
Hi all, looking through the common/cmd_mem.c::do_mem_mtest() function, I couldn't understand the following place: addr_mask = ((ulong)end - (ulong)start)/sizeof(vu_long); ... for (offset = 1; (offset & addr_mask) != 0; offset <<= 1) { start

Re: [U-Boot-Users] [PATCH v2] spi: Kill spi_chipsel table and introduce spi_setup()

2008-02-06 Thread Ulf Samuelsson
>> but is there any real spi controllers that can transmit less than a byte at >> a >> time ? i guess if you consider gpio-based soft spi ... >> -mike >> > Sure, the Freescale SPI controller that I wrote a driver for (MPC8xxx) > can send an arbitrary number of bits. Not sure exactly where t

Re: [U-Boot-Users] [PATCHv2] [ads5121] Set ips dividor to 1/3 of csb clock.

2008-02-06 Thread Wolfgang Denk
In message <[EMAIL PROTECTED]> you wrote: > Previous setting cause ips clock to be out of spec. This bug was found by > John Rigby from Freescale. > > Signed-off-by: Grzegorz Bernacki <[EMAIL PROTECTED]> Applied, thanks. - T

Re: [U-Boot-Users] [PATCH] [ADS5121] Change IPS freq to 66MHz

2008-02-06 Thread Wolfgang Denk
In message <[EMAIL PROTECTED]> you wrote: > Recommended frequency is 66MHz > Change divider from 4 to 3. > > Signed-off-by: John Rigby <[EMAIL PROTECTED]> Applied, thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, O

Re: [U-Boot-Users] [PATCH] [ADS5121] Device tree updates

2008-02-06 Thread Wolfgang Denk
In message <[EMAIL PROTECTED]> you wrote: > Changes to match 5121 device tree going mainline in 2.6.25. > > Change OF_SOC from "soc5121" to plain "soc". > Remove unneeded "ref-frequency" fixups. > Remove "address" enetaddr fixup. > > Add bus-frequency fixup for old OF_SOC so old > kernels with ol

Re: [U-Boot-Users] [PATCHv2] [ads5121] DDR2 init/timing update.

2008-02-06 Thread Wolfgang Denk
In message <[EMAIL PROTECTED]> you wrote: > >From Chris Alger's CW bluestone config file. > > Signed-off-by: John Rigby <[EMAIL PROTECTED]> > Signed-off-by: Grzegorz Bernacki <[EMAIL PROTECTED]> > --- > This patch was created by John Rigby. I tested it and rebased > against current top of the t

Re: [U-Boot-Users] [PPC] PLEASE READ - was: [PATCH] Fix linker scripts: add NOLOAD atribute to .bss/.sbss sections

2008-02-06 Thread Joakim Tjernlund
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: den 6 februari 2008 23:11 > To: [EMAIL PROTECTED] > Cc: Scott Wood; u-boot-users@lists.sourceforge.net; Stefan Roese > Subject: Re: [U-Boot-Users] [PPC] PLEASE READ - was: [PATCH] Fix linker > scripts: add NOL

Re: [U-Boot-Users] [PATCH] Fix arm926ejs compile when SKIP_LOWLEVEL_INIT is on.

2008-02-06 Thread Hebbar
Hi I have already submitted a similar patch and its still being inspected. My patch can be found at http://www.nabble.com/-PATCH--ARM926%3A-compile-cpu_init_crit-function-only-if-CONFIG_SKIP_LOWLEVEL_INIT-is-not-defined-ts14408413.html Regards Gururaja -- View this message in context: ht

[U-Boot-Users] 440EPX is not booting from 1Gb/128MB NAND flash

2008-02-06 Thread Nikhil Gautam
Hi, I am trying to boot my board which is based on Sequoia 440EPX. The only difference between my board and the reference board is that I have a 1 Gb NAND flash ( NAND01GW3B2A) instead of 256Mb flash present on reference board. In U-boot I have changed the board configuration file to reflec

Re: [U-Boot-Users] [PATCH 0/6] [new uImage] patchset3 - legacy code refactoring

2008-02-06 Thread Kumar Gala
On Feb 1, 2008, at 6:00 AM, Marian Balakowicz wrote: > > This is the third patch-set of the new uImage format work. It > concludes the > phase of clean-up and reorganization of the old format code, > preparing the > ground for adding the code implementing the new format. > > All the new uImag

Re: [U-Boot-Users] 440EPX is not booting from 1Gb/128MB NAND flash

2008-02-06 Thread Stefan Roese
On Thursday 07 February 2008, Nikhil Gautam wrote: > I am trying to boot my board which is based on Sequoia 440EPX. The > only difference between my board and the reference board is that I > have a 1 Gb NAND flash ( NAND01GW3B2A) instead of 256Mb flash present > on reference board. > > In U-bo