2 * This file is part of the coreboot project.
4 * Copyright (C) 2008 Arastra, Inc.
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.
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.
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
40 #define DEVPRES_D0F0 (1 << 0)
41 #define DEVPRES_D1F0 (1 << 1)
42 #define DEVPRES_D2F0 (1 << 2)
43 #define DEVPRES_D3F0 (1 << 3)
44 #define DEVPRES_D4F0 (1 << 4)
45 #define DEVPRES_D5F0 (1 << 5)
46 #define DEVPRES_D6F0 (1 << 6)
47 #define DEVPRES_D7F0 (1 << 7)
53 #define REMAPBASE 0XC6
54 #define REMAPLIMIT 0XC8
55 #define REMAPOFFSET 0XCA
57 #define EXPECBASE 0XCE
59 #define DEVPRES1_D0F1 (1 << 5)
60 #define DEVPRES1_D8F0 (1 << 1)
64 #define DRC_NOECC_MODE (0 << 20)
65 #define DRC_72BIT_ECC (1 << 20)
69 int bios_reset_detected(void);