blob: 9eb31116610e2212c71ba5865f829063f87ae4cd [file] [log] [blame]
Stefan Reinauer8e073822012-04-04 00:07:22 +02001##
2## This file is part of the coreboot project.
3##
4## Copyright (C) 2011 Google Inc.
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##
Stefan Reinauer8e073822012-04-04 00:07:22 +020015
16config SOUTHBRIDGE_INTEL_BD82X6X
17 bool
18
19config SOUTHBRIDGE_INTEL_C216
20 bool
21
22if SOUTHBRIDGE_INTEL_BD82X6X || SOUTHBRIDGE_INTEL_C216
23
24config SOUTH_BRIDGE_OPTIONS # dummy
25 def_bool y
Aaron Durbin340898f2016-07-13 23:22:28 -050026 select ACPI_INTEL_HARDWARE_SLEEP_VALUES
Kyösti Mälkki71216c92013-07-28 23:39:37 +030027 select SOUTHBRIDGE_INTEL_COMMON
Arthur Heymans16fe7902017-04-12 17:01:31 +020028 select SOUTHBRIDGE_INTEL_COMMON_SMBUS
Stefan Reinauer8e073822012-04-04 00:07:22 +020029 select IOAPIC
30 select HAVE_HARD_RESET
Kyösti Mälkki545b30d2013-06-13 13:51:14 +030031 select HAVE_USBDEBUG_OPTIONS
Stefan Reinauer431a8162012-11-13 13:01:31 -080032 select HAVE_SMI_HANDLER
Stefan Reinauer8e073822012-04-04 00:07:22 +020033 select USE_WATCHDOG_ON_BOOT
34 select PCIEXP_ASPM
35 select PCIEXP_COMMON_CLOCK
Stefan Reinauer1c56d9b2012-05-10 11:27:32 -070036 select SPI_FLASH
Vladimir Serbinenko5b044ae2014-10-25 15:20:55 +020037 select COMMON_FADT
Alexander Couzens7bf47ee2015-04-16 02:00:21 +020038 select ACPI_SATA_GENERATOR
Martin Roth3fda3c22015-07-09 21:02:26 -060039 select HAVE_INTEL_FIRMWARE
Patrick Rudolphe8e66f42016-02-06 17:42:42 +010040 select SOUTHBRIDGE_INTEL_COMMON_GPIO
Aaron Durbin16246ea2016-08-05 21:23:37 -050041 select RTC
Bill XIEd533b162017-08-22 16:26:22 +080042 select HAVE_INTEL_CHIPSET_LOCKDOWN
Stefan Reinauer8e073822012-04-04 00:07:22 +020043
44config EHCI_BAR
45 hex
46 default 0xfef00000
47
Vladimir Serbinenko6a7aeb32014-01-05 11:37:32 +010048config DRAM_RESET_GATE_GPIO
49 int
50 default 60
51
Stefan Reinauer8e073822012-04-04 00:07:22 +020052config BOOTBLOCK_SOUTHBRIDGE_INIT
53 string
54 default "southbridge/intel/bd82x6x/bootblock.c"
55
56config SERIRQ_CONTINUOUS_MODE
57 bool
58 default n
59 help
60 If you set this option to y, the serial IRQ machine will be
61 operated in continuous mode.
62
Patrick Georgi9aeb6942012-10-05 21:54:38 +020063config HPET_MIN_TICKS
64 hex
65 default 0x80
66
Nico Hubera15cd662013-06-19 16:16:05 +020067config HAVE_IFD_BIN
Martin Roth3fda3c22015-07-09 21:02:26 -060068 def_bool y
Nico Hubera15cd662013-06-19 16:16:05 +020069
70config BUILD_WITH_FAKE_IFD
Martin Roth3fda3c22015-07-09 21:02:26 -060071 def_bool !HAVE_IFD_BIN
Stefan Reinauer7004b7c2012-10-31 17:30:13 -070072
Vladimir Serbinenkod3b194e2015-05-12 12:39:53 +020073endif
74
75if SOUTHBRIDGE_INTEL_BD82X6X || SOUTHBRIDGE_INTEL_C216 || SOUTHBRIDGE_INTEL_IBEXPEAK
76
77choice
78 prompt "Flash ROM locking on S3 resume"
79 default LOCK_SPI_ON_RESUME_NONE
80
81config LOCK_SPI_ON_RESUME_NONE
82 bool "Don't lock ROM sections on S3 resume"
83
84config LOCK_SPI_ON_RESUME_RO
Nico Huberd1fb5642013-07-01 16:02:36 +020085 bool "Lock all flash ROM sections on S3 resume"
Nico Huberd1fb5642013-07-01 16:02:36 +020086 help
87 If the flash ROM shall be protected against write accesses from the
88 operating system (OS), the locking procedure has to be repeated after
89 each resume from S3. Select this if you never want to update the flash
90 ROM from within your OS. Notice: Even with this option, the write lock
91 has still to be enabled on the normal boot path (e.g. by the payload).
92
Vladimir Serbinenkod3b194e2015-05-12 12:39:53 +020093config LOCK_SPI_ON_RESUME_NO_ACCESS
94 bool "Lock and disable reads all flash ROM sections on S3 resume"
95 help
96 If the flash ROM shall be protected against all accesses from the
97 operating system (OS), the locking procedure has to be repeated after
98 each resume from S3. Select this if you never want to update the flash
99 ROM from within your OS. Notice: Even with this option, the lock
100 has still to be enabled on the normal boot path (e.g. by the payload).
101
102endchoice
103
Stefan Reinauer8e073822012-04-04 00:07:22 +0200104endif