- add Kconfig option for CONFIG_SPI_FLASH_SMM - compile subsystem and chip drivers for smm if enabled - change mdelay(1) to udelay(500) since mdelay is not defined in SMM and a 1ms delay is worth avoiding - make flash chip structure non-const so the probe function pointers can be relocated for use in TSEG - Make SMM PCI access possible in southbridge SPI code Change-Id: Icfcbbe8e4e56658769d46af0b5bf6c79a6432641 Signed-off-by: Duncan Laurie <dlaurie@chromium.org> Reviewed-on: http://review.coreboot.org/1313 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
45 lines
1.3 KiB
Makefile
45 lines
1.3 KiB
Makefile
##
|
|
## This file is part of the coreboot project.
|
|
##
|
|
## Copyright (C) 2010 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
|
|
##
|
|
|
|
driver-y += pch.c
|
|
driver-y += azalia.c
|
|
driver-y += lpc.c
|
|
driver-y += pci.c
|
|
driver-y += pcie.c
|
|
driver-y += sata.c
|
|
driver-y += usb_ehci.c
|
|
driver-y += me.c
|
|
driver-y += me_8.x.c
|
|
driver-y += smbus.c
|
|
|
|
ramstage-y += me_status.c
|
|
ramstage-y += reset.c
|
|
ramstage-y += watchdog.c
|
|
|
|
ramstage-y += spi.c
|
|
smm-$(CONFIG_SPI_FLASH_SMM) += spi.c
|
|
|
|
ramstage-$(CONFIG_HAVE_SMI_HANDLER) += smi.c
|
|
smm-$(CONFIG_HAVE_SMI_HANDLER) += smihandler.c me.c me_8.x.c finalize.c
|
|
|
|
romstage-y += early_usb.c early_smbus.c early_me.c me_status.c gpio.c
|
|
romstage-$(CONFIG_USBDEBUG) += usb_debug.c
|
|
romstage-y += reset.c
|
|
|