Re: [U-Boot] [PATCH] LZMA: Avoid free on null pointer.

2010-12-06 Thread Mike Frysinger
On Monday, December 06, 2010 03:59:44 Luigi Mantellini wrote: On Mon, Dec 6, 2010 at 8:15 AM, Mike Frysinger wrote: On Sunday, December 05, 2010 04:18:44 Luigi 'Comio' Mantellini wrote: On structure Initialization, LZMA code tries to free the dictionary and probs buffers, also when these

Re: [U-Boot] [PATCH] LZMA: Avoid free on null pointer.

2010-12-06 Thread Luigi Mantellini
On Mon, Dec 6, 2010 at 9:57 AM, Mike Frysinger vap...@gentoo.org wrote: sorry, but this is not an acceptable reason.  so unless you have an actual error report here, your patch gets NAK-ed. -mike Hi mike, my pov is different: free should (must) be called only on already allocated pointers.

Re: [U-Boot] failure to boot GuruPlug with v2010.12-rc2 .kwb

2010-12-06 Thread Prafulla Wadaskar
-Original Message- From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Clint Adams Sent: Sunday, December 05, 2010 6:58 AM To: u-boot@lists.denx.de Subject: [U-Boot] failure to boot GuruPlug with v2010.12-rc2 .kwb Loading the ELF v2010.12-rc2

Re: [U-Boot] PATCH: enable ext2 on GuruPlug

2010-12-06 Thread Prafulla Wadaskar
-Original Message- From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Clint Adams Sent: Sunday, December 05, 2010 2:21 AM To: u-boot@lists.denx.de Subject: [U-Boot] PATCH: enable ext2 on GuruPlug ext2 is just as useful on the guru as on the

Re: [U-Boot] [PATCH] LZMA: Avoid free on null pointer.

2010-12-06 Thread Joakim Tjernlund
On Mon, Dec 6, 2010 at 9:57 AM, Mike Frysinger vap...@gentoo.org wrote: sorry, but this is not an acceptable reason.  so unless you have an actual error report here, your patch gets NAK-ed. -mike Hi mike, my pov is different: free should (must) be called only on already allocated

[U-Boot] Please pull u-boot-atmel/for2010.12

2010-12-06 Thread Reinhard Meyer
Dear Wolfgang, Albert, The following changes since commit 49733aa0b9d29803384ad4bce74985f4bbe7e9aa: Wolfgang Denk (1): Merge branch 'master' of /home/wd/git/u-boot/custodians are available in the git repository at: git://git.denx.de/u-boot-atmel.git for2010.12 Andreas Bießmann (1):

Re: [U-Boot] [PATCH 4/6 v2] Add support for Bootstrap infrastructure.

2010-12-06 Thread Luigi Mantellini
Hi Wolfgang and ML, On Sat, Dec 4, 2010 at 11:47 PM, Wolfgang Denk w...@denx.de wrote: Dear Luigi 'Comio' Mantellini, Not only the commit message, also the remaining text is full of typos. Please run through a spell checker. you are right. I will check better my english. sorry!

Re: [U-Boot] [PATCH] LZMA: Avoid free on null pointer.

2010-12-06 Thread Luigi Mantellini
Hi Joakim, We have not ton but just two points to fix. 1) when free dict before to allocate another one, and 2) when free probs before to allocate another one. These scenarios are not used into u-boot code, because the library is one shot and the other free are called (if called) just to

Re: [U-Boot] [PATCH] TOP9000 support

2010-12-06 Thread Reinhard Meyer
From: Reinhard Meyer i...@emk-elektronik.de Adds support for the EMK TOP9000 CPU Module which is based on ATMELs ARM926EJS AT91SAM9XE SoC. Signed-off-by: Reinhard Meyer u-b...@emk-elektronik.de --- MAINTAINERS |3 +- board/emk/top9000/Makefile | 54

Re: [U-Boot] [PATCH] LZMA: Avoid free on null pointer.

2010-12-06 Thread Joakim Tjernlund
Luigi Mantellini luigi.mantellini...@gmail.com wrote on 2010/12/06 10:47:21: Hi Joakim, We have not ton but just two points to fix. 1) when free dict before to allocate another one, and 2) when free probs before to allocate another one. These scenarios are not used into u-boot code, because

