summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-11-17 21:14:37 +0000
committerwdenk <wdenk>2003-11-17 21:14:37 +0000
commit5bb226e821ea3c10c52d768ffab7952204b0f816 (patch)
tree51eb8e2b0c55cd3a441fb5bee5b2a9fcbee92928 /include
parent5cf9da4821db0b6d86d8bbb74af86a0303063201 (diff)
* Use "-fPIC" instead of "-mrelocatable" to prevent problems with
recent tools * Add checksum verification to 'imls' command * Add bd_info fields needed for 4xx Linux I2C driver * Patch by Martin Krause, 4 Nov. 2003: Fix error in cmd_vfd.c (TRAB board: "vfd /1" shows now only one Bitmap) * Print used network interface when CONFIG_NET_MULTI is set
Diffstat (limited to 'include')
-rw-r--r--include/asm-ppc/u-boot.h4
-rw-r--r--include/configs/PPChameleonEVB.h2
-rw-r--r--include/net.h1
3 files changed, 7 insertions, 0 deletions
diff --git a/include/asm-ppc/u-boot.h b/include/asm-ppc/u-boot.h
index f8cbeede5d..a442003ccb 100644
--- a/include/asm-ppc/u-boot.h
+++ b/include/asm-ppc/u-boot.h
@@ -92,6 +92,10 @@ typedef struct bd_info {
/* third onboard ethernet port */
unsigned char bi_enet2addr[6];
#endif
+#if defined(CONFIG_405GP) || defined(CONFIG_405EP)
+ unsigned int bi_opbfreq; /* OPB clock in Hz */
+ int bi_iic_fast[2]; /* Use fast i2c mode */
+#endif
#if defined(CONFIG_NX823)
unsigned char bi_sernum[8];
#endif
diff --git a/include/configs/PPChameleonEVB.h b/include/configs/PPChameleonEVB.h
index b480114373..78ae6ba9c0 100644
--- a/include/configs/PPChameleonEVB.h
+++ b/include/configs/PPChameleonEVB.h
@@ -691,4 +691,6 @@
#endif
#endif
+#define CFG_OPB_FREQ 50000000
+
#endif /* __CONFIG_H */
diff --git a/include/net.h b/include/net.h
index 98d59e73c2..39debc673d 100644
--- a/include/net.h
+++ b/include/net.h
@@ -117,6 +117,7 @@ extern int eth_init(bd_t *bis); /* Initialize the device */
extern int eth_send(volatile void *packet, int length); /* Send a packet */
extern int eth_rx(void); /* Check for received packets */
extern void eth_halt(void); /* stop SCC */
+extern char *eth_get_name(void); /* get name of current device */
/**********************************************************************/