Kconfig!
Works on Kontron, qemu, and serengeti. Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de> tested on abuild only. Acked-by: Ronald G. Minnich <rminnich@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4534 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
committed by
Ronald G. Minnich
parent
38cd29ebd7
commit
0588d19abe
53
src/devices/Kconfig
Normal file
53
src/devices/Kconfig
Normal file
@@ -0,0 +1,53 @@
|
||||
##
|
||||
## This file is part of the coreboot project.
|
||||
##
|
||||
## Copyright (C) 2007 coresystems GmbH
|
||||
## (Written by Stefan Reinauer <stepan@coresystems.de> for coresystems GmbH)
|
||||
##
|
||||
## 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
|
||||
##
|
||||
|
||||
menu "Devices"
|
||||
|
||||
config VGA_ROM_RUN
|
||||
bool
|
||||
help
|
||||
Execute PCI/AGP option ROMs if available. This is required to
|
||||
enable PCI/AGP VGA plugin cards.
|
||||
|
||||
choice
|
||||
prompt "Execute PCI Option ROMs"
|
||||
default PCI_OPTION_ROM_RUN_REALMODE
|
||||
help
|
||||
Execute PCI/AGP option ROMs if available. You can choose to
|
||||
execute PCI option ROMs natively (32bit x86 system required),
|
||||
in an emulator (x86emu), or ignore option ROM execution.
|
||||
|
||||
config PCI_OPTION_ROM_RUN_REALMODE
|
||||
prompt "Run VGA ROMs"
|
||||
bool
|
||||
select VGA_ROM_RUN
|
||||
help
|
||||
Execute PCI/AGP option ROMs if available. This is required to
|
||||
enable PCI/AGP VGA plugin cards.
|
||||
|
||||
config NO_RUN
|
||||
prompt "DO NOT Run VGA ROMs"
|
||||
bool
|
||||
help
|
||||
Execute PCI/AGP option ROMs if available. This is required to
|
||||
enable PCI/AGP VGA plugin cards.
|
||||
|
||||
endchoice
|
||||
endmenu
|
21
src/devices/Makefile.inc
Normal file
21
src/devices/Makefile.inc
Normal file
@@ -0,0 +1,21 @@
|
||||
obj-y += device.o
|
||||
obj-y += root_device.o
|
||||
obj-y += device_util.o
|
||||
obj-y += pci_device.o
|
||||
obj-y += hypertransport.o
|
||||
obj-y += pcix_device.o
|
||||
obj-y += pciexp_device.o
|
||||
obj-y += agp_device.o
|
||||
obj-y += cardbus_device.o
|
||||
obj-y += pnp_device.o
|
||||
obj-y += pci_ops.o
|
||||
obj-y += smbus_ops.o
|
||||
|
||||
ifeq ($(CONFIG_PCI_ROM_RUN),y)
|
||||
obj-$(CONFIG_PCI_ROM_RUN) += pci_rom.o
|
||||
subdirs-$(CONFIG_PCI_ROM_RUN) += ../../util/x86emu
|
||||
else
|
||||
obj-$(CONFIG_VGA_ROM_RUN) += pci_rom.o
|
||||
subdirs-$(CONFIG_VGA_ROM_RUN) += ../../util/x86emu
|
||||
endif
|
||||
|
Reference in New Issue
Block a user