public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] Fix incorrect array size of phy settings for 405EX
@ 2011-09-08 16:27 Weirich, Bernhard
  2011-09-09  6:51 ` Wolfgang Denk
  2011-09-19 11:58 ` Stefan Roese
  0 siblings, 2 replies; 4+ messages in thread
From: Weirich, Bernhard @ 2011-09-08 16:27 UTC (permalink / raw)
  To: u-boot

Hello,

I just noticed that on 405EX the bd_t->bi_phy* arrays have just 1 member, but should have two.
So I propose this very simple patch.

Best regards,
Bernhard Weirich

Signed-off-by: Bernhard Weirich <bernhard.weirich@riedel.net>
--- u-boot-v2010.12-rc3-orig/arch/powerpc/include/asm/u-boot.h	2010-12-20 10:58:41.000000000 +0100
+++ u-boot-v2010.12-rc3/arch/powerpc/include/asm/u-boot.h	2011-09-08 18:25:57.136700984 +0200
@@ -132,7 +132,7 @@
     defined(CONFIG_460EX) || defined(CONFIG_460GT)
 	int		bi_phynum[4];           /* Determines phy mapping */
 	int		bi_phymode[4];          /* Determines phy mode */
-#elif defined(CONFIG_405EP) || defined(CONFIG_440)
+#elif defined(CONFIG_405EP) || defined(CONFIG_440) || defined(CONFIG_405EX)
 	int		bi_phynum[2];           /* Determines phy mapping */
 	int		bi_phymode[2];          /* Determines phy mode */
 #else

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-09-19 11:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-08 16:27 [U-Boot] [PATCH] Fix incorrect array size of phy settings for 405EX Weirich, Bernhard
2011-09-09  6:51 ` Wolfgang Denk
2011-09-09  7:05   ` Stefan Roese
2011-09-19 11:58 ` Stefan Roese

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox