blob: c24c71c30fe66e974ca7d96e8fbe8c381498e1e1 [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
Stefan Reinauer8e073822012-04-04 00:07:22 +020042
43config EHCI_BAR
44 hex
45 default 0xfef00000
46
Vladimir Serbinenko6a7aeb32014-01-05 11:37:32 +010047config DRAM_RESET_GATE_GPIO
48 int
49 default 60
50
Stefan Reinauer8e073822012-04-04 00:07:22 +020051config BOOTBLOCK_SOUTHBRIDGE_INIT
52 string
53 default "southbridge/intel/bd82x6x/bootblock.c"
54
55config SERIRQ_CONTINUOUS_MODE
56 bool
57 default n
58 help
59 If you set this option to y, the serial IRQ machine will be
60 operated in continuous mode.
61
Patrick Georgi9aeb6942012-10-05 21:54:38 +020062config HPET_MIN_TICKS
63 hex
64 default 0x80
65
Nico Hubera15cd662013-06-19 16:16:05 +020066config HAVE_IFD_BIN
Martin Roth3fda3c22015-07-09 21:02:26 -060067 def_bool y
Nico Hubera15cd662013-06-19 16:16:05 +020068
69config BUILD_WITH_FAKE_IFD
Martin Roth3fda3c22015-07-09 21:02:26 -060070 def_bool !HAVE_IFD_BIN
Stefan Reinauer7004b7c2012-10-31 17:30:13 -070071
Vladimir Serbinenkod3b194e2015-05-12 12:39:53 +020072endif
73
74if SOUTHBRIDGE_INTEL_BD82X6X || SOUTHBRIDGE_INTEL_C216 || SOUTHBRIDGE_INTEL_IBEXPEAK
75
76choice
77 prompt "Flash ROM locking on S3 resume"
78 default LOCK_SPI_ON_RESUME_NONE
79
80config LOCK_SPI_ON_RESUME_NONE
81 bool "Don't lock ROM sections on S3 resume"
82
83config LOCK_SPI_ON_RESUME_RO
Nico Huberd1fb5642013-07-01 16:02:36 +020084 bool "Lock all flash ROM sections on S3 resume"
Nico Huberd1fb5642013-07-01 16:02:36 +020085 help
86 If the flash ROM shall be protected against write accesses from the
87 operating system (OS), the locking procedure has to be repeated after
88 each resume from S3. Select this if you never want to update the flash
89 ROM from within your OS. Notice: Even with this option, the write lock
90 has still to be enabled on the normal boot path (e.g. by the payload).
91
Vladimir Serbinenkod3b194e2015-05-12 12:39:53 +020092config LOCK_SPI_ON_RESUME_NO_ACCESS
93 bool "Lock and disable reads all flash ROM sections on S3 resume"
94 help
95 If the flash ROM shall be protected against all accesses from the
96 operating system (OS), the locking procedure has to be repeated after
97 each resume from S3. Select this if you never want to update the flash
98 ROM from within your OS. Notice: Even with this option, the lock
99 has still to be enabled on the normal boot path (e.g. by the payload).
100
101endchoice
102
Stefan Reinauer8e073822012-04-04 00:07:22 +0200103endif