2012-10-30 15:03:43 +01:00
|
|
|
##
|
|
|
|
## This file is part of the coreboot project.
|
|
|
|
##
|
|
|
|
## Copyright (C) 2011 Google Inc.
|
|
|
|
##
|
|
|
|
## This program is free software; you can redistribute it and/or modify
|
|
|
|
## it under the terms of the GNU General Public License as published by
|
|
|
|
## the Free Software Foundation; version 2 of the License.
|
|
|
|
##
|
|
|
|
## This program is distributed in the hope that it will be useful,
|
|
|
|
## but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
## GNU General Public License for more details.
|
|
|
|
##
|
|
|
|
## You should have received a copy of the GNU General Public License
|
|
|
|
## along with this program; if not, write to the Free Software
|
|
|
|
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
|
|
##
|
|
|
|
|
|
|
|
config SOUTHBRIDGE_INTEL_LYNXPOINT
|
|
|
|
bool
|
|
|
|
|
|
|
|
if SOUTHBRIDGE_INTEL_LYNXPOINT
|
|
|
|
|
|
|
|
config SOUTH_BRIDGE_OPTIONS # dummy
|
|
|
|
def_bool y
|
2013-07-28 22:39:37 +02:00
|
|
|
select SOUTHBRIDGE_INTEL_COMMON
|
2012-10-30 15:03:43 +01:00
|
|
|
select IOAPIC
|
|
|
|
select HAVE_HARD_RESET
|
2013-08-13 08:10:31 +02:00
|
|
|
select HAVE_USBDEBUG_OPTIONS
|
2012-10-30 15:03:43 +01:00
|
|
|
select USE_WATCHDOG_ON_BOOT
|
|
|
|
select PCIEXP_ASPM
|
|
|
|
select PCIEXP_COMMON_CLOCK
|
|
|
|
select SPI_FLASH
|
lynxpoint: Add cbfs_load_payload() implementation
SPI accesses can be slow depending on the setup and the access pattern.
The current SPI hardware setup to cache and prefetch. The alternative
cbfs_load_payload() function takes advantage of the caching in the CPU
because the ROM is cached as write protected as well as the SPI's
hardware's caching/prefetching implementation. The CPU will fetch
consecutive aligned cachelines which will hit the ROM as
cacheline-aligned addresses. Once the payload is mirrored into RAM the
segment loading can take place by reading RAM instead of ROM.
With the alternative cbfs_load_payload() the boot time on a baskingridge
board saves ~100ms. This savings is observed using cbmem.py after
performing warm reboots and looking at TS_SELFBOOT_JUMP (99) entries.
This is booting with a depthcharge payload whose payload file fits
within the SMM_DEFAULT_SIZE (0x10000 bytes).
Datapoints with TS_LOAD_PAYLOAD (90) & TS_SELFBOOT_JUMP (99) cbmem entries:
Baseline Alt
-------- --------
90:3,859,310 (473) 90:3,863,647 (454)
99:3,989,578 (130,268) 99:3,888,709 (25,062)
90:3,899,450 (477) 90:3,860,926 (463)
99:4,029,459 (130,008) 99:3,890,583 (29,657)
90:3,834,600 (466) 90:3,890,564 (465)
99:3,964,535 (129,934) 99:3,920,213 (29,649)
Booted baskingridge many times and observed 100ms reduction in
TS_SELFBOOT_JUMP times (time to load payload).
Change-Id: I27b2dec59ecd469a4906b4179b39928e9201db81
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/2783
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
2013-01-22 20:54:12 +01:00
|
|
|
select ALT_CBFS_LOAD_PAYLOAD
|
2012-10-30 15:03:43 +01:00
|
|
|
|
2012-12-17 20:11:26 +01:00
|
|
|
config INTEL_LYNXPOINT_LP
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Set this option to y for Lynxpont LP (Haswell ULT).
|
|
|
|
|
2012-10-30 15:03:43 +01:00
|
|
|
config EHCI_BAR
|
|
|
|
hex
|
2013-08-13 08:10:31 +02:00
|
|
|
default 0xe8000000
|
2012-10-30 15:03:43 +01:00
|
|
|
|
|
|
|
config EHCI_DEBUG_OFFSET
|
|
|
|
hex
|
|
|
|
default 0xa0
|
|
|
|
|
|
|
|
config BOOTBLOCK_SOUTHBRIDGE_INIT
|
|
|
|
string
|
|
|
|
default "southbridge/intel/lynxpoint/bootblock.c"
|
|
|
|
|
|
|
|
config SERIRQ_CONTINUOUS_MODE
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
If you set this option to y, the serial IRQ machine will be
|
|
|
|
operated in continuous mode.
|
|
|
|
|
2013-06-13 15:07:02 +02:00
|
|
|
config ME_BIN_PATH
|
|
|
|
string "Path to management engine firmware"
|
|
|
|
default "3rdparty/mainboard/$(MAINBOARDDIR)/me.bin"
|
|
|
|
|
|
|
|
config IFD_BIN_PATH
|
|
|
|
string "Path to intel firmware descriptor"
|
|
|
|
default "3rdparty/mainboard/$(MAINBOARDDIR)/descriptor.bin"
|
|
|
|
|
2012-10-30 15:03:43 +01:00
|
|
|
endif
|