[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 the strong
board_eth_init() symbols are linked in, but don't have hardware to test on.
If somebody can, please try out and let me know.

These patches are being staged in the 'testing' branch of the net repo.

regards,
Ben

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users


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 not.

Michal


 Hi Jon,
 
 I seem to recall that those working on the either
 the next U-Boot V2 or the next version of the FDT
 image structure were planning on using the binary
 include mechanism of the DTC.

 Several days ago I added the Binary Include patch
 to DTC and tagged a candidate release.  Could you
 verify that this version satisfies your needs and
 works for you?
 
 Hm, you mean the tag v1.2.0-rc1?  I couldn't compile nor install that
 version on my system without the attached patch.
 
 I did not yet test the functionality, but that is only a question of
 time ;)
 
 Cheers
   Detlev
 
 
 
 
 
 -
 Check out the new SourceForge.net Marketplace.
 It's the best place to buy or sell services for
 just about anything Open Source.
 http://sourceforge.net/services/buy/index.php
 
 
 
 
 ___
 U-Boot-Users mailing list
 U-Boot-Users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/u-boot-users

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users


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, I take it this means that we have not two but _three_
 drivers for the same hardware floating around in various trees, all of
 which are forked off the original avr32 driver. I think this is another
 reason to get those drivers merged together ASAP.
 
 I also hope that we can get your MMC+ support into the common driver
 eventually, with proper attributions and copyrights of course ;-) but I
 think the merge needs to happen first.
 
 I suggest we start with the three patches I posted moving the avr32
 driver into drivers/mmc, then make the minimal set of changes necessary
 to support AT91 and Diopsis, and then start adding additional features
 from the other drivers, like MMC+ and SDHC support.
 
 The first two steps should certainly be doable in time for the next
 merge window. I suspect MMC+ and SDHC support needs more testing and
 review, but it may be doable as well.
 
 Does this sound like a good plan to everyone?

Good for me

Best Regards,
J.

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users


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 in your
Signed-off-by line.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH, MD: Wolfgang Denk  Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED]
He is truly wise who gains wisdom from another's mishap.

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users


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 by the AT91 custodian. Please ping him directly.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH, MD: Wolfgang Denk  Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED]
Artificial Intelligence is no match for natural stupidity.

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users


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 any interest to the general
 community, when they're so trivial to add?

Sorry, I really have no idea why these patches have not been picked
up yet by the AT91 custodian...

I think they should go in, but I don't have any such hardware so I
cannot test anything.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH, MD: Wolfgang Denk  Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED]
It is better to have tried and failed than to have  failed  to  try,
but the result's the same.   - Mike Dennison

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users


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 +
  1 files changed, 49 insertions(+), 0 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH, MD: Wolfgang Denk  Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED]
There is such a fine line between genius and stupidity.
- David St. Hubbins, Spinal Tap

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users


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 Fleming [EMAIL PROTECTED]
 ---
 Rebased off the top of tree to ease application.
 
  lib_generic/lmb.c |   34 +++---
  1 files changed, 19 insertions(+), 15 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH, MD: Wolfgang Denk  Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED]
Vulcans believe peace should not depend on force.
-- Amanda, Journey to Babel, stardate 3842.3

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users


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, which is absurd.  Ideally, the code would resize and/or relocate the
 tree when it needed more space, but this would require a systemic change to 
 the
 fdt code, which is non-trivial.  Instead, we resize the tree inside
 boot_relocate_fdt, reserving either the remainder of the bootmap (in the case
 where the fdt is inside the bootmap), or adding CFG_FDT_PAD bytes to the size.
 
 Signed-off-by: Andy Fleming [EMAIL PROTECTED]
 ---
 Rebased off the top of tree to ease application.
 
  lib_ppc/bootm.c |   66 --
  1 files changed, 58 insertions(+), 8 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH, MD: Wolfgang Denk  Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED]
CAUTION:  The Mass of This Product Contains the Energy Equivalent  of
85 Million Tons of TNT per Net Ounce of Weight.

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users


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 Engineering GmbH, MD: Wolfgang Denk  Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED]
One does not thank logic.
-- Sarek, Journey to Babel, stardate 3842.4

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users


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 drivers which I'm
 hoping to get done eventually, but this patch is a start.
 
 Compile-tested for all avr32 boards as well as lpc2292sodimm and
 lubbock. This should cover all three mmc drivers in the tree.
 
 Signed-off-by: Haavard Skinnemoen [EMAIL PROTECTED]