Re: [U-Boot] Please pull u-boot-atmel/for2010.12

2010-12-06 Thread Albert ARIBAUD
Hi Reinhard, Le 06/12/2010 10:43, Reinhard Meyer a écrit : I think this time, it's still Wolfgang doing the pull to ARM, right? Correct. Best Regards, Reinhard Amicalement, -- Albert. ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] Multiple chip support in ndfc driver

2010-12-06 Thread Stefan Roese
Hi Felix, On Sunday 05 December 2010 15:27:02 Felix Radensky wrote: On a custom 460EX board I have a 2Gbyte NAND device, 1Gbyte per chip select. I'm trying to enable support for the second NAND CS, so far without success. U-Boot properly detects both devices, (manufacturer, size, bus

[U-Boot] [PATCH] MX5: Add initial support for mx53

2010-12-06 Thread Jason Liu
Add initial support for mx53 with the following change, - Add the iomux support and the pin definition, - Add the regs definition, clean up some unused def from mx51, - Add the low level init support, make use the freq input of setup_pll macro This patch has been tested on MX51 Babbage 3.0

Re: [U-Boot] failure to boot GuruPlug with v2010.12-rc2 .kwb

2010-12-06 Thread Prafulla Wadaskar
-Original Message- From: Prafulla Wadaskar Sent: Monday, December 06, 2010 2:49 PM To: 'Clint Adams'; u-boot@lists.denx.de Subject: RE: [U-Boot] failure to boot GuruPlug with v2010.12-rc2 .kwb -Original Message- From: u-boot-boun...@lists.denx.de

Re: [U-Boot] PATCH: enable ext2 on GuruPlug

2010-12-06 Thread Prafulla Wadaskar
-Original Message- From: Prafulla Wadaskar Sent: Monday, December 06, 2010 2:51 PM To: 'Clint Adams'; u-boot@lists.denx.de Subject: RE: [U-Boot] PATCH: enable ext2 on GuruPlug -Original Message- From: u-boot-boun...@lists.denx.de

[U-Boot] [PATCH v3 0/5] new cpu, ingenic xburst jz4740

2010-12-06 Thread xiangfu
Hi Wolfgang those patches are for add xburst jz4740 and Ben NanoNote to U-Boot some info about xburst jz4740: the xburst jz4740 is recently added to linux 2.6.36 and it's support the device Ben NanoNote out of box, this xburst jz4740 cpu have one feature is Boot From USB, there is a

[U-Boot] [PATCH v3 1/5] those files are jz4740 base files

2010-12-06 Thread xiangfu
From: Xiangfu Liu xian...@openmobilefree.net Signed-off-by: Xiangfu Liu xian...@openmobilefree.net --- arch/mips/cpu/xburst/Makefile| 50 +++ arch/mips/cpu/xburst/config.mk | 33 ++ arch/mips/cpu/xburst/cpu.c | 160 arch/mips/cpu/xburst/jz4740.c| 267

[U-Boot] [PATCH v3 3/5] jz4740 nand spl files

2010-12-06 Thread xiangfu
From: Xiangfu Liu xian...@openmobilefree.net Signed-off-by: Xiangfu Liu xian...@openmobilefree.net --- nand_spl/board/xburst/nanonote/Makefile | 96 nand_spl/board/xburst/nanonote/u-boot.lds | 63 ++ nand_spl/nand_boot_jz4740.c | 344

[U-Boot] [PATCH v3 2/5] this is jz4740 head file

2010-12-06 Thread xiangfu
From: Xiangfu Liu xian...@openmobilefree.net Signed-off-by: Xiangfu Liu xian...@openmobilefree.net --- arch/mips/include/asm/jz4740.h | 1380 1 files changed, 1380 insertions(+), 0 deletions(-) create mode 100644 arch/mips/include/asm/jz4740.h diff

[U-Boot] [PATCH v3 5/5] add Ben NanoNote board

2010-12-06 Thread xiangfu
From: Xiangfu Liu xian...@openmobilefree.net Signed-off-by: Xiangfu Liu xian...@openmobilefree.net --- board/xburst/nanonote/Makefile| 45 board/xburst/nanonote/config.mk | 31 ++ board/xburst/nanonote/nanonote.c | 110 +++

