2 * This file is part of the coreboot project.
4 * Copyright (C) 2008-2009 coresystems GmbH
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License as
8 * published by the Free Software Foundation; version 2 of
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.
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
21 #ifndef SOUTHBRIDGE_INTEL_I82801GX_CHIP_H
22 #define SOUTHBRIDGE_INTEL_I82801GX_CHIP_H
24 struct southbridge_intel_i82801gx_config {
26 * Interrupt Routing configuration
27 * If bit7 is 1, the interrupt is disabled.
29 uint8_t pirqa_routing;
30 uint8_t pirqb_routing;
31 uint8_t pirqc_routing;
32 uint8_t pirqd_routing;
33 uint8_t pirqe_routing;
34 uint8_t pirqf_routing;
35 uint8_t pirqg_routing;
36 uint8_t pirqh_routing;
39 * GPI Routing configuration
41 * Only the lower two bits have a meaning:
43 * 01: SMI# (if corresponding ALT_GPI_SMI_EN bit is also set)
44 * 10: SCI (if corresponding GPIO_EN bit is also set)
57 uint8_t gpi10_routing;
58 uint8_t gpi11_routing;
59 uint8_t gpi12_routing;
60 uint8_t gpi13_routing;
61 uint8_t gpi14_routing;
62 uint8_t gpi15_routing;
65 uint16_t alt_gp_smi_en;
67 /* IDE configuration */
68 uint32_t ide_legacy_combined;
69 uint32_t ide_enable_primary;
70 uint32_t ide_enable_secondary;
74 extern struct chip_operations southbridge_intel_i82801gx_ops;
76 #endif /* SOUTHBRIDGE_INTEL_I82801GX_CHIP_H */