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); |
Edward O'Callaghan | b14bf88 | 2014-11-01 09:14:58 +1100 | [diff] [blame] | 28 | void pnp_enter_conf_mode_6767(struct device *dev); |
| 29 | void pnp_enter_conf_mode_7777(struct device *dev); |
Edward O'Callaghan | 377fd75 | 2014-10-21 07:51:24 +1100 | [diff] [blame] | 30 | void pnp_enter_conf_mode_8787(struct device *dev); |
Edward O'Callaghan | b14bf88 | 2014-11-01 09:14:58 +1100 | [diff] [blame] | 31 | void pnp_enter_conf_mode_a0a0(struct device *dev); |
Edward O'Callaghan | 377fd75 | 2014-10-21 07:51:24 +1100 | [diff] [blame] | 32 | void pnp_exit_conf_mode_aa(struct device *dev); |
| 33 | void pnp_enter_conf_mode_870155aa(struct device *dev); |
| 34 | void pnp_exit_conf_mode_0202(struct device *dev); |
Nico Huber | 1c81128 | 2013-06-15 20:33:44 +0200 | [diff] [blame] | 35 | |
| 36 | extern const struct pnp_mode_ops pnp_conf_mode_55_aa; |
Edward O'Callaghan | b14bf88 | 2014-11-01 09:14:58 +1100 | [diff] [blame] | 37 | extern const struct pnp_mode_ops pnp_conf_mode_6767_aa; |
| 38 | extern const struct pnp_mode_ops pnp_conf_mode_7777_aa; |
Nico Huber | 1c81128 | 2013-06-15 20:33:44 +0200 | [diff] [blame] | 39 | extern const struct pnp_mode_ops pnp_conf_mode_8787_aa; |
Edward O'Callaghan | b14bf88 | 2014-11-01 09:14:58 +1100 | [diff] [blame] | 40 | extern const struct pnp_mode_ops pnp_conf_mode_a0a0_aa; |
Edward O'Callaghan | bf9f243 | 2014-05-06 17:24:59 +1000 | [diff] [blame] | 41 | extern const struct pnp_mode_ops pnp_conf_mode_870155_aa; |
Nico Huber | 1c81128 | 2013-06-15 20:33:44 +0200 | [diff] [blame] | 42 | |
Edward O'Callaghan | bf9f243 | 2014-05-06 17:24:59 +1000 | [diff] [blame] | 43 | #endif /* DEVICE_PNP_CONF_MODE_H */ |