Add constants for fast path resume copying
[coreboot.git] / src / northbridge / amd / amdk8 / 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_AMDK8
21         bool
22         select HAVE_DEBUG_RAM_SETUP
23         select HAVE_DEBUG_SMBUS
24         select HAVE_DEBUG_CAR
25         select HYPERTRANSPORT_PLUGIN_SUPPORT
26
27 if NORTHBRIDGE_AMD_AMDK8
28 config AGP_APERTURE_SIZE
29         hex
30         default 0x4000000
31
32 config K8_HT_FREQ_1G_SUPPORT
33         bool
34         default n
35
36 config MEM_TRAIN_SEQ
37         int
38         default 0
39
40 # Force 2T DRAM timing (vendor BIOS does it even for single DIMM setups and
41 # single DIMM is indeed unreliable without it).
42 config K8_FORCE_2T_DRAM_TIMING
43         bool
44         default n
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 BOOTBLOCK_NORTHBRIDGE_INIT
55         string
56         default "northbridge/amd/amdk8/bootblock.c"
57
58 config SB_HT_CHAIN_UNITID_OFFSET_ONLY
59         bool
60         default n
61
62 config QRANK_DIMM_SUPPORT
63         bool
64         default n
65
66 config K8_ALLOCATE_IO_RANGE
67         bool
68         default n
69
70 if K8_REV_F_SUPPORT
71
72 config DIMM_DDR2
73         bool
74         default n
75
76 config DIMM_REGISTERED
77         bool
78         default n
79
80 if DIMM_DDR2
81         if DIMM_REGISTERED
82         config DIMM_SUPPORT
83                 hex
84                 default 0x0104
85         endif
86
87         if !DIMM_REGISTERED
88         config DIMM_SUPPORT
89                 hex
90                 default 0x0004
91         endif
92 endif #DIMM_DDR2
93
94 endif #K8_REV_F_SUPPORT
95
96 config IOMMU
97         bool
98         default y
99
100 endif #NORTHBRIDGE_AMD_K8
101
102 source src/northbridge/amd/amdk8/root_complex/Kconfig