[U-Boot] [PATCH v3 4/5] jz4740 nand driver

2010-12-06 Thread xiangfu
From: Xiangfu Liu xian...@openmobilefree.net Signed-off-by: Xiangfu Liu xian...@openmobilefree.net --- drivers/mtd/nand/jz4740_nand.c | 252 1 files changed, 252 insertions(+), 0 deletions(-) create mode 100644 drivers/mtd/nand/jz4740_nand.c diff --git

Re: [U-Boot] [PATCH] LZMA: Avoid free on null pointer.

2010-12-06 Thread Wolfgang Denk
Dear Luigi Mantellini, In message aanlkti=kq+zc7yvue5ssc=wzzuwecpmyqhq-c-hz0...@mail.gmail.com you wrote: my pov is different: free should (must) be called only on already allocated pointers. I know that free code checks at begin if ptr is null or not. Anyway I don't understand why a null

[U-Boot] [PATCH] PowerPC: Move -fPIC flag to common place

2010-12-06 Thread Joakim Tjernlund
The -fPIC flag belongs with -mrelocatable, move it there. Also change -fPIC to -fpic as this produces smaller binaries. However, currently -mrelocatable promotes -fpic to -fPIC, a fix for this is in upcoming gcc 4.6 or you can apply this small patch to gcc: diff --git a/gcc/config/rs6000/sysv4.h

[U-Boot] [PATCH] Fix Stelian's email address

2010-12-06 Thread Stelian Pop
Change my old email address which is no longer valid. Signed-off-by: Stelian Pop stel...@popies.net --- On Sat, Nov 27, 2010 at 11:27:28PM +0100, Albert ARIBAUD wrote: Apparently MAINTAINERS entry for Stelian Pop is not correct any more; CC:ing Stelian's address as last seen on the list. If

[U-Boot] Vexpress build fixes

2010-12-06 Thread Matt Waddel
Hi Wolfgang, Can these 3 patches be included before the next release? They fix build errors in the versatile express code. http://lists.denx.de/pipermail/u-boot/2010-December/082984.html http://lists.denx.de/pipermail/u-boot/2010-November/081034.html

Re: [U-Boot] [PATCH] MX5: Add initial support for mx53

2010-12-06 Thread Stefano Babic
On 12/06/2010 11:57 AM, Jason Liu wrote: Hi Jason, Add initial support for mx53 with the following change, - Add the iomux support and the pin definition, - Add the regs definition, clean up some unused def from mx51, - Add the low level init support, make use the freq input of setup_pll

Re: [U-Boot] [PATCH] env_nand: Use nand_read_skip_bad instead of nand_read

2010-12-06 Thread Scott Wood
On Sun, 5 Dec 2010 15:22:25 -0600 Paulraj, Sandeep s-paul...@ti.com wrote: The nand-read function returns an error code if correctable errors have occurred. This is not desirable, since the errors have been corrected! This patch switches to the nand_read_skip_bad function which

Re: [U-Boot] [PATCH alternate version V2] at91rm9200: fix lowlevel_init() SMRDATA size

2010-12-06 Thread Jens Scharsig
Dear Reinhard, Just tell me when a patch is final and ready to be applied :) If Andreas can confirm the patch, I my case its final regards Jens ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH] PowerPC: Add support for -msingle-pic-base

2010-12-06 Thread Joakim Tjernlund
-msingle-pic-base is a new gcc option for ppc and it reduces the size of my u-boot with 6-8 KB. While at it, add -fno-jump-tables too to save a few more bytes. -msingle-pic-base will be in gcc 4.6, however backported patches are available at http://bugs.gentoo.org/show_bug.cgi?id=347281

Re: [U-Boot] [PATCH 1/2] Add support for XZ decompression algorithm.

2010-12-06 Thread Joakim Tjernlund
XZ (aka LZMA2) is the new version of lzma compression format. The following patch add a cut-down version of XZ Embedded library (v20100702) that supports only single-call API. In order to enable XZ support, the CONFIG_XZ must be defined by board configuration file. For any details, please

Re: [U-Boot] [PATCH 1/2] Add support for XZ decompression algorithm.

