/*[System Initialization]*/
sys_Init();
/*[Timer Init] & [Active]*/
sys_timer_init(); // This subrouting only init timer but not active
// set ET0=0x01; EA=0x01; to active timer
ET0 = 0x01; /* Enable Timer 0 Interrupt*/
EA = 0x01; /*Global Interrupt Enable*/
/*[Console UART Init]*/
uart_init(); DEBUGF(DEBUG_UART, ("\r\n Uart Init......OK!"));
/*[EEPROM Init]*/
eepromInit();
ethSetMacAddr(); /* set it from config in eeprom */
/* initialize MAC */
ethInit(); printf("\r\n Ethernet Driver Init OK!");
/*[Set MY_MAC]*/
set_my_mac();
/* [GPIO Device Init] */
dev_init(); DEBUGF(DEBUG_UART, ("\r\n Device Init OK!"));
}