int serial_init (void)
{
	DECLARE_GLOBAL_DATA_PTR;
    
    int clock_divisor = (CONFIG_SYS_TCLK / 16)/gd->baudrate;

	if (whoAmI() == MASTER_CPU)
    {	
#ifdef CONFIG_SYS_INIT_CHAN1
	mvUartInit(0, clock_divisor, mvUartBase(0));
#endif
    }
    
#if defined(MV78XX0)
    if ((whoAmI() == MASTER_CPU) || (whoAmI() == SLAVE_CPU))
#endif
    {
#ifdef CONFIG_SYS_INIT_CHAN2
	mvUartInit(1, clock_divisor, mvUartBase(1));
#endif
    }
#if 0
        /* print banner */
        print_mvBanner();
#endif

	return (0);
}
int serial_init (void)
{
	DECLARE_GLOBAL_DATA_PTR;
	
	if (whoAmI() == MASTER_CPU) {
		int clock_divisor = (CONFIG_SYS_TCLK / 16)/gd->baudrate;

#ifdef CONFIG_SYS_INIT_CHAN1
		mvUartInit(0, clock_divisor, mvUartBase(0));
#endif
#ifdef CONFIG_SYS_INIT_CHAN2
		mvUartInit(1, clock_divisor, mvUartBase(1));
#endif
	}
	/* print banner */
#if !defined(DB_88AP510_PCAC)
	print_mvBanner();
#endif
	return (0);
}