summaryrefslogtreecommitdiff
path: root/include/asm-ppc/u-boot.h
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2005-08-16 18:18:00 +0200
committerStefan Roese <sr@denx.de>2005-08-16 18:18:00 +0200
commitd6c61aabc49c22a5c040f046fdc04dc478ed071f (patch)
treeea793de701f14cfa4154786c8a240d1d24964ad4 /include/asm-ppc/u-boot.h
parent98128f389cc318dbd1d597cf8d2d09902cddcb4b (diff)
Merged 405gp_enet.c and 440gx_enet.c to generic 4xx_enet.c
now handling all 4xx cpu's. Patch by Stefan Roese, 16 Aug 2005
Diffstat (limited to 'include/asm-ppc/u-boot.h')
-rw-r--r--include/asm-ppc/u-boot.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/include/asm-ppc/u-boot.h b/include/asm-ppc/u-boot.h
index 161a29506b..4fcebe7a4f 100644
--- a/include/asm-ppc/u-boot.h
+++ b/include/asm-ppc/u-boot.h
@@ -109,14 +109,18 @@ typedef struct bd_info {
#if defined(CONFIG_NX823)
unsigned char bi_sernum[8];
#endif
-#if defined(CONFIG_440EP) || defined(CONFIG_440GR)
- int bi_phynum[2]; /* Determines phy mapping */
- int bi_phymode[2]; /* Determines phy mode */
-#endif
+#if defined(CONFIG_4xx)
#if defined(CONFIG_440GX)
int bi_phynum[4]; /* Determines phy mapping */
int bi_phymode[4]; /* Determines phy mode */
+#elif defined(CONFIG_405EP) || defined(CONFIG_440)
+ int bi_phynum[2]; /* Determines phy mapping */
+ int bi_phymode[2]; /* Determines phy mode */
+#else
+ int bi_phynum[1]; /* Determines phy mapping */
+ int bi_phymode[1]; /* Determines phy mode */
#endif
+#endif /* defined(CONFIG_4xx) */
} bd_t;
#endif /* __ASSEMBLY__ */