From 83348820150d5491d5ccc5ba9921fe5c007c16dd Mon Sep 17 00:00:00 2001 From: Greg Watson Date: Sat, 15 Nov 2003 15:28:05 +0000 Subject: *** empty log message *** git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1287 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/mainboard/motorola/sandpoint/Config.lb | 4 ++-- src/mainboard/motorola/sandpoint/init.c | 8 +++++--- 2 files changed, 7 insertions(+), 5 deletions(-) (limited to 'src/mainboard/motorola') diff --git a/src/mainboard/motorola/sandpoint/Config.lb b/src/mainboard/motorola/sandpoint/Config.lb index 74b8816052..12d840620b 100644 --- a/src/mainboard/motorola/sandpoint/Config.lb +++ b/src/mainboard/motorola/sandpoint/Config.lb @@ -17,8 +17,8 @@ uses PNP_CFGDATA ## default PCIC0_CFGADDR=0xfec00000 default PCIC0_CFGDATA=0xfee00000 -default PNP_CFGADDR=0x15c -default PNP_CFGDATA=0x15d +default PNP_CFGADDR=0xfe00015c +default PNP_CFGDATA=0xfe00015d ## ## Early board initialization, called from ppc_main() 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 #include #include +#include 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"); } -- cgit v1.2.3