blob: ae951d39e4442f67b15e10dfb411c62d299dfc06 [file] [log] [blame]
Joseph Smith0fd8ccd2008-05-16 15:43:35 +00001/*
2 * This file is part of the coreboot project.
3 *
Joseph Smith0d7a9962010-03-17 03:18:29 +00004 * Copyright (C) 2008-2010 Joseph Smith <joe@settoplinux.org>
Joseph Smith0fd8ccd2008-05-16 15:43:35 +00005 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19 */
20
21#include <device/device.h>
Joseph Smith0d7a9962010-03-17 03:18:29 +000022#include <boot/tables.h>
23#include <arch/coreboot_tables.h>
Joseph Smith0fd8ccd2008-05-16 15:43:35 +000024#include "chip.h"
25
Joseph Smith0d7a9962010-03-17 03:18:29 +000026int add_mainboard_resources(struct lb_memory *mem)
27{
28 return add_northbridge_resources(mem);
29}
30
Stefan Reinauer800379f2010-03-01 08:34:19 +000031static void mainboard_init(device_t dev)
32{
33 // TODO Switch parport LEDs again
34}
35
36static void mainboard_enable(device_t dev)
37{
38 // TODO Switch parport LEDs
39 dev->ops->init = mainboard_init;
40}
41
Carl-Daniel Hailfinger7ad11e82009-02-18 20:41:57 +000042struct chip_operations mainboard_ops = {
Stefan Reinauer800379f2010-03-01 08:34:19 +000043 .enable_dev = mainboard_enable,
Joseph Smith0fd8ccd2008-05-16 15:43:35 +000044 CHIP_NAME("THOMSON IP1000 Mainboard")
45};