2010-12-06 Thread Peter Tyser
Hi Luigi, On Sun, 2010-12-05 at 16:16 +0100, Luigi 'Comio' Mantellini wrote: XZ (aka LZMA2) is the new version of lzma compression format. The following patch add a cut-down version of XZ Embedded library (v20100702) that supports only single-call API. In order to enable XZ support, the

[U-Boot] [PATCH] ppc: transform init_sequence into a function.

2010-12-06 Thread Joakim Tjernlund
init_sequence is an array with function pointers which are really hard to follow when you need to debug this area. Turn it into plain function calls instead which makes the code a bit uglier but I find the simpler debugging much more valuable. An added bonus is that it is smaller too: text

Re: [U-Boot] [PATCH] AT91RM9200: fix AT91_PMC_MCKR_MDIV_* defines for this CPU

2010-12-06 Thread Guido Classen
Dear Reinhard Meyer, please find below the git-format-patch generated patch. Sorry, I can not see whose thread I hijacked. May you please explain? Best Regards Guido Signed-off-by: Guido Classen cla...@gmail.com --- arch/arm/include/asm/arch-at91/at91_pmc.h |8 1 files changed,

Re: [U-Boot] [PATCH 1/2] Add support for XZ decompression algorithm.

2010-12-06 Thread Mike Frysinger
On Monday, December 06, 2010 12:58:37 Peter Tyser wrote: On Sun, 2010-12-05 at 16:16 +0100, Luigi 'Comio' Mantellini wrote: XZ (aka LZMA2) is the new version of lzma compression format. The following patch add a cut-down version of XZ Embedded library (v20100702) that supports only

Re: [U-Boot] [PATCH] ppc: transform init_sequence into a function.

2010-12-06 Thread Wolfgang Denk
Dear Joakim Tjernlund, In message 1291658370-26367-1-git-send-email-joakim.tjernl...@transmode.se you wrote: init_sequence is an array with function pointers which are really hard to follow when you need to debug this area. Turn it into plain function calls instead which makes the code a bit

Re: [U-Boot] [PATCH] ppc: transform init_sequence into a function.

2010-12-06 Thread Joakim Tjernlund
Wolfgang Denk w...@denx.de wrote on 2010/12/06 21:09:47: Dear Joakim Tjernlund, In message 1291658370-26367-1-git-send-email-joakim.tjernl...@transmode.se you wrote: init_sequence is an array with function pointers which are really hard to follow when you need to debug this area. Turn

Re: [U-Boot] [PATCH alternate version V2] at91rm9200: fix lowlevel_init() SMRDATA size

