Move memory type information out of some AMD sockets.
[coreboot.git] / src / northbridge / amd / amdfam10 / Kconfig
1 ##
2 ## This file is part of the coreboot project.
3 ##
4 ## Copyright (C) 2007-2009 coresystems GmbH
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 config NORTHBRIDGE_AMD_AMDFAM10
21         bool
22         select HAVE_DEBUG_RAM_SETUP
23         select HAVE_DEBUG_SMBUS
24         select HYPERTRANSPORT_PLUGIN_SUPPORT
25         select NORTHBRIDGE_AMD_AMDFAM10_ROOT_COMPLEX
26         select MMCONF_SUPPORT
27
28 config AGP_APERTURE_SIZE
29         hex
30         default 0x4000000
31         depends on NORTHBRIDGE_AMD_AMDFAM10
32
33 config HT3_SUPPORT
34         bool
35         default y
36         depends on NORTHBRIDGE_AMD_AMDFAM10
37
38 config AMDMCT
39         bool
40         default y
41         depends on NORTHBRIDGE_AMD_AMDFAM10
42
43 config MEM_TRAIN_SEQ
44         int
45         default 0
46         depends on NORTHBRIDGE_AMD_AMDFAM10
47
48 config HW_MEM_HOLE_SIZEK
49         hex
50         default 0x100000
51         depends on NORTHBRIDGE_AMD_AMDFAM10
52
53 config HW_MEM_HOLE_SIZE_AUTO_INC
54         bool
55         default n
56         depends on NORTHBRIDGE_AMD_AMDFAM10
57
58 config MMCONF_BASE_ADDRESS
59         hex
60         default 0xe0000000
61         depends on NORTHBRIDGE_AMD_AMDFAM10
62
63 config MMCONF_BUS_NUMBER
64         int
65         default 256
66         depends on NORTHBRIDGE_AMD_AMDFAM10
67
68 config BOOTBLOCK_NORTHBRIDGE_INIT
69         string
70         default "northbridge/amd/amdfam10/bootblock.c"
71         depends on NORTHBRIDGE_AMD_AMDFAM10
72
73 config SB_HT_CHAIN_UNITID_OFFSET_ONLY
74         bool
75         default n
76         depends on NORTHBRIDGE_AMD_AMDFAM10
77
78 config DIMM_FBDIMM
79         bool
80         default n
81         depends on NORTHBRIDGE_AMD_AMDFAM10
82
83 config DIMM_DDR2
84         bool
85         default n
86         depends on NORTHBRIDGE_AMD_AMDFAM10
87
88 config DIMM_DDR3
89         bool
90         default n
91         depends on NORTHBRIDGE_AMD_AMDFAM10
92
93 config DIMM_REGISTERED
94         bool
95         default n
96         depends on NORTHBRIDGE_AMD_AMDFAM10
97
98 if DIMM_FB_DIMM
99         config DIMM_SUPPORT
100                 hex
101                 default 0x0110
102 endif
103
104 if DIMM_DDR2
105         if DIMM_REGISTERED
106         config DIMM_SUPPORT
107                 hex
108                 default 0x0104
109         endif
110
111         if !DIMM_REGISTERED
112         config DIMM_SUPPORT
113                 hex
114                 default 0x0004
115         endif
116 endif
117
118 if DIMM_DDR3
119         if DIMM_REGISTERED
120         config DIMM_SUPPORT
121                 hex
122                 default 0x0005
123         endif
124 endif
125
126 source src/northbridge/amd/amdfam10/root_complex/Kconfig