From 5bb226e821ea3c10c52d768ffab7952204b0f816 Mon Sep 17 00:00:00 2001 From: wdenk Date: Mon, 17 Nov 2003 21:14:37 +0000 Subject: * 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 --- include/asm-ppc/u-boot.h | 4 ++++ include/configs/PPChameleonEVB.h | 2 ++ include/net.h | 1 + 3 files changed, 7 insertions(+) (limited to 'include') 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 */ /**********************************************************************/ -- cgit v1.1