2010-12-06 Thread Andreas Bießmann
Dear all, Am 06.12.2010 um 18:36 schrieb Jens Scharsig: Dear Reinhard, Just tell me when a patch is final and ready to be applied :) If Andreas can confirm the patch, I my case its final Ouch ... it is completely wrong :( See here ... ---8--- @@ -65,7 +65,8 @@ LoopOsc: ldr

Re: [U-Boot] [PATCH] ppc: transform init_sequence into a function.

2010-12-06 Thread Scott Wood
On Mon, 6 Dec 2010 21:42:28 +0100 Joakim Tjernlund joakim.tjernl...@transmode.se wrote: Wolfgang Denk w...@denx.de wrote on 2010/12/06 21:09:47: Dear Joakim Tjernlund, In message 1291658370-26367-1-git-send-email-joakim.tjernl...@transmode.se you wrote: init_sequence is an array

[U-Boot] [PATCH] gpio: add driver for PCA9539 16-bit I2C gpio expander

2010-12-06 Thread Chris Packham
This adds support for the PCA9539 family of gpio devices which have 16 output pins. The devices are similar to chips that use the pca953x driver except the register map is expanded (in a non-backwards compatible manner) to allow for the extra 8 pins. This driver has one gotcha that you can only

Re: [U-Boot] [PATCH] ppc: transform init_sequence into a function.

2010-12-06 Thread Wolfgang Denk
Dear Joakim Tjernlund, In message ofee7adeea.47556dd1-onc12577f1.006faf8d-c12577f1.0071c...@transmode.se you wrote: This is indeed much uglier. What exactly is your problem with debugging the existing code? Whenever I screw up so that one of the init funcs crashes, often without any

Re: [U-Boot] [PATCH] ppc: transform init_sequence into a function.

2010-12-06 Thread Graeme Russ
On Tue, Dec 7, 2010 at 8:33 AM, Scott Wood scottw...@freescale.com wrote: On Mon, 6 Dec 2010 21:42:28 +0100 Joakim Tjernlund joakim.tjernl...@transmode.se wrote: Wolfgang Denk w...@denx.de wrote on 2010/12/06 21:09:47: Dear Joakim Tjernlund, In message

Re: [U-Boot] Please pull u-boot-mpc85xx.git

2010-12-06 Thread Wolfgang Denk
Dear Kumar Gala, In message pine.lnx.4.64.1012011300240.2...@localhost.localdomain you wrote: [for v2010.12] The following changes since commit 49733aa0b9d29803384ad4bce74985f4bbe7e9aa: Merge branch 'master' of /home/wd/git/u-boot/custodians (2010-11-30 22:13:32 +0100) are available

Re: [U-Boot] Please pull u-boot-ubi/master (update)

2010-12-06 Thread Wolfgang Denk
Dear Stefan Roese, In message 201012041102.07290...@denx.de you wrote: The following changes since commit 49733aa0b9d29803384ad4bce74985f4bbe7e9aa: Merge branch 'master' of /home/wd/git/u-boot/custodians (2010-11-30 22:13:32 +0100) are available in the git repository at:

Re: [U-Boot] Pull request: u-boot-video/master

2010-12-06 Thread Wolfgang Denk
Dear Anatolij Gustschin, In message 20101204214204.26e1e...@wker you wrote: Dear Wolfgang, The following changes since commit 49733aa0b9d29803384ad4bce74985f4bbe7e9aa: Merge branch 'master' of /home/wd/git/u-boot/custodians (2010-11-30 22:13:32 +0100) are available in the git

Re: [U-Boot] [PATCH] ppc: transform init_sequence into a function.

2010-12-06 Thread Scott Wood
On Tue, 7 Dec 2010 09:36:40 +1100 Graeme Russ graeme.r...@gmail.com wrote: On Tue, Dec 7, 2010 at 8:33 AM, Scott Wood scottw...@freescale.com wrote: I think it's easier with the function pointers -- if you want to debug a hang in that phase of the boot, just have the loop print the address

Re: [U-Boot] [PATCH 1/2] Add support for XZ decompression algorithm.

2010-12-06 Thread Luigi Mantellini
Hi All, On Mon, Dec 6, 2010 at 7:06 PM, Mike Frysinger vap...@gentoo.org wrote: On Monday, December 06, 2010 12:58:37 Peter Tyser wrote: On Sun, 2010-12-05 at 16:16 +0100, Luigi 'Comio' Mantellini wrote: XZ (aka LZMA2) is the new version of lzma compression format. The following patch add a

Re: [U-Boot] [PATCH] ppc: transform init_sequence into a function.

2010-12-06 Thread Graeme Russ
On Tue, Dec 7, 2010 at 9:49 AM, Scott Wood scottw...@freescale.com wrote: On Tue, 7 Dec 2010 09:36:40 +1100 Graeme Russ graeme.r...@gmail.com wrote: On Tue, Dec 7, 2010 at 8:33 AM, Scott Wood scottw...@freescale.com wrote: I think it's easier with the function pointers -- if you want to

Re: [U-Boot] Please pull u-boot-atmel/for2010.12

2010-12-06 Thread Wolfgang Denk
Dear Reinhard Meyer, In message 4cfcb04b.10...@emk-elektronik.de you wrote: Dear Wolfgang, Albert, The following changes since commit 49733aa0b9d29803384ad4bce74985f4bbe7e9aa: Wolfgang Denk (1): Merge branch 'master' of /home/wd/git/u-boot/custodians are available in the git

Re: [U-Boot] [PATCH] ppc: transform init_sequence into a function.

2010-12-06 Thread Graeme Russ
On Tue, Dec 7, 2010 at 9:36 AM, Wolfgang Denk w...@denx.de wrote: Dear Joakim Tjernlund, In message ofee7adeea.47556dd1-onc12577f1.006faf8d-c12577f1.0071c...@transmode.se you wrote: [snip] The other way is to look up one those funs and set a BP there and hope for the best. Then repeat

Re: [U-Boot] [PATCH] ppc: transform init_sequence into a function.

2010-12-06 Thread Wolfgang Denk
Dear Graeme Russ, In message aanlktikh3o9gzwsueakn-bk+8iahueryk2il+ezzz...@mail.gmail.com you wrote: I agree, but you can't print the address before you have console output. I notice that console_init_f() can be up to 13th in the list of initialisation functions - How often is that the case?

Re: [U-Boot] [PATCH] ppc: transform init_sequence into a function.

2010-12-06 Thread Scott Wood
On Tue, 7 Dec 2010 10:04:23 +1100 Graeme Russ graeme.r...@gmail.com wrote: And sdram_adjust_866() - True, not 'a lot' But then there is dpram_init() as well which does not look like a pre-req to console DPRAM is not general purpose memory -- it actually is used by the serial hardware. And

Re: [U-Boot] [PATCH 1/2] Add support for XZ decompression algorithm.

2010-12-06 Thread Wolfgang Denk
Dear Luigi Mantellini, In message aanlkti=0oeqvuyldeq_xt2pwf=rfoqj7m3v38uyw7...@mail.gmail.com you wrote: The LZMA and XZ overlap on the internal LZMA code (each one has the own implementation). We can decide 1) to ignore this patch (and future rework) to not support XZ 2) have both XZ and