...
  cpu/at32ap/atmel_mci.c  |4 ++--
  cpu/pxa/mmc.c   |   11 +++
  include/asm-arm/arch-pxa/mmc.h  |   17 -
  include/asm-avr32/arch-at32ap700x/mmc.h |   19 ---
  include/mmc.h   |   24 
  5 files changed, 33 insertions(+), 42 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH, MD: Wolfgang Denk  Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED]
Unsichtbar macht sich die Dummheit, indem sie immer  größere  Ausmaße
annimmt. -- Bertold Brecht: Der Tui-Roman

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users


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   |1 +
  Makefile  |3 +
  board/davinci/sffsdr/Makefile |   52 +
  board/davinci/sffsdr/board_init.S |   29 +
  board/davinci/sffsdr/config.mk|   24 
  board/davinci/sffsdr/dv_board.c   |  212 
 +
  board/davinci/sffsdr/u-boot.lds   |   52 +
  include/asm-arm/mach-types.h  |   13 +++
  include/configs/davinci_sffsdr.h  |  177 +++
  9 files changed, 563 insertions(+), 0 deletions(-)

Applied [with minor fix in the board Makefile], thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH, MD: Wolfgang Denk  Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED]
Do we define evil as the absence of goodness? It seems only  logical
that shit happens--we discover this by the process of elimination.
-- Larry Wall

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users


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 Software Engineering GmbH, MD: Wolfgang Denk  Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED]
You can observe a lot just by watchin'.  - Yogi Berra

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users


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 [EMAIL PROTECTED]
 ---
  drivers/mtd/nand/fsl_elbc_nand.c |   11 ++-
  1 files changed, 10 insertions(+), 1 deletions(-)

I guess (and I don't like having to guess) that this patch is intended
for the new NAND code, as we don't even have a file fsl_elbc_nand.c
in mainline yet?

It would be really helpful if you could be explicit and make clear
what the target of such patches is.

Thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH, MD: Wolfgang Denk  Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED]
I don't want to be young again, I just don't want to get any older.

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users


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.
 
 (for 85xx we have a single feature to tell if the processor has a crypto
 engine or not).
 
 Signed-off-by: Kumar Gala [EMAIL PROTECTED]
 ---
  cpu/mpc85xx/cpu.c   |   77 ++
  include/asm-ppc/processor.h |   13 +++
  2 files changed, 53 insertions(+), 37 deletions(-)

There was some discussion about this patch, but I don't see an updated
version posted, nor was it picked up (and fixed) by the custodian.

So what's the state of this patch?

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH, MD: Wolfgang Denk  Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED]
He only drinks when he gets depressed. Why does he get depressed?
Sometimes it's because he hasn't had a drink.
 - Terry Pratchett, _Men at Arms_

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users


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 you
describe.

 I found that if I did the following with changing some include files, this
 will now compile on my older FC5 system. Oddly I tried the newer ELDK42,
 etc.. not sure why this is broke on my box, but it was not the ELDK install
 or the source code being corrupted.
 
 
 MD5 Compile Fix:
 
 1) In file 'include/u-boot/md5.h' change the 
   #include linux/types.h -- #include asm/types.h
 
 2) In file 'tools/md5.c' remove the reference to 
   #include linux/types.h

Can you please provide a proper patch instead? See
http://www.denx.de/wiki/UBoot/Patches for guidelines how to prepare
one.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH, MD: Wolfgang Denk  Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED]
As far as the laws of mathematics refer  to  reality,  they  are  not
certain;  and  as  far  as  they  are  certain,  they do not refer to
reality.   -- Albert Einstein

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users


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 Engineering GmbH, MD: Wolfgang Denk  Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED]
Our universe is a fragile house of atoms, held together by the mortar
of cause-and-effect. One magician would be two too many.
- Terry Pratchett, _The Dark Side of the Sun_

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users


