summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
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 */
/**********************************************************************/