Re: [U-Boot] [PATCH] ppc: transform init_sequence into a function.

2010-12-06 Thread Wolfgang Denk
Dear Graeme Russ, In message aanlktimuptir6usc7k9srngtsxyep+0dxgz9fwhvs...@mail.gmail.com you wrote: And sdram_adjust_866() - True, not 'a lot' But then there is dpram_init() as well which does not look like a pre-req to console It is. On some 8xx system you have to load microcode and

Re: [U-Boot] Please pull u-boot-atmel/for2010.12

2010-12-06 Thread Reinhard Meyer
Dear Wolfgang Denk, In message4cfcb04b.10...@emk-elektronik.de you wrote: Dear Wolfgang, Albert, The following changes since commit 49733aa0b9d29803384ad4bce74985f4bbe7e9aa: Wolfgang Denk (1): Merge branch 'master' of /home/wd/git/u-boot/custodians are available in the git

Re: [U-Boot] [PATCH] ppc: transform init_sequence into a function.

2010-12-06 Thread Joakim Tjernlund
Scott Wood scottw...@freescale.com wrote on 2010/12/06 23:49:04: On Tue, 7 Dec 2010 09:36:40 +1100 Graeme Russ graeme.r...@gmail.com wrote: On Tue, Dec 7, 2010 at 8:33 AM, Scott Wood scottw...@freescale.com wrote: I think it's easier with the function pointers -- if you want to debug a

Re: [U-Boot] [PATCH] gpio: add driver for PCA9539 16-bit I2C gpio expander

2010-12-06 Thread Peter Tyser
Hi Chris, On Tue, 2010-12-07 at 10:48 +1300, Chris Packham wrote: This adds support for the PCA9539 family of gpio devices which have 16 output pins. The devices are similar to chips that use the pca953x driver except the register map is expanded (in a non-backwards compatible manner) to

Re: [U-Boot] [PATCH] ppc: transform init_sequence into a function.

2010-12-06 Thread Scott Wood
On Tue, 7 Dec 2010 01:07:30 +0100 Joakim Tjernlund joakim.tjernl...@transmode.se wrote: Scott Wood scottw...@freescale.com wrote on 2010/12/06 23:49:04: On Tue, 7 Dec 2010 09:36:40 +1100 Graeme Russ graeme.r...@gmail.com wrote: On Tue, Dec 7, 2010 at 8:33 AM, Scott Wood

Re: [U-Boot] onenand: fix oob print out issue

2010-12-06 Thread Scott Wood
On Thu, Dec 02, 2010 at 04:53:30AM -, Lei Wen wrote: Seems original implementation forget to set the pointer to point to the oobbuf, so when we want to see oob buf, we see nothing... Fix it by get pointer as the oobbuf set. Signed-off-by: Lei Wen lei...@marvell.com ---

