diff options
author | Greg Watson <jarrah@users.sourceforge.net> | 2003-11-15 15:28:05 +0000 |
---|---|---|
committer | Greg Watson <jarrah@users.sourceforge.net> | 2003-11-15 15:28:05 +0000 |
commit | 83348820150d5491d5ccc5ba9921fe5c007c16dd (patch) | |
tree | 80fb7132be281a9bd479c5329c7672c31da7f48a /src/mainboard/motorola/sandpoint/init.c | |
parent | d57923c870a518a5431675b8c8453be9049cf884 (diff) |
*** empty log message ***
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1287 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/motorola/sandpoint/init.c')
-rw-r--r-- | src/mainboard/motorola/sandpoint/init.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/mainboard/motorola/sandpoint/init.c b/src/mainboard/motorola/sandpoint/init.c index 3bfdb5c2a6..9496b7a94c 100644 --- a/src/mainboard/motorola/sandpoint/init.c +++ b/src/mainboard/motorola/sandpoint/init.c @@ -33,6 +33,7 @@ #include <ppc_asm.tmpl> #include <ppc.h> #include <arch/io.h> +#include <printk.h> void pnp_output(char address, char data) { @@ -56,8 +57,9 @@ board_init(void) */ pnp_output(0x07, 6); /* LD 6 = UART0 */ pnp_output(0x30, 0); /* Dectivate */ - pnp_output(0x60, TTYS0_BASE >> 8); /* IO Base */ - pnp_output(0x61, TTYS0_BASE & 0xFF); /* IO Base */ + pnp_output(0x60, UART0_IO_BASE >> 8); /* IO Base */ + pnp_output(0x61, UART0_IO_BASE & 0xFF); /* IO Base */ pnp_output(0x30, 1); /* Activate */ - uart8250_init(UART0_IO_BASE, 115200/TTYS0_BAUD, TTYS0_LCS); + uart8250_init(TTYS0_BASE, 115200/TTYS0_BAUD, TTYS0_LCS); + printk_info("Board initialized...\n"); } |