blob: 9f7e3e619a0ac8064695b8d2c9686cc744a8a579 [file] [log] [blame]
Nico Huber1c811282013-06-15 20:33:44 +02001/*
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'Callaghan377fd752014-10-21 07:51:24 +110027void pnp_enter_conf_mode_55(struct device *dev);
28void pnp_enter_conf_mode_8787(struct device *dev);
29void pnp_exit_conf_mode_aa(struct device *dev);
30void pnp_enter_conf_mode_870155aa(struct device *dev);
31void pnp_exit_conf_mode_0202(struct device *dev);
Nico Huber1c811282013-06-15 20:33:44 +020032
33extern const struct pnp_mode_ops pnp_conf_mode_55_aa;
34extern const struct pnp_mode_ops pnp_conf_mode_8787_aa;
Edward O'Callaghanbf9f2432014-05-06 17:24:59 +100035extern const struct pnp_mode_ops pnp_conf_mode_870155_aa;
Nico Huber1c811282013-06-15 20:33:44 +020036
Edward O'Callaghanbf9f2432014-05-06 17:24:59 +100037#endif /* DEVICE_PNP_CONF_MODE_H */