Re: [U-Boot] Saving environment variables in MMC

2010-04-02 Thread Nitin Mahajan
Hello, --- On Thu, 1/4/10, Detlev Zundel wrote: > From: Detlev Zundel > Subject: Re: [U-Boot] Saving environment variables in MMC > To: nitin...@yahoo.com > Cc: "U-Boot user list" > Date: Thursday, 1 April, 2010, 5:35 PM > Hi Nitin, > > >> It is rather common to write to the U-Boot > environ

Re: [U-Boot] [PATCH 1/3] The BUILD_BUG_ON macros moved from ubi_uboot.h to common.h

2010-04-02 Thread Mike Frysinger
On Thursday 01 April 2010 13:16:53 Michael Zaidman wrote: > The BUILD_BUG_ON macros made availible for rest of the u-boot code > by moving it from ubi_uboot.h to common.h. In Linux kernel this > widely used macros is defined in kernel.h file. compiler.h might be a better place so that it is availa

[U-Boot] [PATCH 2/3 v2] drivers/serial/serial.c: code maintainability improvments.

2010-04-02 Thread Michael Zaidman
Signed-off-by: Michael Zaidman --- drivers/serial/serial.c | 27 +-- 1 files changed, 17 insertions(+), 10 deletions(-) diff --git a/drivers/serial/serial.c b/drivers/serial/serial.c index dd5f332..ba88cb0 100644 --- a/drivers/serial/serial.c +++ b/drivers/serial/serial

Re: [U-Boot] [PATCH 2/3] drivers/serial/serial.c: code maintainability improvments.

2010-04-02 Thread Michael Zaidman
Hi Kim, Thanks for your corrections. I fixed all of them in version #2 of the patch here: http://lists.denx.de/pipermail/u-boot/2010-April/069412.html Regards, Michael ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-

Re: [U-Boot] [PATCH 1/3] The BUILD_BUG_ON macros moved from ubi_uboot.h to common.h

2010-04-02 Thread Michael Zaidman
On Fri, Apr 2, 2010 at 11:52 AM, Mike Frysinger wrote: > On Thursday 01 April 2010 13:16:53 Michael Zaidman wrote: >> The BUILD_BUG_ON macros made availible for rest of the u-boot code >> by moving it from ubi_uboot.h to common.h. In Linux kernel this >> widely used macros is defined in kernel.h f

[U-Boot] [PATCH] AT91 Fix: return value of get_tbclk

2010-04-02 Thread Jens Scharsig
* Fix: return value of get_tbclk * this fixes issue with prematurely restart/retry, if BOOT_RETRY_TIMEOUT is used Signed-off-by: Jens Scharsig --- cpu/arm926ejs/at91/timer.c |5 + 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/cpu/arm926ejs/at91/timer.c b/cpu/arm926ejs/a

[U-Boot] [PATCH] POST: Added ECC memory test for mpc83xx.

2010-04-02 Thread Michael Zaidman
--- post/cpu/mpc83xx/Makefile | 30 + post/cpu/mpc83xx/ecc.c| 160 + 2 files changed, 190 insertions(+), 0 deletions(-) create mode 100644 post/cpu/mpc83xx/Makefile create mode 100644 post/cpu/mpc83xx/ecc.c diff --git a/post/cpu/mpc83xx

[U-Boot] [PATCH] sa1100 change get_timer(base) to return time since base

2010-04-02 Thread Jochen Friedrich
similar to 274737e5eb25b2bcd3af3a96da923effd543284f This patch changes get_timer() for sa1100 to return the time since 'base' instead of the time since the counter was at zero. Symptom seen is flash timeout errors when erasing or programming a sector using the common cfi flash code. Signed-off-b

Re: [U-Boot] [PATCH 2/2] Fix compile errors for atmel_nand with hw-ecc and new SoC access

2010-04-02 Thread Scott Wood
On Sun, Mar 28, 2010 at 02:42:25PM +0200, Alexander Holler wrote: > atmel_nand.c with HW-ECC doesn't compile with the new SoC access. > Using CONFIG_AT91_LEGACY to circumvent the compile errors only leaves > the driver in a state where it doesn't find the NAND. > > To use HW-ECC with atmel_nand on

[U-Boot] [Nios] Pull Request

2010-04-02 Thread Scott McNutt
Wolfgang, The following changes since commit ffa37fc98d71ef930bccd4e9eed37f6ce6b4d6af: Wolfgang Denk (1): Merge branch 'next' are available in the git repository at: git://git.denx.de/u-boot-nios.git master Scott McNutt (7): nios2: Move serial drivers to individual files i

Re: [U-Boot] [PATCH 1/3] The BUILD_BUG_ON macros moved from ubi_uboot.h to common.h

2010-04-02 Thread Mike Frysinger
On Friday 02 April 2010 06:56:41 Michael Zaidman wrote: > On Fri, Apr 2, 2010 at 11:52 AM, Mike Frysinger wrote: > > On Thursday 01 April 2010 13:16:53 Michael Zaidman wrote: > >> The BUILD_BUG_ON macros made availible for rest of the u-boot code > >> by moving it from ubi_uboot.h to common.h. In

Re: [U-Boot] [PATCH] POST: Added ECC memory test for mpc83xx.

2010-04-02 Thread Timur Tabi
On Fri, Apr 2, 2010 at 8:49 AM, Michael Zaidman wrote: > +inline static void ecc_clear(volatile ddr83xx_t *ddr) Please use I/O accessors instead of "volatile". -- Timur Tabi Linux kernel developer at Freescale ___ U-Boot mailing list U-Boot@lists.den