[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 phys_addr_t lmb_alloc_base(struct lmb *lmb, 
phys_size_t size, ulong align
 extern phys_addr_t __lmb_alloc_base(struct lmb *lmb, phys_size_t size, ulong 
align,
  phys_addr_t max_addr);
 extern int lmb_is_reserved(struct lmb *lmb, phys_addr_t addr);
+extern long lmb_free(struct lmb *lmb, u64 base, u64 size);
 
 extern void lmb_dump_all(struct lmb *lmb);
 
diff --git a/lib_ppc/bootm.c b/lib_ppc/bootm.c
index 9db1c2e..3c1c18b 100644
--- a/lib_ppc/bootm.c
+++ b/lib_ppc/bootm.c
@@ -212,7 +212,7 @@ do_bootm_linux(cmd_tbl_t *cmdtp, int flag, int argc, char 
*argv[],
}
 
/* Delete the old LMB reservation */
-   lmb_free(lmb, of_flat_tree, fdt_totalsize(of_flat_tree));
+   lmb_free(lmb, (uint64_t)of_flat_tree, 
fdt_totalsize(of_flat_tree));
 
/* Calculate the actual size of the fdt */
actualsize = fdt_off_dt_strings(of_flat_tree) +
-- 
1.5.5.1


-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users


[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   |   12 
 board/ms7750se/Makefile   |   16 ++--
 board/r2dplus/Makefile|   16 ++--
 board/r7780mp/Makefile|   12 
 board/sh7763rdp/Makefile  |   12 
 cpu/sh3/Makefile  |   22 +++---
 cpu/sh4/Makefile  |   22 +++---
 11 files changed, 106 insertions(+), 54 deletions(-)

diff --git a/board/MigoR/Makefile b/board/MigoR/Makefile
index f1e2856..1f7d003 100644
--- a/board/MigoR/Makefile
+++ b/board/MigoR/Makefile
@@ -24,11 +24,15 @@
 
 include $(TOPDIR)/config.mk
 
-LIB= lib$(BOARD).a
+LIB= $(obj)lib$(BOARD).a
 
 OBJS   := migo_r.o
 SOBJS  := lowlevel_init.o
 
+SRCS   := $(SOBJS:.o=.S) $(COBJS:.o=.c)
+OBJS   := $(addprefix $(obj),$(COBJS))
+SOBJS  := $(addprefix $(obj),$(SOBJS))
+
 $(LIB):$(OBJS) $(SOBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS)
 
@@ -40,9 +44,9 @@ distclean:clean
 
 #
 
-.depend:   Makefile $(SOBJS:.o=.S) $(OBJS:.o=.c)
-   $(CC) -M $(CPPFLAGS) $(SOBJS:.o=.S) $(OBJS:.o=.c)  $@
+# defines $(obj).depend target
+include $(SRCTREE)/rules.mk
 
--include .depend
+sinclude $(obj).depend
 
 #
diff --git a/board/freescale/m5275evb/Makefile 
b/board/freescale/m5275evb/Makefile
index 5d09afe..ef0b19e 100644
--- a/board/freescale/m5275evb/Makefile
+++ b/board/freescale/m5275evb/Makefile
@@ -23,18 +23,22 @@
 
 include $(TOPDIR)/config.mk
 
-LIB= lib$(BOARD).a
+LIB= $(obj)lib$(BOARD).a
 
 OBJS   = $(BOARD).o mii.o
 
+SRCS   := $(SOBJS:.o=.S) $(COBJS:.o=.c)
+OBJS   := $(addprefix $(obj),$(COBJS))
+SOBJS  := $(addprefix $(obj),$(SOBJS))
+
 $(LIB):.depend $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS)
 
 #
 
-.depend:   Makefile $(SOBJS:.o=.S) $(OBJS:.o=.c)
-   $(CC) -M $(CFLAGS) $(SOBJS:.o=.S) $(OBJS:.o=.c)  $@
+# defines $(obj).depend target
+include $(SRCTREE)/rules.mk
 
-sinclude .depend
+sinclude $(obj).depend
 
 #
diff --git a/board/mpr2/Makefile b/board/mpr2/Makefile
index a10ec77..69e6525 100644
--- a/board/mpr2/Makefile
+++ b/board/mpr2/Makefile
@@ -30,11 +30,15 @@
 
 include $(TOPDIR)/config.mk
 
-LIB= lib$(BOARD).a
+LIB= $(obj)lib$(BOARD).a
 
 OBJS   := mpr2.o
 SOBJS  := lowlevel_init.o
 
+SRCS   := $(SOBJS:.o=.S) $(COBJS:.o=.c)
+OBJS   := $(addprefix $(obj),$(COBJS))
+SOBJS  := $(addprefix $(obj),$(SOBJS))
+
 $(LIB):$(OBJS) $(SOBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS)
 
@@ -46,9 +50,9 @@ distclean:clean
 
 #
 
-.depend:   Makefile $(SOBJS:.o=.S) $(OBJS:.o=.c)
-   $(CC) -M $(CPPFLAGS) $(SOBJS:.o=.S) $(OBJS:.o=.c)  $@
+# defines $(obj).depend target
+include $(SRCTREE)/rules.mk
 
--include .depend
+sinclude $(obj).depend
 
 #
diff --git a/board/ms7720se/Makefile b/board/ms7720se/Makefile
index 236959c..0288bed 100644
--- a/board/ms7720se/Makefile
+++ b/board/ms7720se/Makefile
@@ -27,11 +27,15 @@
 
 include $(TOPDIR)/config.mk
 
-LIB= lib$(BOARD).a
+LIB= $(obj)lib$(BOARD).a
 
 OBJS   := ms7720se.o
 SOBJS  := lowlevel_init.o
 
+SRCS   := $(SOBJS:.o=.S) $(COBJS:.o=.c)
+OBJS   := $(addprefix $(obj),$(COBJS))
+SOBJS  := $(addprefix $(obj),$(SOBJS))
+
 $(LIB):$(OBJS) $(SOBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS)
 
@@ -43,9 +47,9 @@ distclean:clean
 
 #
 
-.depend:   Makefile $(SOBJS:.o=.S) $(OBJS:.o=.c)
-   $(CC) -M $(CPPFLAGS) $(SOBJS:.o=.S) $(OBJS:.o=.c)  $@
+# defines $(obj).depend target
+include $(SRCTREE)/rules.mk
 
--include .depend
+sinclude $(obj).depend
 
 #
diff --git a/board/ms7722se/Makefile b/board/ms7722se/Makefile
index b384687..41e0faf 100644
--- a/board/ms7722se/Makefile
+++ b/board/ms7722se/Makefile
@@ -24,11 +24,15 @@
 
 include $(TOPDIR)/config.mk
 
-LIB= lib$(BOARD).a
+LIB= $(obj)lib$(BOARD).a
 
 OBJS   := ms7722se.o
 SOBJS  := lowlevel_init.o
 
+SRCS   := $(SOBJS:.o=.S) $(COBJS:.o=.c)
+OBJS   := $(addprefix $(obj),$(COBJS))
+SOBJS  := $(addprefix $(obj),$(SOBJS))
+
 $(LIB):$(OBJS) $(SOBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS)
 
@@ -40,9 +44,9 @@ distclean:clean
 
 

[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
+++ b/board/siemens/CCM/Makefile
@@ -22,6 +22,7 @@
 #
 
 include $(TOPDIR)/config.mk
+
 ifneq ($(OBJTREE),$(SRCTREE))
 $(shell mkdir -p $(obj)../common)
 $(shell mkdir -p $(obj)../../tqm8xx)
@@ -30,15 +31,21 @@ endif
 LIB= $(obj)lib$(BOARD).a
 
 COBJS  = ccm.o flash.o fpga_ccm.o ../common/fpga.o \
- ../../tqm8xx/load_sernum_ethaddr.o
+ ../../tqc/tqm8xx/load_sernum_ethaddr.o
 
 SRCS   := $(SOBJS:.o=.S) $(COBJS:.o=.c)
 OBJS   := $(addprefix $(obj),$(COBJS))
 SOBJS  := $(addprefix $(obj),$(SOBJS))
 
-$(LIB):$(obj).depend $(OBJS)
+$(LIB):$(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS)
 
+clean:
+   rm -f $(SOBJS) $(OBJS)
+
+distclean: clean
+   rm -f $(LIB) core *.bak $(obj).depend
+
 #
 
 # defines $(obj).depend target
-- 
1.5.5.1


-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users


[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
+++ b/board/siemens/IAD210/atm.c
@@ -1,4 +1,3 @@
-
 #include common.h
 #include mpc8xx.h
 #include commproc.h
@@ -7,7 +6,7 @@
 #include linux/stddef.h
 
 #define SYNC __asm__(sync)
-#define ALIGN(p, a) ((char *)(((uint32)(p)+(a)-1)  ~((uint32)(a)-1)))
+#define MY_ALIGN(p, a) ((char *)(((uint32)(p)+(a)-1)  ~((uint32)(a)-1)))
 
 #define FALSE  1
 #define TRUE   0
@@ -160,7 +159,7 @@ int atmMemInit()
   g_atm.csram = csram[0];
   memset((g_atm.csram), 0x00, g_atm.csram_size);
 
-  g_atm.int_reload_ptr = (uint32 *)ALIGN(g_atm.csram, 4);
+  g_atm.int_reload_ptr = (uint32 *)MY_ALIGN(g_atm.csram, 4);
   g_atm.rbd_base_ptr = (struct atm_bd_t *)(g_atm.int_reload_ptr + 
NUM_INT_ENTRIES);
   g_atm.tbd_base_ptr = (struct atm_bd_t *)(g_atm.rbd_base_ptr + total_num_rbd);
 
-- 
1.5.5.1


-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users


[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
+++ b/board/siemens/SCM/Makefile
@@ -22,23 +22,30 @@
 #
 
 include $(TOPDIR)/config.mk
+
 ifneq ($(OBJTREE),$(SRCTREE))
 $(shell mkdir -p $(obj)../common)
-$(shell mkdir -p $(obj)../../tqm8xx/)
+$(shell mkdir -p $(obj)../../tqm8xx)
 endif
 
 LIB= $(obj)lib$(BOARD).a
 
 COBJS  = scm.o flash.o fpga_scm.o ../common/fpga.o \
- ../../tqm8xx/load_sernum_ethaddr.o
+ ../../tqc/tqm8xx/load_sernum_ethaddr.o
 
 SRCS   := $(SOBJS:.o=.S) $(COBJS:.o=.c)
 OBJS   := $(addprefix $(obj),$(COBJS))
 SOBJS  := $(addprefix $(obj),$(SOBJS))
 
-$(LIB):$(obj).depend $(OBJS)
+$(LIB):$(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS)
 
+clean:
+   rm -f $(SOBJS) $(OBJS)
+
+distclean: clean
+   rm -f $(LIB) core *.bak $(obj).depend
+
 #
 
 # defines $(obj).depend target
-- 
1.5.5.1


-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users


[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
--- a/board/siemens/CCM/Makefile
+++ b/board/siemens/CCM/Makefile
@@ -25,7 +25,7 @@ include $(TOPDIR)/config.mk
 
 ifneq ($(OBJTREE),$(SRCTREE))
 $(shell mkdir -p $(obj)../common)
-$(shell mkdir -p $(obj)../../tqm8xx)
+$(shell mkdir -p $(obj)../../tqc/tqm8xx)
 endif
 
 LIB= $(obj)lib$(BOARD).a
diff --git a/board/siemens/SCM/Makefile b/board/siemens/SCM/Makefile
index ed67a09..6ef49c2 100644
--- a/board/siemens/SCM/Makefile
+++ b/board/siemens/SCM/Makefile
@@ -25,7 +25,7 @@ include $(TOPDIR)/config.mk
 
 ifneq ($(OBJTREE),$(SRCTREE))
 $(shell mkdir -p $(obj)../common)
-$(shell mkdir -p $(obj)../../tqm8xx)
+$(shell mkdir -p $(obj)../../tqc/tqm8xx)
 endif
 
 LIB= $(obj)lib$(BOARD).a
-- 
1.5.5.1


-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users


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 subject says), i. e. this is not an attempt yet to get
this included in the upcoming release. Please confirm.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH, MD: Wolfgang Denk  Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED]
miracle:  an  extremely  outstanding  or  unusual  event,  thing,  or
accomplishment.- Webster's Dictionary

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users


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 Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED]
Remember, Information is not knowledge;  Knowledge  is  not  Wisdom;
Wisdom is not truth; Truth is not beauty; Beauty is not love; Love is
not music; Music is the best.  - Frank Zappa

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users


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 result. I've verified that it compiles and that the driver gets
 included in the final image, but I haven't actually run it.
 
 Now, if you move your modified driver into drivers/mmc and generate a
 patch against this series, it will be much easier to review your
 changes. And any bug fixes done on one platform will benefit all.
 
 To use the driver, simply add #define CONFIG_ATMEL_MCI to your board
 config file.
 
 Shortlog and diffstat for the whole series follows.
 
 Haavard Skinnemoen (3):
   Create drivers/mmc subdirectory
   avr32: Use CONFIG_ATMEL_MCI to select the atmel_mci driver
   mmc: Move atmel_mci driver into drivers/mmc
 
  Makefile|2 +
  cpu/at32ap/Makefile |1 -
  drivers/mmc/Makefile|   46 
 +++
  {cpu/at32ap = drivers/mmc}/atmel_mci.c |0 
  {cpu/at32ap = drivers/mmc}/atmel_mci.h |0 
  include/configs/atngw100.h  |1 +
  include/configs/atstk1002.h |1 +
  include/configs/atstk1003.h |1 +
  include/configs/atstk1004.h |1 +
  include/configs/atstk1006.h |1 +
  10 files changed, 53 insertions(+), 1 deletions(-)
  create mode 100644 drivers/mmc/Makefile
  rename {cpu/at32ap = drivers/mmc}/atmel_mci.c (100%)
  rename {cpu/at32ap = drivers/mmc}/atmel_mci.h (100%)

Will you apply this in your repo and send me a pull request, or do you
want me to pick this up directly?

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH, MD: Wolfgang Denk  Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED]
Anyone who knows history, particularly the history of Europe, will, I
think, recognize that the domination of education or of government by
any one particular religious faith is never a happy  arrangement  for
the people.   - Eleanor Roosevelt

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users


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 sure to fix your mailer.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH, MD: Wolfgang Denk  Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED]
An Elephant is a mouse with an Operating System.  - Knuth

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users


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 syntax-highlight the file.
 
 Comments invited.
 
 Signed-off-by: Steve Falco [EMAIL PROTECTED]

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH, MD: Wolfgang Denk  Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED]
The so-called desktop metaphor of today's workstations  is  instead
an  airplane-seat  metaphor.  Anyone who has shuffled a lap full of
papers while seated between two portly passengers will recognize  the
difference -- one can see only a very few things at once.
   - Fred Brooks, Jr.

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users


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, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH, MD: Wolfgang Denk  Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED]
There's only one way to have a happy marriage and as soon as I learn
what it is I'll get married again.  - Clint Eastwood

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users


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 ---
  include/configs/MPC8349ITX.h|6 --
  include/configs/MPC8544DS.h |6 --
  include/configs/MPC8610HPCD.h   |4 
  include/configs/MPC8641HPCN.h   |4 
  include/configs/mpc7448hpc2.h   |3 ---
  6 files changed, 0 insertions(+), 26 deletions(-)

