[U-Boot] lookup tables: how can i manage them?

2008-10-19 Thread Luigi 'Comio' Mantellini
Hi ML, in my code (for now a stupid SMI interface) I'm using a jump table like this: struct reg:{ callback_1 c1, callback_2 c2, ... }; struct reg mytable[100]={ . } c1 and c2 are pointer to functions. My problem is that U-boot relocates itself into ram and

[U-Boot] [PATCH] 85xx: Fix compile warning in mpc8536ds.c

2008-10-19 Thread Kumar Gala
mpc8536ds.c: In function 'is_sata_supported': mpc8536ds.c:615: warning: unused variable 'devdisr' Signed-off-by: Kumar Gala [EMAIL PROTECTED] --- board/freescale/mpc8536ds/mpc8536ds.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/board/freescale/mpc8536ds/mpc8536ds.c

[U-Boot] [PATCH] bootm: Move to using a function pointer table for the boot os function

2008-10-19 Thread Kumar Gala
This removes a bit of code and makes it easier for the upcoming sub bootm command support to call into the proper OS specific handler. Signed-off-by: Kumar Gala [EMAIL PROTECTED] --- common/cmd_bootm.c | 67 +++ 1 files changed, 30 insertions(+),

Re: [U-Boot] [PATCH 19/24] FSL DDR: Convert STXSSA to new DDR code.

2008-10-19 Thread Kumar Gala
On Oct 18, 2008, at 1:07 PM, Wolfgang Denk wrote: Dear Kumar, In message [EMAIL PROTECTED] you wrote: Signed-off-by: Kumar Gala [EMAIL PROTECTED] --- board/stxssa/Makefile|9 -- board/stxssa/ddr.c | 70 ++

Re: [U-Boot] CUSTODIANS: Final boarding call for flight 2008-10

2008-10-19 Thread Remy Bohmer
Hello Wolfgang, can you please check if all urgent patches have been added to the U-Boot master branch? If anything should still be missing, please respond *now*. Shouldn't my USB (bugfix) patches not go in that Markus now has in his USB branch ? Kind Regards, Remy My intention is to

Re: [U-Boot] CUSTODIANS: Final boarding call for flight 2008-10

2008-10-19 Thread Remy Bohmer
2008/10/19 Remy Bohmer [EMAIL PROTECTED]: Hello Wolfgang, can you please check if all urgent patches have been added to the U-Boot master branch? If anything should still be missing, please respond *now*. Shouldn't my USB (bugfix) patches not go in that Markus now has in his USB branch ?

Re: [U-Boot] CUSTODIANS: Final boarding call for flight 2008-10

2008-10-19 Thread Wolfgang Denk
Dear Remy, In message [EMAIL PROTECTED] you wrote: Hello Wolfgang, can you please check if all urgent patches have been added to the U-Boot master branch? If anything should still be missing, please respond *now*. Shouldn't my USB (bugfix) patches not go in that Markus now has in his

Re: [U-Boot] CUSTODIANS: Final boarding call for flight 2008-10

2008-10-19 Thread Wolfgang Denk
Dear Remy Bohmer, In message [EMAIL PROTECTED] you wrote: Shouldn't my USB (bugfix) patches not go in that Markus now has in his USB branch ? Oops, I see, already too late... Only too late for 2008.10, but there will be another release coming soon... Best regards, Wolfgang Denk --

[U-Boot] CFI Driver Problem: flash not ready

2008-10-19 Thread Wolfgang Denk
Hi, while tryong to convert the TQM8260 board to using the CFI flash driver (instead of a perfectly working legacy flash driver) I ran into a strange problem: after an erase operation, the CFI driver returns without any error indication, but the flash is not ready yet. It takes some

[U-Boot] [PATCH] TQM8260: environment in flash instead EEPROM, baudrate 115k

2008-10-19 Thread Wolfgang Denk
From: Wolfgang Denk [EMAIL PROTECTED] Several customers have reported problems with the environment in EEPROM, including corrupted content after board reset. Probably the code to prevent I2C Enge Conditions is not working sufficiently. We move the environment to flash now, which allows to have a

