diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-ppc/u-boot.h | 4 | ||||
-rw-r--r-- | include/configs/PPChameleonEVB.h | 2 | ||||
-rw-r--r-- | include/net.h | 1 |
3 files changed, 7 insertions, 0 deletions
diff --git a/include/asm-ppc/u-boot.h b/include/asm-ppc/u-boot.h index f8cbeed..a442003 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 b480114..78ae6ba 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 98d59e7..39debc6 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 */ /**********************************************************************/ |