summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGreg Watson <jarrah@users.sourceforge.net>2003-11-15 15:28:05 +0000
committerGreg Watson <jarrah@users.sourceforge.net>2003-11-15 15:28:05 +0000
commit83348820150d5491d5ccc5ba9921fe5c007c16dd (patch)
tree80fb7132be281a9bd479c5329c7672c31da7f48a /src
parentd57923c870a518a5431675b8c8453be9049cf884 (diff)
downloadcoreboot-83348820150d5491d5ccc5ba9921fe5c007c16dd.tar.xz
*** empty log message ***
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1287 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/motorola/sandpoint/Config.lb4
-rw-r--r--src/mainboard/motorola/sandpoint/init.c8
2 files changed, 7 insertions, 5 deletions
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 <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");
}