b7edf0b7e9644309f1dd96b1b4e222427d42f637
[coreboot.git] / src / mainboard / totalimpact / briq / init.c
1 /*
2  * Copyright (C) 2003, Greg Watson <gwatson@lanl.gov>
3  *
4  * See file CREDITS for list of people who contributed to this
5  * project.
6  *
7  * This program is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU General Public License as
9  * published by the Free Software Foundation; either version 2 of
10  * the License, or (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program; if not, write to the Free Software
19  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
20  * MA 02110-1301 USA
21  */
22
23 /*
24  * Do very early board initialization:
25  */
26
27 #include <ppc_asm.tmpl>
28 #include <ppc.h>
29 #include <arch/io.h>
30 #include <console/console.h>
31 #include <uart8250.h>
32
33 void
34 board_init(void)
35 {
36 }
37
38 void
39 board_init2(void)
40 {
41         /*
42          * Enable UART
43          */
44         uart8250_init(CONFIG_TTYS0_BASE, CONFIG_TTYS0_DIV, CONFIG_TTYS0_LCS);
45         printk_info("briQ initialized...\n");
46
47 }