Nico Huber | 1c81128 | 2013-06-15 20:33:44 +0200 | [diff] [blame] | 1 | /* |
| 2 | * This file is part of the coreboot project. |
| 3 | * |
| 4 | * Copyright (C) 2013 Nico Huber <nico.h@gmx.de> |
| 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; version 2 of the License. |
| 9 | * |
| 10 | * This program is distributed in the hope that it will be useful, |
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | * GNU General Public License for more details. |
| 14 | * |
| 15 | * You should have received a copy of the GNU General Public License |
| 16 | * along with this program; if not, write to the Free Software |
| 17 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
| 18 | */ |
| 19 | |
| 20 | #ifndef DEVICE_PNP_CONF_MODE_H |
| 21 | #define DEVICE_PNP_CONF_MODE_H |
| 22 | |
| 23 | #include <device/device.h> |
| 24 | #include <device/pnp.h> |
| 25 | |
| 26 | /* Common enter/exit implementations */ |
Edward O'Callaghan | 377fd75 | 2014-10-21 07:51:24 +1100 | [diff] [blame^] | 27 | void pnp_enter_conf_mode_55(struct device *dev); |
| 28 | void pnp_enter_conf_mode_8787(struct device *dev); |
| 29 | void pnp_exit_conf_mode_aa(struct device *dev); |
| 30 | void pnp_enter_conf_mode_870155aa(struct device *dev); |
| 31 | void pnp_exit_conf_mode_0202(struct device *dev); |
Nico Huber | 1c81128 | 2013-06-15 20:33:44 +0200 | [diff] [blame] | 32 | |
| 33 | extern const struct pnp_mode_ops pnp_conf_mode_55_aa; |
| 34 | extern const struct pnp_mode_ops pnp_conf_mode_8787_aa; |
Edward O'Callaghan | bf9f243 | 2014-05-06 17:24:59 +1000 | [diff] [blame] | 35 | extern const struct pnp_mode_ops pnp_conf_mode_870155_aa; |
Nico Huber | 1c81128 | 2013-06-15 20:33:44 +0200 | [diff] [blame] | 36 | |
Edward O'Callaghan | bf9f243 | 2014-05-06 17:24:59 +1000 | [diff] [blame] | 37 | #endif /* DEVICE_PNP_CONF_MODE_H */ |