blob: bc7352641c13e02eb4b93bb16e72c99931cfc7c0 [file] [log] [blame]
Martin Roth58562402015-10-11 10:36:26 +02001##
2## This file is part of the coreboot project.
3##
4## Copyright (C) 2010 Google Inc.
5## Copyright (C) 2013 Sage Electronic Engineering, LLC.
6##
7## This program is free software; you can redistribute it and/or modify
8## it under the terms of the GNU General Public License as published by
9## the Free Software Foundation; version 2 of the License.
10##
11## This program is distributed in the hope that it will be useful,
12## but WITHOUT ANY WARRANTY; without even the implied warranty of
13## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14## GNU General Public License for more details.
15##
Martin Roth58562402015-10-11 10:36:26 +020016
17config NORTHBRIDGE_INTEL_FSP_RANGELEY
18 bool
19 select CPU_INTEL_FSP_MODEL_406DX
Martin Roth58562402015-10-11 10:36:26 +020020
21if NORTHBRIDGE_INTEL_FSP_RANGELEY
22
23config MMCONF_BASE_ADDRESS
24 hex
25 default 0xe0000000
26
27choice
28 prompt "Set TSEG Size"
29 default SET_TSEG_1MB if SET_DEFAULT_TSEG_1MB
30 default SET_TSEG_2MB if SET_DEFAULT_TSEG_2MB
31 default SET_TSEG_4MB if SET_DEFAULT_TSEG_4MB
32 default SET_TSEG_8MB if SET_DEFAULT_TSEG_8MB
33
34config SET_TSEG_1MB
35 bool "1 MB"
36 help
37 Set the TSEG area to 1 MB.
38
39config SET_TSEG_2MB
40 bool "2 MB"
41 help
42 Set the TSEG area to 2 MB.
43
44config SET_TSEG_4MB
45 bool "4 MB"
46 help
47 Set the TSEG area to 4 MB.
48
49config SET_TSEG_8MB
50 bool "8 MB"
51 help
52 Set the TSEG area to 8 MB.
53endchoice
54
55config SMM_TSEG_SIZE
56 hex
57 default 0x200000 if SET_TSEG_2MB
58 default 0x400000 if SET_TSEG_4MB
59 default 0x800000 if SET_TSEG_8MB
60 default 0x100000 # SET_TSEG_1MB
61
62config SMM_RESERVED_SIZE
63 hex
64 default 0x200000 if SET_TSEG_2MB
65 default 0x400000 if SET_TSEG_4MB
66 default 0x800000 if SET_TSEG_8MB
67 default 0x100000 # SET_TSEG_1MB
68
69config SET_DEFAULT_TSEG_1MB
70 bool
71 default n
72
73config SET_DEFAULT_TSEG_2MB
74 bool
75 default n
76
77config SET_DEFAULT_TSEG_4MB
78 bool
79 default n
80
81config SET_DEFAULT_TSEG_8MB
82 bool
83 default n
84
85# Rangeley Specific FSP Kconfig
86source src/northbridge/intel/fsp_rangeley/fsp/Kconfig
87
88endif # NORTHBRIDGE_INTEL_FSP_RANGELEY