Joseph Smith | 0fd8ccd | 2008-05-16 15:43:35 +0000 | [diff] [blame] | 1 | /* |
| 2 | * This file is part of the coreboot project. |
| 3 | * |
Joseph Smith | 0d7a996 | 2010-03-17 03:18:29 +0000 | [diff] [blame^] | 4 | * Copyright (C) 2008-2010 Joseph Smith <joe@settoplinux.org> |
Joseph Smith | 0fd8ccd | 2008-05-16 15:43:35 +0000 | [diff] [blame] | 5 | * |
| 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 Smith | 0d7a996 | 2010-03-17 03:18:29 +0000 | [diff] [blame^] | 22 | #include <boot/tables.h> |
| 23 | #include <arch/coreboot_tables.h> |
Joseph Smith | 0fd8ccd | 2008-05-16 15:43:35 +0000 | [diff] [blame] | 24 | #include "chip.h" |
| 25 | |
Joseph Smith | 0d7a996 | 2010-03-17 03:18:29 +0000 | [diff] [blame^] | 26 | int add_mainboard_resources(struct lb_memory *mem) |
| 27 | { |
| 28 | return add_northbridge_resources(mem); |
| 29 | } |
| 30 | |
Stefan Reinauer | 800379f | 2010-03-01 08:34:19 +0000 | [diff] [blame] | 31 | static void mainboard_init(device_t dev) |
| 32 | { |
| 33 | // TODO Switch parport LEDs again |
| 34 | } |
| 35 | |
| 36 | static void mainboard_enable(device_t dev) |
| 37 | { |
| 38 | // TODO Switch parport LEDs |
| 39 | dev->ops->init = mainboard_init; |
| 40 | } |
| 41 | |
Carl-Daniel Hailfinger | 7ad11e8 | 2009-02-18 20:41:57 +0000 | [diff] [blame] | 42 | struct chip_operations mainboard_ops = { |
Stefan Reinauer | 800379f | 2010-03-01 08:34:19 +0000 | [diff] [blame] | 43 | .enable_dev = mainboard_enable, |
Joseph Smith | 0fd8ccd | 2008-05-16 15:43:35 +0000 | [diff] [blame] | 44 | CHIP_NAME("THOMSON IP1000 Mainboard") |
| 45 | }; |