blob: ecc365df7e58ebe9c9d6eba074df19f96a449fbb [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.
Nico Huber1c811282013-06-15 20:33:44 +020014 */
15
16#ifndef DEVICE_PNP_CONF_MODE_H
17#define DEVICE_PNP_CONF_MODE_H
18
19#include <device/device.h>
20#include <device/pnp.h>
21
22/* Common enter/exit implementations */
Edward O'Callaghan377fd752014-10-21 07:51:24 +110023void pnp_enter_conf_mode_55(struct device *dev);
Edward O'Callaghanb14bf882014-11-01 09:14:58 +110024void pnp_enter_conf_mode_6767(struct device *dev);
25void pnp_enter_conf_mode_7777(struct device *dev);
Edward O'Callaghan377fd752014-10-21 07:51:24 +110026void pnp_enter_conf_mode_8787(struct device *dev);
Edward O'Callaghanb14bf882014-11-01 09:14:58 +110027void pnp_enter_conf_mode_a0a0(struct device *dev);
Edward O'Callaghan377fd752014-10-21 07:51:24 +110028void pnp_exit_conf_mode_aa(struct device *dev);
29void pnp_enter_conf_mode_870155aa(struct device *dev);
30void pnp_exit_conf_mode_0202(struct device *dev);
Nico Huber1c811282013-06-15 20:33:44 +020031
32extern const struct pnp_mode_ops pnp_conf_mode_55_aa;
Edward O'Callaghanb14bf882014-11-01 09:14:58 +110033extern const struct pnp_mode_ops pnp_conf_mode_6767_aa;
34extern const struct pnp_mode_ops pnp_conf_mode_7777_aa;
Nico Huber1c811282013-06-15 20:33:44 +020035extern const struct pnp_mode_ops pnp_conf_mode_8787_aa;
Edward O'Callaghanb14bf882014-11-01 09:14:58 +110036extern const struct pnp_mode_ops pnp_conf_mode_a0a0_aa;
Edward O'Callaghanbf9f2432014-05-06 17:24:59 +100037extern const struct pnp_mode_ops pnp_conf_mode_870155_aa;
Nico Huber1c811282013-06-15 20:33:44 +020038
Edward O'Callaghanbf9f2432014-05-06 17:24:59 +100039#endif /* DEVICE_PNP_CONF_MODE_H */