summaryrefslogtreecommitdiff
path: root/arch/powerpc/include
diff options
context:
space:
mode:
authorWeirich, Bernhard <Bernhard.Weirich@riedel.net>2011-09-08 18:27:38 +0200
committerStefan Roese <sr@denx.de>2011-09-19 11:51:21 +0200
commit25fb02abdf7af37b3b9f83891115ee94e9073708 (patch)
tree89c4a69459744e3bc690a6253656935c0a9acd46 /arch/powerpc/include
parent56fa45d58116f86f343a9c45ce6d1110f50b8d70 (diff)
downloadu-boot-imx-25fb02abdf7af37b3b9f83891115ee94e9073708.zip
u-boot-imx-25fb02abdf7af37b3b9f83891115ee94e9073708.tar.gz
u-boot-imx-25fb02abdf7af37b3b9f83891115ee94e9073708.tar.bz2
Fix incorrect array size of phy settings for 405EX
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>
Diffstat (limited to 'arch/powerpc/include')
-rw-r--r--arch/powerpc/include/asm/u-boot.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/u-boot.h b/arch/powerpc/include/asm/u-boot.h
index b377705..721692a 100644
--- a/arch/powerpc/include/asm/u-boot.h
+++ b/arch/powerpc/include/asm/u-boot.h
@@ -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