]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Fix incorrect array size of phy settings for 405EX
authorWeirich, Bernhard <Bernhard.Weirich@riedel.net>
Thu, 8 Sep 2011 16:27:38 +0000 (18:27 +0200)
committerStefan Roese <sr@denx.de>
Mon, 19 Sep 2011 09:51:21 +0000 (11:51 +0200)
Change bd_t->bi_phy* arrays from 1 to 2 for PPC405EX since
405EX has 2 ethernet interfaces.

Signed-off-by: Bernhard Weirich <bernhard.weirich@riedel.net>
Signed-off-by: Stefan Roese <sr@denx.de>
arch/powerpc/include/asm/u-boot.h

index b37770568708bc1e32961d289e20c7dfc4d15279..721692a3851509436eba6f217670ed8cd688486e 100644 (file)
@@ -132,7 +132,7 @@ typedef struct bd_info {
     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_405EX) || defined(CONFIG_440)
        int             bi_phynum[2];           /* Determines phy mapping */
        int             bi_phymode[2];          /* Determines phy mode */
 #else