Can you please split this into two separate patches? Thanks in
advance.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH, MD: Wolfgang Denk  Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED]
The optimum committee has no members.
   - Norman Augustine

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users


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]
 ---
  drivers/block/Makefile   |1 +
  drivers/block/sata_sil3114.c |  839 
 ++
  drivers/block/sata_sil3114.h |  147 
  3 files changed, 987 insertions(+), 0 deletions(-)
  create mode 100644 drivers/block/sata_sil3114.c
  create mode 100644 drivers/block/sata_sil3114.h

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH, MD: Wolfgang Denk  Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED]
I'd rather be led to hell than managed to heaven.

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users


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: dereferencing type-punned pointer will break 
 strict-aliasing rules
...
 This is due to pointer aliasing that the dlmalloc code does and depends on.

Can you please explain why the dlmalloc code depends on this?

In my experience so far it has always been possible to avoid such
warnings by trivial changes to the code (the tricky part was usually
to understand what the exact problem was and what changes were
necessary).

 Instead of trying trying to work around the warnings, we use the per file
 CFLAGs to disable the warnings via -fno-strict-aliasing.

I tend to reject this patch. I would much rather have the problem
fixed in the sources. Hushing up compiler warnings has never been a
good idea.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH, MD: Wolfgang Denk  Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED]
Our business is run on trust.  We trust you will pay in advance.

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users


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 PROTECTED]
 ---
 
 This time around, instead of adding code to each board that implements TSEC, I
 implemented cpu_eth_init() in all architectures that have TSEC.  Preferably,
 this would have gone in new files in the CPU directories, but 'ld' made it
 impossible to guarantee that the code would be linked into the final 
 executable.
 Also, don't need include/netdev.h for now.
 
  cpu/mpc83xx/cpu.c |   20 
  cpu/mpc85xx/cpu.c |   30 ++
  cpu/mpc86xx/cpu.c |   27 +++
  net/eth.c |   31 +++
  4 files changed, 92 insertions(+), 16 deletions(-)

I understand that you will apply this to the net repository and send a
pull request then? Please confirm.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH, MD: Wolfgang Denk  Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED]
You are only young once, but you can stay immature indefinitely.

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users


[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 parts of the following comments / questions have
been obsoleted by recent events - I will try to catch up as soon as
possible, but I think it is better to send out this summary now,
i. e. _before_ I start reading he backlog of the last two weeks.


Here is a list of patches I had marked as open in my list, with
comments about their state, including comments who I consider to be
responsible for further progress:

Open question:

* Are CFG_64BIT_LBA and CONFIG_LBA48 kind of redundant?
  At least it seems that CONFIG_LBA48 requires CFG_64BIT_LBA to be set
  or we will have problems due to insufficient size of the data types.


* We have incompatible definitions of the CPU_TYPE_ENTRY for MPC83xx
  systems:

  In include/asm-ppc/processor.h:

 973 #define CPU_TYPE_ENTRY(n, v) \
 974 { .name = #n, .soc_ver = SVR_##v, }

  But in cpu/mpc83xx/cpu.c:

 47 #define CPU_TYPE_ENTRY(x) {#x, SPR_##x}

  This causes ``CPU_TYPE_ENTRY redefined'' warnings that need to get
  fixed.

  - for MPC83xx custodian

* Current NAND code (the Constants for hardware specific CLE/ALE/NCE
  functions in include/linux/mtd/nand.h, lines 75ff, break building
  on some boards like NETPHONE, NETTA, NETTA2, NETTA_ISDN, NETVIA_V2,
  SXNI855T (which have different definitions with the same names in
  their board config files) with error messages like these:

In file included from /home/wd/git/u-boot/work/include/nand.h:29,
 from board.c:94:
/home/wd/git/u-boot/work/include/linux/mtd/nand.h:82:1: warning: 
NAND_CTL_SETCLE redefin
ed
In file included from /home/wd/git/u-boot/work/include/config.h:4,
 from /home/wd/git/u-boot/work/include/common.h:35,
 from board.c:24:
/home/wd/git/u-boot/work/include/configs/NETPHONE.h:547:1: warning: 
this is the location o
f the previous definition
In file included from /home/wd/git/u-boot/work/include/nand.h:29,
 from board.c:94:
/home/wd/git/u-boot/work/include/linux/mtd/nand.h:84:1: warning: 
NAND_CTL_CLRCLE redefin
ed
In file included from /home/wd/git/u-boot/work/include/config.h:4,
 from /home/wd/git/u-boot/work/include/common.h:35,
 from board.c:24:

  etc.

  -- for NAND custodian.

* include/linux/mtd/mtd.h contains a definition of the DEBUG macro
  which conflicts with normal use like adding '-DDEBUG' on the
  command line.

  Also, I think we whould get rid of all the printk() stuff.

  -- for NAND custodian.

* U-Boot mailing list traffic:

 1116  04/24 michael[U-Boot-Users] [PATCH ARM 0/2] Ide support
 1117  04/24 michael[U-Boot-Users] [PATCH ARM 1/2] Ide support io 
function
 1118  04/24 michael[U-Boot-Users] [PATCH ARM 2/2] Ide support. Ide 
registration
- for ARM Custodian

 1785  05/06 Martha Marx[U-Boot-Users] [PATCH] Adds configurable IO Pin 
init for ADS5121
 2972  05/29 Martha Marx[U-Boot-Users] [PATCH] Configuration changes 
for ADS5121 Rev 3
 3882  06/16 Grant Likely Re: [U-Boot-Users] [PATCH] Configuration 
changes for ADS5121 Rev 3
 2973  05/29 Martha Marx[U-Boot-Users] [PATCH] Changes ADS5121 splash 
screen from hard-coded bmp to flash bmp
 3884  06/16 Grant Likely Re: [U-Boot-Users] [PATCH] Changes ADS5121 
splash screen from hard-coded bmp to flash bmp
 2976  05/29 Martha Marx[U-Boot-Users] [PATCH] Consolidates ADS5121 IO 
Pin configuration
 2979  05/29 Kenneth Johansson  Re: [U-Boot-Users] [PATCH] Consolidates ADS5121 
IO Pin configuration
 3883  06/16 Grant Likely Re: [U-Boot-Users] [PATCH] Consolidates ADS5121 
IO Pin configuration

- We have a big problem here. The thing is that we need a
   MPC521x custodian. Grant Likely (custodian for MPC52xx)
   cannot / does not want to take this responsibility;
   I would like to help but I cannot as I don't have access to
   latest hardware.
   I think that John Rigby is probably in the best position
   for this role.  John, are you (or anybody else) voluteering?

 2147  05/13 Jason Jin  [PATCH] Feed the watchdog in u-boot for 8610 
board.
- for 86xx custodian

 2378  05/18 Jean-Christophe P  [U-Boot-Users] [PATCH 08/17] marabun_pcmcia: 
Move compile condition to the Makefile
 2379  05/18 Jean-Christophe P  [U-Boot-Users] [PATCH 09/17] pxa_pcmcia: Move 
compile condition to the Makefile
 2380  05/18 Jean-Christophe P  [U-Boot-Users] [PATCH 10/17] 
pcmcia/ti_pci1410a: Move compile condition to the Makefile
 2447  05/19 Haavard 

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 Denk

-- 
DENX Software Engineering GmbH, MD: Wolfgang Denk  Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED]
Hello! I'm from outer space,  and I've made myself look like a signa-
ture.  While  you  are reading this, I'm having sex with your eyes. I
know it feels good to you, because you're smiling. I'm very horny, so
send me to someone else when you've had enough. Thanks!
  Sincerely, A Stranger in a Strange Land

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users


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 soon?

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH, MD: Wolfgang Denk  Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED]
If there was anything that depressed him more than his own  cynicism,
it was that quite often it still wasn't as cynical as real life.
 - Terry Pratchett, _Guards! Guards!_

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users


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 the line wrapping of your mailer that corrupted
the patch.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH, MD: Wolfgang Denk  Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED]
e-credibility: the non-guaranteeable likelihood that  the  electronic
data you're seeing is genuine rather than somebody's made-up crap.
- Karl Lehenbauer

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users


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
 
  include/asm-ppc/bitops.h |   52 
 ++
  1 files changed, 52 insertions(+), 0 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH, MD: Wolfgang Denk  Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED]
You know, after a woman's raised a family and so on,  she  wants  to
start living her own life.   Whose life she's _been_ living, then?
  - Terry Pratchett, _Witches Abroad_

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users


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 week or so? Thanks.
 
 About week has passed so here is the reminder :)

Unfortunately, the original patch does not apply any more; could you
please rebase and resubmit it?  Thanks in advance.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH, MD: Wolfgang Denk  Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED]
You could end up being oddly sad and full of a strange, diffuse  com-
passion  which would lead you to believe that it might be a good idea
to wipe out the whole human race and start again with amoebas.
 - Terry Pratchett, _Guards! Guards!_

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users


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 |1 -
  include/spi.h |9 +
  lib_ppc/board.c   |2 --
  6 files changed, 11 insertions(+), 7 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH, MD: Wolfgang Denk  Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED]
I think they're going to take all this money that we  spend  now  on
war and death --   And make them spend it on life.
-- Edith Keeler and Kirk, The City on the Edge of Forever,
   stardate unknown.

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users


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 think that using a
homogenuous set of compiler flags for all source fines is a good
thing. If single source files need different handling,we should rather
think why this is the case and probably fix the cause instead of
doctoring with the symptoms or finally giving in and twek compiler
options until we don't see the warnings / errors any more.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH, MD: Wolfgang Denk  Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED]
A man is not complete until he is married -- then he is finished.

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users


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 [EMAIL PROTECTED](none)
 ---
  board/cm5200/cm5200.c   |2 +-
  board/ids8247/ids8247.c |2 +-
  board/mgcoge/mgcoge.c   |6 +++---
  board/mgsuvd/mgsuvd.c   |8 
  4 files changed, 9 insertions(+), 9 deletions(-)

