[U-Boot-Users] [PATCH 0/1] Moved initialization of AVR32 Ethernet controllers to board_eth_init()

2008-07-05 Thread Ben Warren
Hello, More cleanup of net/eth.c, this time taking care of AVR32 boards. I got rid of the board/eth.c files because board_eth_init() needs to be in a file where there are other strong symbols in order to override the weak board_eth_init() in net/eth.c. I've compiled this code and verified that

Re: [U-Boot-Users] DTC and Binary Includes

2008-07-05 Thread Michal Simek
Hi Jon and Detlev, I sent the similar patch to Jon yesterday. I can confirm that I can compile DTC with small change in convert-dtsv0-lexer.l (add missing library). I tested it with Microblaze linux and seems that work well. I will test it binary include as well and I'll send you if is work or

Re: [U-Boot-Users] [PATCH 1/3] SDHC Support for AT572d940HF-EB

2008-07-05 Thread Jean-Christophe PLAGNIOL-VILLARD
On 00:02 Tue 17 Jun , Haavard Skinnemoen wrote: On Mon, 16 Jun 2008 16:13:32 -0500 [EMAIL PROTECTED] wrote: However, I was mistaken about my code being committed into the official u-boot tree. Please see my response above. Ok, I figured it must be something like that. That said,

Re: [U-Boot-Users] [PATCH]:arm926ejs: Regression to remove inappropriate LED control code from arch init start.S

2008-07-05 Thread Wolfgang Denk
In message [EMAIL PROTECTED] you wrote: cpu/arm926ejs/start.S: Removed code to LED init since it is not specific to the ARM CPU, but rather should go in the board/platform specific files. Signed-off-by: Daniel Allred djallred at gmail... Please provide a non-garbled, working mail address

Re: [U-Boot-Users] [AT91] Re: [PATCH] DataFlash AT45DB021 support

2008-07-05 Thread Wolfgang Denk
Dear Sergei, in message [EMAIL PROTECTED] you wrote: Wolfgang, are these simple patches of any interest to the general community, when they're so trivial to add? Wolfgang, could you please answer this? Sorry, I really don't know. Please see my previous message - this should be handled

Re: [U-Boot-Users] [AT91] Re: [PATCH] DataFlash AT45DB021 support

2008-07-05 Thread Wolfgang Denk
In message [EMAIL PROTECTED] you wrote: I added code to handle the 011 chip, but I really didn't think anyone would be interested in it. I think all such changes should get added to the public repository. If someone wants it, I can post it. Please do. Wolfgang, are these simple patches of

Re: [U-Boot-Users] [PATCH v3 2/4] Add lmb_free

2008-07-05 Thread Wolfgang Denk
In message [EMAIL PROTECTED] you wrote: lmb_free allows us to unreserve some memory so we can use lmb_alloc_base or lmb_reserve to temporarily reserve some memory. Signed-off-by: Andy Fleming [EMAIL PROTECTED] --- Rebased off the top of tree to ease application. lib_generic/lmb.c | 49

Re: [U-Boot-Users] [PATCH v3 3/4] Fix an underflow bug in __lmb_alloc_base

2008-07-05 Thread Wolfgang Denk
In message [EMAIL PROTECTED] you wrote: __lmb_alloc_base can underflow if it fails to find free space. This was fixed in linux with commit d9024df02ffe74d723d97d552f86de3b34beb8cc. This patch merely updates __lmb_alloc_base to resemble the current version in Linux. Signed-off-by: Andy

Re: [U-Boot-Users] [PATCH v3 4/4] Resize device tree to allow space for board changes and the chosen node

2008-07-05 Thread Wolfgang Denk
In message [EMAIL PROTECTED] you wrote: Current code requires that a compiled device tree have space added to the end to leave room for extra nodes added by board code (and the chosen node). This requires that device tree creators anticipate how much space U-Boot will add to the tree,

Re: [U-Boot-Users] [PATCH] Use the better ethernet timing at apollon

