******************************************************************/
void ether_init (void)
{
-#ifdef CONFIG_DRIVER_LAN91C96
+#ifdef CONFIG_LAN91C96
int cnt = 20;
__raw_writeb(0x3,OMAP2420_CTRL_BASE+0x10a); /*protect->gpio95 */
int dram_init (void)
{
unsigned int size0=0,size1=0;
- u32 mtype, btype, rev, cpu;
+ u32 mtype, btype, rev;
u8 chg_on = 0x5; /* enable charge of back up battery */
u8 vmode_on = 0x8C;
#define NOT_EARLY 0
btype = get_board_type();
mtype = get_mem_type();
rev = get_cpu_rev();
- cpu = get_cpu_type();
display_board_info(btype);
if (btype == BOARD_H4_MENELAUS){