enable early uart

git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1600 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Greg Watson 2004-06-04 22:28:23 +00:00
parent cb5f0ce6a7
commit c72e27616d
1 changed files with 8 additions and 0 deletions

View File

@ -26,8 +26,16 @@
#include <ppc_asm.tmpl> #include <ppc_asm.tmpl>
#include <ppc.h> #include <ppc.h>
#include <arch/io.h>
#include <console/console.h>
void void
board_init(void) board_init(void)
{ {
/*
* Enable UART
*/
uart8250_init(TTYS0_BASE, TTYS0_DIV, TTYS0_LCS);
printk_info("briQ board initialized...\n");
} }