2008-07-05 Thread Wolfgang Denk
In message [EMAIL PROTECTED] you wrote: Use the better ethernet timing at apollon Signed-off-by: Kyungmin Park [EMAIL PROTECTED] --- diff --git a/board/apollon/mem.h b/board/apollon/mem.h index 5bc96fa..d4636f4 100644 Applied, thanks. Best regards, Wolfgang Denk -- DENX Software

Re: [U-Boot-Users] [PATCH v2] MMC: Consolidate MMC/SD command definitions

2008-07-05 Thread Wolfgang Denk
In message [EMAIL PROTECTED] you wrote: This moves the MMC and SD Card command definitions from include/asm/arch/mmc.h into include/mmc.h. These definitions are given by the MMC and SD Card standards, not by any particular architecture. There's a lot more room for consolidation in the MMC

Re: [U-Boot-Users] [PATCH] ARM: Add support for Lyrtech SFF-SDR board (ARM926EJS)

2008-07-05 Thread Wolfgang Denk
In message [EMAIL PROTECTED] you wrote: ARM: This patch adds support for the Lyrtech SFF-SDR board, based on the TI DaVinci architecture (ARM926EJS). Signed-off-by: Hugo Villeneuve [EMAIL PROTECTED] Signed-off-by: Philip Balister [EMAIL PROTECTED] --- MAKEALL |

Re: [U-Boot-Users] Fix endianess conversion in usb_ohci.c

2008-07-05 Thread Wolfgang Denk
In message [EMAIL PROTECTED] you wrote: I think this must be swapped (result may be equal). --- drivers/usb/usb_ohci.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) Markus, can you please comment on this patch? Thanks in advance. Best regards, Wolfgang Denk -- DENX

Re: [U-Boot-Users] [PATCH 1/2] fsl_elbc_nand: workaround for hangs during nand write

2008-07-05 Thread Wolfgang Denk
In message [EMAIL PROTECTED] you wrote: From: Anton Vorontsov [EMAIL PROTECTED] Using current driver elbc sometimes hangs during nand write. Reading back last byte helps though (thanks to Scott Wood for the idea). Signed-off-by: Anton Vorontsov [EMAIL PROTECTED] Signed-off-by: Scott Wood

Re: [U-Boot-Users] [PATCH] 85xx: extended cpu identification

2008-07-05 Thread Wolfgang Denk
In message [EMAIL PROTECTED] you wrote: The current cpu identification code is used just to return the name of the processor at boot. There are some other locations that the name is useful (device tree setup). Also, we add a feature field to convey useful attributes of the processor.

Re: [U-Boot-Users] Latest U-Boot MD5 compile error??

2008-07-05 Thread Wolfgang Denk
In message [EMAIL PROTECTED] you wrote: Possible fix, since I am a newbie at messing with somebody elses code can the owner of the MD5 code verify this problem / fix?? As I wrote before, I tried building on FC5 and on other systems (including FC4, FC6, F7, F8 and F9) without seing the problem

Re: [U-Boot-Users] [PATCH] Add sata sil3114 support (V2)

2008-07-05 Thread Wolfgang Denk
In message [EMAIL PROTECTED] you wrote: Add support for Silicon Images sil3114 sata chip using libata ... I have received no comments on the last version of this patch. Any posibility on getting it added? Sure - done. Sorry it took so long. Best regards, Wolfgang Denk -- DENX Software

[U-Boot-Users] [PATCH] lmb: fix implicit declaration of function 'lmb_free' warning

2008-07-05 Thread Wolfgang Denk
Signed-off-by: Wolfgang Denk [EMAIL PROTECTED] --- include/lmb.h |1 + lib_ppc/bootm.c |2 +- 2 files changed, 2 insertions(+), 1 deletions(-) diff --git a/include/lmb.h b/include/lmb.h index 03d7667..0283075 100644 --- a/include/lmb.h +++ b/include/lmb.h @@ -43,6 +43,7 @@ extern

[U-Boot-Users] [PATCH] Cleanup: fix out-of-tree building for some boards

