Martin Roth | 5856240 | 2015-10-11 10:36:26 +0200 | [diff] [blame] | 1 | ## |
| 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 Roth | 5856240 | 2015-10-11 10:36:26 +0200 | [diff] [blame] | 16 | |
| 17 | config NORTHBRIDGE_INTEL_FSP_RANGELEY |
| 18 | bool |
| 19 | select CPU_INTEL_FSP_MODEL_406DX |
| 20 | |
| 21 | if NORTHBRIDGE_INTEL_FSP_RANGELEY |
| 22 | |
| 23 | config MMCONF_BASE_ADDRESS |
| 24 | hex |
| 25 | default 0xe0000000 |
| 26 | |
| 27 | choice |
| 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 | |
| 34 | config SET_TSEG_1MB |
| 35 | bool "1 MB" |
| 36 | help |
| 37 | Set the TSEG area to 1 MB. |
| 38 | |
| 39 | config SET_TSEG_2MB |
| 40 | bool "2 MB" |
| 41 | help |
| 42 | Set the TSEG area to 2 MB. |
| 43 | |
| 44 | config SET_TSEG_4MB |
| 45 | bool "4 MB" |
| 46 | help |
| 47 | Set the TSEG area to 4 MB. |
| 48 | |
| 49 | config SET_TSEG_8MB |
| 50 | bool "8 MB" |
| 51 | help |
| 52 | Set the TSEG area to 8 MB. |
| 53 | endchoice |
| 54 | |
| 55 | config 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 | |
| 62 | config 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 | |
| 69 | config SET_DEFAULT_TSEG_1MB |
| 70 | bool |
| 71 | default n |
| 72 | |
| 73 | config SET_DEFAULT_TSEG_2MB |
| 74 | bool |
| 75 | default n |
| 76 | |
| 77 | config SET_DEFAULT_TSEG_4MB |
| 78 | bool |
| 79 | default n |
| 80 | |
| 81 | config SET_DEFAULT_TSEG_8MB |
| 82 | bool |
| 83 | default n |
| 84 | |
| 85 | # Rangeley Specific FSP Kconfig |
| 86 | source src/northbridge/intel/fsp_rangeley/fsp/Kconfig |
| 87 | |
| 88 | endif # NORTHBRIDGE_INTEL_FSP_RANGELEY |