blob: fcdaba231781a568c055637e5770c2e58aec43f4 [file] [log] [blame]
Greg Watson6ff2ab92004-01-13 22:18:03 +00001/*
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
Stefan Reinauer6ab43fc2005-10-05 18:17:45 +000019 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
20 * MA 02110-1301 USA
Greg Watson6ff2ab92004-01-13 22:18:03 +000021 */
22
23/*
24 * Do very early board initialization:
Greg Watson6ff2ab92004-01-13 22:18:03 +000025 */
26
27#include <ppc_asm.tmpl>
28#include <ppc.h>
Greg Watsonc72e2762004-06-04 22:28:23 +000029#include <arch/io.h>
30#include <console/console.h>
Greg Watson6ff2ab92004-01-13 22:18:03 +000031
32void
33board_init(void)
34{
Greg Watsonab8ff842004-06-05 14:54:46 +000035}
36
37void
38board_init2(void)
39{
Greg Watsonc72e2762004-06-04 22:28:23 +000040 /*
41 * Enable UART
42 */
43 uart8250_init(TTYS0_BASE, TTYS0_DIV, TTYS0_LCS);
Greg Watsonab8ff842004-06-05 14:54:46 +000044 printk_info("briQ initialized...\n");
Greg Watsonc72e2762004-06-04 22:28:23 +000045
Greg Watson6ff2ab92004-01-13 22:18:03 +000046}