2008-07-05 Thread Wolfgang Denk
Signed-off-by: Wolfgang Denk [EMAIL PROTECTED] --- board/MigoR/Makefile | 12 board/freescale/m5275evb/Makefile | 12 board/mpr2/Makefile | 12 board/ms7720se/Makefile | 12 board/ms7722se/Makefile

[U-Boot-Users] [PATCH] CCM board: fix build errors.

2008-07-05 Thread Wolfgang Denk
Signed-off-by: Wolfgang Denk [EMAIL PROTECTED] --- board/siemens/CCM/Makefile | 11 +-- 1 files changed, 9 insertions(+), 2 deletions(-) diff --git a/board/siemens/CCM/Makefile b/board/siemens/CCM/Makefile index e053c7d..fd3edb4 100644 --- a/board/siemens/CCM/Makefile +++

[U-Boot-Users] [PATCH] IAD210 board: fix ``ALIGN redefined'' warning.

2008-07-05 Thread Wolfgang Denk
Signed-off-by: Wolfgang Denk [EMAIL PROTECTED] --- board/siemens/IAD210/atm.c |5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/board/siemens/IAD210/atm.c b/board/siemens/IAD210/atm.c index c77e359..1b27f33 100644 --- a/board/siemens/IAD210/atm.c +++

[U-Boot-Users] [PATCH] SCM board: fix build errors.

2008-07-05 Thread Wolfgang Denk
Signed-off-by: Wolfgang Denk [EMAIL PROTECTED] --- board/siemens/SCM/Makefile | 13 ++--- 1 files changed, 10 insertions(+), 3 deletions(-) diff --git a/board/siemens/SCM/Makefile b/board/siemens/SCM/Makefile index edc1820..ed67a09 100644 --- a/board/siemens/SCM/Makefile +++

[U-Boot-Users] [PATCH] CCM/SCM boards: fix out of tree building

2008-07-05 Thread Wolfgang Denk
Signed-off-by: Wolfgang Denk [EMAIL PROTECTED] --- board/siemens/CCM/Makefile |2 +- board/siemens/SCM/Makefile |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/board/siemens/CCM/Makefile b/board/siemens/CCM/Makefile index fd3edb4..c5695f9 100644 ---

Re: [U-Boot-Users] [RFC][FSL DDR 0/8] Freescale DDR rewrite

