727e48a63cb87f4b40ce3711ddae222587af7c04
[coreboot.git] / src / northbridge / intel / i3100 / i3100.h
1 /*
2  * This file is part of the coreboot project.
3  *
4  * Copyright (C) 2008 Arastra, Inc.
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 version 2 as
8  * published by the Free Software Foundation.
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
21 #define IURBASE 0X14
22 #define MCHCFG0 0X50
23 #define MCHSCRB 0X52
24 #define FDHC    0X58
25 #define PAM     0X59
26 #define DRB     0X60
27 #define DRA     0X70
28 #define DRT     0X78
29 #define DRC     0X7C
30 #define DRM     0X80
31 #define DRORC   0X82
32 #define ECCDIAG 0X84
33 #define SDRC    0X88
34 #define CKDIS   0X8C
35 #define CKEDIS  0X8D
36 #define DDRCSR  0X9A
37 #define DEVPRES 0X9C
38 #define  DEVPRES_D0F0 (1 << 0)
39 #define  DEVPRES_D1F0 (1 << 1)
40 #define  DEVPRES_D2F0 (1 << 2)
41 #define  DEVPRES_D3F0 (1 << 3)
42 #define  DEVPRES_D4F0 (1 << 4)
43 #define  DEVPRES_D5F0 (1 << 5)
44 #define  DEVPRES_D6F0 (1 << 6)
45 #define  DEVPRES_D7F0 (1 << 7)
46 #define ESMRC   0X9D
47 #define SMRC    0X9E
48 #define EXSMRC  0X9F
49 #define DDR2ODTC 0XB0
50 #define TOLM    0XC4
51 #define REMAPBASE 0XC6
52 #define REMAPLIMIT 0XC8
53 #define REMAPOFFSET 0XCA
54 #define TOM     0XCC
55 #define EXPECBASE 0XCE
56 #define DEVPRES1 0XF4
57 #define  DEVPRES1_D0F1 (1 << 5)
58 #define  DEVPRES1_D8F0 (1 << 1)
59 #define MSCFG   0XF6
60
61 /* DRC */
62 #define DRC_NOECC_MODE        (0 << 20)
63 #define DRC_72BIT_ECC         (1 << 20)