Please resubmit with a valid mail address in the Signed-off-by: line.
Thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH, MD: Wolfgang Denk  Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED]
When the ax entered the forest, the trees said, The handle is one of
us!   -- Turkish proverb

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users


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 file, but system config file.
 CPU type is reasonably one of system configuration, IMO.
 
 I cannot follow you here. Especially I have no idea what you mean by
 system config file.
 
 To make sure we use the same terms: THe board config file is the
 board specific header file include/configs/boardname.h. This file
 is definitely NOT the correct place to tweak compiler and/or assembler
 options (not to mention that I don't see how this would be done).
 
 I _guess_ you might be referring to the cpu/*/config.mk files, but
 then the term _board_ config file is wrong.

Sorry for confusion. I see all the aboves.

 P.S. I decided to defer this patch due to some reason. That's another
  story and will inform the list later.
 
 Since I haven't heard again about this I assume this is for the next
 merge window (or even later). Is this assumption correct,

Correct.


  Shinya

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users


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 comment?

Carefully reviewed as much as I could, but yes it's not fully tested.
I only did some build tests before patch submission.

I expect all board config files, which have one of the existing ethernet
driver config, already have CONFIG_CMD_NET and CONFIG_NET_MULTI, too.
But even if that is the case, there still might be some build breakage.

One of possible down sides of this change, upcomming ports or fully new
ports might encounter build failures due to missing symbols caused by
the lacks of libnet.a, command/cmd_bdinfo.o or something.

[ this could be easily fixed (and must be fixed at the end). ]

Avoiding unnecessary build failures like this, hence prefer the tight
coupling of net|driver|command configs, please revert the patch. Patch
seems already applied to upstream contrary to Wolfgang's comment.


  Shinya


-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users


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
architecture which supports the 'ethaddr' kernel parameter.  Is this
right?  What I want to make sure is whether 'ethaddr' is an unusual
kernel parameter or not.

I think it's possible to probe MAC address(es) on kernel side, and it's
common practice IMO. [ if not so, Linux couldn't work without suitable
bootldrs which can pass the 'ethaddr' parameter. It's inconvenient, at
least for me. ]

However, I don't have strong opinions on this matter.  If you still have
troubles without this change, or can't probe MAC addresses by Kernel due
to some reason, I'll apply the patch.

Comments?


  Shinya

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users