Drop remainders of the removed Totalimpact board. Fix typos.
[coreboot.git] / src / mainboard / motorola / sandpoint / init.c
index 816412b8f76e64aa71afbd7205be4cfad25ae927..42acd3516444643bb290c3f1666810ee98191c91 100644 (file)
@@ -16,8 +16,8 @@
  *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
- * MA 02111-1307 USA
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
+ * MA 02110-1301 USA
  */
 
 /*
 
 void pnp_output(char address, char data)
 {
-       outb(address, PNP_CFGADDR);
-       outb(data, PNP_CFGDATA);
+       outb(address, CONFIG_PNP_CFGADDR);
+       outb(data, CONFIG_PNP_CFGDATA);
 }
 
 void
 board_init(void)
-{
-}
-
-void
-board_init2(void)
 {
        /*
         * Enable UART0
@@ -60,9 +55,14 @@ board_init2(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, CONFIG_TTYS0_BASE >> 8); /* IO Base */
+       pnp_output(0x61, CONFIG_TTYS0_BASE & 0xFF); /* IO Base */
        pnp_output(0x30, 1); /* Activate */
-       uart8250_init(TTYS0_BASE, 115200/TTYS0_BAUD, TTYS0_LCS);
+       uart8250_init(CONFIG_TTYS0_BASE, 115200/CONFIG_TTYS0_BAUD, CONFIG_TTYS0_LCS);
+}
+
+void
+board_init2(void)
+{
        printk_info("Sandpoint initialized...\n");
 }