Re: [U-Boot] [PATCH] i2c: merge all i2c_reg_read() and i2c_reg_write() into inline functions

2008-10-19 Thread Mike Frysinger
On Tuesday 14 October 2008, Timur Tabi wrote: Wolfgang Denk wrote: What about resubmitting this patch, with adding a debug() to the new, common i2c_reg_read() and i2c_reg_write() funtions? I can do that. First, however, I need Mike Frysinger to help me resolve the Blackfin version of

Re: [U-Boot] [PATCH] i2c: merge all i2c_reg_read() and i2c_reg_write() into inline functions

2008-10-19 Thread Timur Tabi
On Sun, Oct 19, 2008 at 4:18 PM, Mike Frysinger [EMAIL PROTECTED] wrote: it's broken and i fixed it in the Blackfin i2c read write. feel free to make the change and ignore the weirdness. Ah, thank you! I'll do it after WD pulls your repo. i havent been processing any @gentoo.org e-mail ...

Re: [U-Boot] CFI Driver Problem: flash not ready

2008-10-19 Thread Scott McNutt
Hi Wolfgang, Why the heck does flash_is_busy() return 0 when the flashobviously is still busy? Does this use the toggle bit detection? I saw the same symptoms with Nios II. Basically, the memory controller was reading the 16-bit flash twice to obtain a full 32-bit word, then returning just the

Re: [U-Boot] CFI Driver Problem: flash not ready

2008-10-19 Thread Wolfgang Denk
Dear Scott, In message [EMAIL PROTECTED] you wrote: Why the heck does flash_is_busy() return 0 when the flashobviously is still busy? Does this use the toggle bit detection? I saw the same symptoms Hm... how can I tell if it does? The driver reports AMD Standard command set, so it

Re: [U-Boot] [PATCH v2] bootm: Move to using a function pointer table for the boot os function

2008-10-19 Thread Kumar Gala
On Oct 19, 2008, at 1:44 PM, Jean-Christophe PLAGNIOL-VILLARD wrote: On 13:07 Sun 19 Oct , Kumar Gala wrote: This removes a bit of code and makes it easier for the upcoming sub bootm command support to call into the proper OS specific handler. Signed-off-by: Kumar Gala [EMAIL

Re: [U-Boot] [PATCH] i2c: merge all i2c_reg_read() and i2c_reg_write() into inline functions

2008-10-19 Thread Mike Frysinger
On Sunday 19 October 2008, Timur Tabi wrote: On Sun, Oct 19, 2008 at 4:18 PM, Mike Frysinger [EMAIL PROTECTED] wrote: it's broken and i fixed it in the Blackfin i2c read write. feel free to make the change and ignore the weirdness. Ah, thank you! I'll do it after WD pulls your repo. dont

Re: [U-Boot] FDT include file problems

2008-10-19 Thread Jerry Van Baren
On Mon, Oct 20, 2008 at 12:01:59AM +0200, Wolfgang Denk wrote: Hello, on some systems (for example Fedora Core 4) U-Boot builds with the following wanrings only: ... In file included from /home/wd/git/u-boot/include/libfdt_env.h:33, from fdt.c:51:

Re: [U-Boot] [U-Boot-Users] [PATCH] [resubmit] AX88180: new gigabit network driver

2008-10-19 Thread Mike Frysinger
On Sunday 12 October 2008, Ben Warren wrote: Wolfgang Denk wrote: Dear Ben, In message [EMAIL PROTECTED] you wrote: I don't see any responses to this latest version of the driver. Is there any special reason it was neither added nor rejected? ... No specific reasons - I should

[U-Boot] [PATCH] TQM8260: environment in flash instead EEPROM, baudrate 115k

2008-10-19 Thread Heiko Schocher
Hello Wolfgang, Wolfgang Denk wrote: Several customers have reported problems with the environment in EEPROM, including corrupted content after board reset. Probably the code to prevent I2C Enge Conditions is not working sufficiently. Is this somewhere reproducible? Maybe we can try my patch