74e0ff454b578b3067c0b94c7c06cc8b0f6c3353
[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 HAVE_DEBUG_CAR
25         select HYPERTRANSPORT_PLUGIN_SUPPORT
26         select NORTHBRIDGE_AMD_AMDFAM10_ROOT_COMPLEX
27         select MMCONF_SUPPORT
28
29 if NORTHBRIDGE_AMD_AMDFAM10
30 config AGP_APERTURE_SIZE
31         hex
32         default 0x4000000
33
34 config HT3_SUPPORT
35         bool
36         default y
37
38 config AMDMCT
39         bool
40         default y
41
42 config MEM_TRAIN_SEQ
43         int
44         default 0
45
46 config HW_MEM_HOLE_SIZEK
47         hex
48         default 0x100000
49
50 config HW_MEM_HOLE_SIZE_AUTO_INC
51         bool
52         default n
53
54 config MMCONF_BASE_ADDRESS
55         hex
56         default 0xe0000000
57
58 config MMCONF_BUS_NUMBER
59         int
60         default 256
61
62 config BOOTBLOCK_NORTHBRIDGE_INIT
63         string
64         default "northbridge/amd/amdfam10/bootblock.c"
65
66 config SB_HT_CHAIN_UNITID_OFFSET_ONLY
67         bool
68         default n
69
70 config DIMM_FBDIMM
71         bool
72         default n
73
74 config DIMM_DDR2
75         bool
76         default n
77
78 config DIMM_DDR3
79         bool
80         default n
81
82 config DIMM_REGISTERED
83         bool
84         default n
85
86 if DIMM_FBDIMM
87         config DIMM_SUPPORT
88                 hex
89                 default 0x0110
90 endif
91
92 if DIMM_DDR2
93         if DIMM_REGISTERED
94         config DIMM_SUPPORT
95                 hex
96                 default 0x0104
97         endif
98
99         if !DIMM_REGISTERED
100         config DIMM_SUPPORT
101                 hex
102                 default 0x0004
103         endif
104 endif
105
106 if DIMM_DDR3
107         if DIMM_REGISTERED
108         config DIMM_SUPPORT
109                 hex
110                 default 0x0005
111         endif
112 endif
113 endif
114
115 config SVI_HIGH_FREQ
116         bool
117         default n
118         depends on NORTHBRIDGE_AMD_AMDFAM10
119         help
120           Select this for boards with a Voltage Regulator able to operate
121           at 3.4 MHz in SVI mode. Ignored unless the AMD CPU is rev C3.
122  
123 source src/northbridge/amd/amdfam10/root_complex/Kconfig