Re: [U-Boot] [PATCH] ppc: transform init_sequence into a function.

2010-12-06 Thread Joakim Tjernlund
Wolfgang Denk w...@denx.de wrote on 2010/12/06 23:36:21: Dear Joakim Tjernlund, In message ofee7adeea.47556dd1-onc12577f1.006faf8d-c12577f1.0071c...@transmode.se you wrote: This is indeed much uglier. What exactly is your problem with debugging the existing code? Whenever I

Re: [U-Boot] [PATCH] env_nand: Use nand_read_skip_bad instead of nand_read

2010-12-06 Thread Scott Wood
On Mon, 6 Dec 2010 11:13:22 -0600 Scott Wood scottw...@freescale.com wrote: On Sun, 5 Dec 2010 15:22:25 -0600 Paulraj, Sandeep s-paul...@ti.com wrote: The nand-read function returns an error code if correctable errors have occurred. This is not desirable, since the errors have

Re: [U-Boot] fix s3c2410_nand timing default values

2010-12-06 Thread Scott Wood
On Mon, Nov 29, 2010 at 05:49:19AM -, =?utf-8?q?David_M=C3=BCller_=28ELSOFT_AG=29_=3Cd=2Emueller=40elsoft?==?utf-8?q?=2Ech=3E?= wrote: Hello The attached patch fixes wrong timing default values and adds the possibility to specify board specific timing value in the board config file.

Re: [U-Boot] [PATCH] ppc: transform init_sequence into a function.

2010-12-06 Thread Joakim Tjernlund
Scott Wood scottw...@freescale.com wrote on 2010/12/07 01:21:44: On Tue, 7 Dec 2010 01:07:30 +0100 Joakim Tjernlund joakim.tjernl...@transmode.se wrote: Scott Wood scottw...@freescale.com wrote on 2010/12/06 23:49:04: On Tue, 7 Dec 2010 09:36:40 +1100 Graeme Russ

[U-Boot] [PATCH] Honor /memory/reg node in DTB files

2010-12-06 Thread Deepak Saxena
commit 341764495180a712b9aaccfa0479b2ff7e44e35b Author: Deepak Saxena deepak_sax...@mentor.com Date: Mon Dec 6 15:52:07 2010 -0800 Honor /memory/reg node in DTB files This patch adds code to the bootm path to check if a valid /memory/reg node exists in the DTB file and if so, it

Re: [U-Boot] [PATCH] ppc: transform init_sequence into a function.

2010-12-06 Thread Scott Wood
On Tue, 7 Dec 2010 01:41:22 +0100 Joakim Tjernlund joakim.tjernl...@transmode.se wrote: Scott Wood scottw...@freescale.com wrote on 2010/12/07 01:21:44: On Tue, 7 Dec 2010 01:07:30 +0100 Joakim Tjernlund joakim.tjernl...@transmode.se wrote: Scott, listen to yourself. You are proposing

[U-Boot] [PATCH] 83xx NAND boot: fix boards.cfg

2010-12-06 Thread Scott Wood
This patch http://patchwork.ozlabs.org/patch/72962/ included a boards.cfg change, but it was omitted when applied as f1c574d4006d81301792e70fafc31ff39259e793 This fixes the NAND SPL build on MPC8315ERDB. Signed-off-by: Scott Wood scottw...@freescale.com --- Applied to u-boot-nand-flash

Re: [U-Boot] [PATCH] gpio: add driver for PCA9539 16-bit I2C gpio expander

2010-12-06 Thread Chris Packham
On Tue, Dec 7, 2010 at 1:13 PM, Peter Tyser pty...@xes-inc.com wrote: Hi Chris, On Tue, 2010-12-07 at 10:48 +1300, Chris Packham wrote: This adds support for the PCA9539 family of gpio devices which have 16 output pins. The devices are similar to chips that use the pca953x driver except the

Re: [U-Boot] onenand: fix oob print out issue

