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