2008-07-05 Thread Wolfgang Denk
Dear Kumar, in message [EMAIL PROTECTED] you wrote: This is a series of patches that are a work-in-progress towards a new DDR initialization for the Freescale 8{3,5,6}xxx devices that have a common DDR controller. Just to avoid misunderstandings: I understand these patches as RFC only (as the

Re: [U-Boot-Users] [PATCH] fdt: Fix typo in variable name.

2008-07-05 Thread Wolfgang Denk
In message [EMAIL PROTECTED] you wrote: Signed-off-by: Detlev Zundel [EMAIL PROTECTED] --- common/fdt_support.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Applied, thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev

Re: [U-Boot-Users] [PATCH 0/3] Move atmel_mci driver into drivers/mmc

2008-07-05 Thread Wolfgang Denk
In message [EMAIL PROTECTED] you wrote: So how about we start by introducing a new drivers/mmc directory and move the existing AVR32 driver there? In fact, this is so incredibly easy to do with git that I decided to just do it. The three patches posted as a follow-up to this e-mail is the

Re: [U-Boot-Users] [PATCH]jffs2_1pass.c - Adding watchdog support

2008-07-05 Thread Wolfgang Denk
In message [EMAIL PROTECTED] you wrote: Adds watchdog support. signed off by Stuart Wood [EMAIL PROTECTED] --- diff --git a/fs/jffs2/jffs2_1pass.c b/fs/jffs2/jffs2_1pass.c Applied, after fixing white space mangling (long lines wrapped around) and Signed-off-by: format errors. Please make

Re: [U-Boot-Users] Patch to clean up syntax highlighting

2008-07-05 Thread Wolfgang Denk
In message [EMAIL PROTECTED] you wrote: My text-editor (vim) has a bit of trouble syntax-highlighting the cmd_nvedit.c file, because it apparently does not parse C ifdef/else/endif. The following patch does not change the behavior of the code at all, but does allow the editor to properly

Re: [U-Boot-Users] Patch to setenv() to return status

2008-07-05 Thread Wolfgang Denk
In message [EMAIL PROTECTED] you wrote: Currently, the setenv function does not return an error code. I'd like to propose the following patch, because I want to be able to test for errors in a new BSP I'm writing. Comments invited. Signed-off-by: Steve Falco [EMAIL PROTECTED] Applied,

Re: [U-Boot-Users] [PATCH] Remove the obsolete cfg definition

2008-07-05 Thread Wolfgang Denk
In message [EMAIL PROTECTED] you wrote: From: Dave Liu [EMAIL PROTECTED] The rtl8139 driver doesn't need KSEG again, remove it. the _IO_BASE has default value as 0, so also remove it. Signed-off-by: Dave Liu [EMAIL PROTECTED] --- include/configs/HIDDEN_DRAGON.h |3 ---

Re: [U-Boot-Users] [PATCH] Add sata sil3114 support (V2)

2008-07-05 Thread Wolfgang Denk
In message [EMAIL PROTECTED] you wrote: --===025132== Add support for Silicon Images sil3114 sata chip using libata Changes since last version * use debug() print instead of local version * Coding standard and whitespace fixes Signed-off-by: Tor Krill [EMAIL PROTECTED]

Re: [U-Boot-Users] [PATCH] Squash warnings from pointer aliasing in dlmalloc

2008-07-05 Thread Wolfgang Denk
In message [EMAIL PROTECTED] you wrote: When we building with gcc-4.3.x on a ppc host we get the following warnings: dlmalloc.c: In function 'malloc_extend_top': dlmalloc.c:1971: warning: dereferencing type-punned pointer will break strict-aliasing rules dlmalloc.c:1999: warning:

Re: [U-Boot-Users] [PATCH V4] Add mechanisms for CPU and board-specific Ethernet initialization

2008-07-05 Thread Wolfgang Denk
In message [EMAIL PROTECTED] you wrote: This patch is the first step in cleaning up net/eth.c, by moving Ethernet initialization to CPU or board-specific code. Initial implementation is only on the Freescale TSEC controller, but others will be added soon. Signed-off-by: Ben Warren [EMAIL

[U-Boot-Users] Release status - things to be done

2008-07-05 Thread Wolfgang Denk
Hi everybody, here is a summary of the current state of my processing of patches that have been submitted for the upcoming 1.3.4 release. As you might have noticed, I've been on vacation for the last two weeks, and I spent this time (intentionally) completely offline. So please apologize if

Re: [U-Boot-Users] [PATCH]serial_pl010.c - Add watchdog support

2008-07-05 Thread Wolfgang Denk
In message [EMAIL PROTECTED] you wrote: Adding watch dog support signed off by Stuart Wood [EMAIL PROTECTED] diff --git a/drivers/serial/serial_pl010.c b/drivers/serial/serial_pl010.c index 417b6ae..134ed09 100644 Applied, after fixing Signed-off-by: format error. Best regards, Wolfgang

Re: [U-Boot-Users] [PATCH] MPC8641HPCN: Report board id, board version and fpga version.

2008-07-05 Thread Wolfgang Denk
Dear Jon, in message [EMAIL PROTECTED] you wrote: Kumar Gala wrote: Signed-off-by: Kumar Gala [EMAIL PROTECTED] --- board/freescale/mpc8641hpcn/mpc8641hpcn.c |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) Applied to -mpc86xx repo. I guess I'll see a pull request

Re: [U-Boot-Users] [PATCH] mpc8260: add fdt_fixup_ethernet support

2008-07-05 Thread Wolfgang Denk
In message [EMAIL PROTECTED] you wrote: Add support for updating mac-address and local-mac-address in fdt for all MPC8260 targets. Signed-off-by: Esben Haabendal [EMAIL PROTECTED] --- cpu/mpc8260/cpu.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) Applied, after fixing

