summaryrefslogtreecommitdiff
path: root/src/mainboard/motorola
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/motorola')
-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");
}