2010-12-06 Thread Lei Wen
Hi Scott, On Tue, Dec 7, 2010 at 8:23 AM, Scott Wood scottw...@freescale.com wrote: On Thu, Dec 02, 2010 at 04:53:30AM -, Lei Wen wrote: Seems original implementation forget to set the pointer to point to the oobbuf, so when we want to see oob buf, we see nothing... Fix it by get pointer

[U-Boot] [U-BOOT][PATCH V2] onenand: fix oob print out issue

2010-12-06 Thread Lei Wen
Seems original implementation forget to set the pointer to point to the oobbuf, so when we want to see oob buf, we see nothing... Fix it by get pointer as the oobbuf set. Signed-off-by: Lei Wen lei...@marvell.com --- Changelog: V1: Initial patch V2: remove the comment of oob data appended to

Re: [U-Boot] [PATCH] gpio: add driver for PCA9539 16-bit I2C gpio expander

2010-12-06 Thread Peter Tyser
snip You could do the same thing to the U-Boot pca953x driver. Eg at the top you could add: #ifdef CONFIG_PCA953X_16BIT #define NGPIO = 16 #else #define NGPIO = 8 #endif I have a small problem with this due to the fact that we have some designs here that use a pca9534 and a

Re: [U-Boot] [PATCH] gpio: add driver for PCA9539 16-bit I2C gpio expander

2010-12-06 Thread Chris Packham
On Tue, Dec 7, 2010 at 2:34 PM, Peter Tyser pty...@xes-inc.com wrote: snip You could do the same thing to the U-Boot pca953x driver. Eg at the top you could add: #ifdef CONFIG_PCA953X_16BIT #define NGPIO = 16 #else #define NGPIO = 8 #endif I have a small problem with this due to

Re: [U-Boot] [PATCH] MX5: Add initial support for mx53

2010-12-06 Thread Jason Liu
Hi, Stefano, 2010/12/7 Stefano Babic sba...@denx.de: On 12/06/2010 11:57 AM, Jason Liu wrote: Hi Jason, Add initial support for mx53 with the following change, - Add the iomux support and the pin definition, - Add the regs definition, clean up some unused def from mx51, - Add the low

Re: [U-Boot] [PATCH] gpio: add driver for PCA9539 16-bit I2C gpio expander

2010-12-06 Thread Peter Tyser
Chris Packham wrote: On Tue, Dec 7, 2010 at 2:34 PM, Peter Tyser pty...@xes-inc.com wrote: snip You could do the same thing to the U-Boot pca953x driver. Eg at the top you could add: #ifdef CONFIG_PCA953X_16BIT #define NGPIO = 16 #else #define NGPIO = 8 #endif I have

Re: [U-Boot] [PATCH] ppc: transform init_sequence into a function.

2010-12-06 Thread Wolfgang Denk
Dear Joakim Tjernlund, In message of9ff97b1b.1fc2bd05-onc12577f2.d034-c12577f2.0002f...@transmode.se you wrote: though the loop is cumbersome and not easy as BDI tends to flush the cache when it stops so you loose your stack. Does it? On which architecture / processor is this?

Re: [U-Boot] [PATCH] Honor /memory/reg node in DTB files

2010-12-06 Thread Wolfgang Denk
Dear Deepak Saxena, In message 4cfd863a.7070...@mentor.com you wrote: commit 341764495180a712b9aaccfa0479b2ff7e44e35b Author: Deepak Saxena deepak_sax...@mentor.com Date: Mon Dec 6 15:52:07 2010 -0800 Honor /memory/reg node in DTB files This patch adds code to the bootm path

Re: [U-Boot] [PATCH] MX5: Add initial support for mx53

2010-12-06 Thread Stefano Babic
On 12/07/2010 03:58 AM, Jason Liu wrote: I know all this crap is for MX51 in the TO1 version, even if I do not know if there are boards with this first version of the processor. Probably we must maintain this stuff for compatibility. Really I would like to remove it completely ;-). Do you

Re: [U-Boot] [PATCH] MX5: Add initial support for mx53

2010-12-06 Thread Jason Liu
Hi, Stefano, 2010/12/7 Stefano Babic sba...@denx.de: On 12/07/2010 03:58 AM, Jason Liu wrote: I know all this crap is for MX51 in the TO1 version, even if I do not know if there are boards with this first version of the processor. Probably we must maintain this stuff for compatibility.