Re: [U-Boot-Users] [PATCH v3] ppc: Added fls, fls64, __ilog2_u64, and ffs64 to bitops

2008-07-05 Thread Wolfgang Denk
In message [EMAIL PROTECTED] you wrote: fls64, __ilog2_u64, ffs64 are variants that work on an u64 and fls is used to implement them. Signed-off-by: Kumar Gala [EMAIL PROTECTED] --- Added comment about __ilog2(0) not being generally safe from Haavard Skinnemoen - k

Re: [U-Boot-Users] [PATCH]: Fix for bug: U-boot environment corrupt by reading uninitialized flash memory instead of RAM.

2008-07-05 Thread Wolfgang Denk
In message [EMAIL PROTECTED] you wrote: So what *is* the state of this? If nobody responds soon, I will indeed re-apply that patch, andthen I will not revert this commit again. So if you think this bytes you, please speak up *now*. Jock, would you please send me a reminder in a

Re: [U-Boot-Users] [PATCH v2] Move conditional compilation of MPC8XXX SPI driver to Makefile

2008-07-05 Thread Wolfgang Denk
In message [EMAIL PROTECTED] you wrote: Signed-off-by: Ben Warren [EMAIL PROTECTED] --- board/freescale/mpc8349emds/mpc8349emds.c |2 +- drivers/spi/Makefile |2 +- drivers/spi/mpc8xxx_spi.c |2 -- include/configs/MPC8349EMDS.h |

Re: [U-Boot-Users] [PATCH] Allow per file CFLAGS and AFLAGS

2008-07-05 Thread Wolfgang Denk
In message [EMAIL PROTECTED] you wrote: Mimic the linux kernel build system's ability to have per source file CFLAGS or AFLAGS. In the makefile you can now do: CFLAGS_file.o += MY_FLAGS_OPTIONS Signed-off-by: Kumar Gala [EMAIL PROTECTED] I'm not sure why this would be needed. I tend to

Re: [U-Boot-Users] [PATCH] Some copy-n-paste fixes in printf usage

2008-07-05 Thread Wolfgang Denk
In message [EMAIL PROTECTED] you wrote: From 9bdd14533d7c6f0af336b59a2a026093be84eff9 Mon Sep 17 00:00:00 2001 From: Matvejchikov Ilya [EMAIL PROTECTED](none) Date: Sat, 7 Jun 2008 17:01:42 +0400 Subject: [PATCH] Some copy-n-paste fixes in printf usage Signed-off-by: Matvejchikov Ilya

Re: [U-Boot-Users] [MIPS] Convert CPU type name into CONFIG_CPU_*

2008-07-05 Thread Shinya Kuribayashi
Wolfgang Denk wrote: In message [EMAIL PROTECTED] you wrote: Well, yes - if it's for compiler/assembler options only, then the board config file is not the correct place for this. I don't think so because 1) CPU type is not board-dependent, and 2) the board config file is not board-specific

Re: [U-Boot-Users] [PATCH v2] net: Conditional COBJS inclusion of network drivers

2008-07-05 Thread Shinya Kuribayashi
Wolfgang Denk wrote: Hm... Are you absolutely sure your changes, especially the CONFIG_CMD_NET and even more the CONFIG_NET_MULTI related ones, do not cause any trouble on any systems? [...] It seems not obvious to me that your change is really harmless, or tested. Could you please

Re: [U-Boot-Users] [PATCH] mips: When booting Linux images, add 'ethaddr' and 'eth1addr' to the environment

2008-07-05 Thread Shinya Kuribayashi
Jason McMullan wrote: Add 'ethaddr' and 'eth1addr' to the Linux kernel environment if they are set in the U-Boot environment. I missed this mail, sorry for my late reply. Patch itself looks correct, but let me confirm. Looking closely into linux/arch/*, I found that mips is the only