summaryrefslogtreecommitdiff
path: root/src/devices
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices')
-rw-r--r--src/devices/Kconfig53
-rw-r--r--src/devices/Makefile.inc21
2 files changed, 74 insertions, 0 deletions
diff --git a/src/devices/Kconfig b/src/devices/Kconfig
new file mode 100644
index 0000000000..6f78cc6324
--- /dev/null
+++ b/src/devices/Kconfig
@@ -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
diff --git a/src/devices/Makefile.inc b/src/devices/Makefile.inc
new file mode 100644
index 0000000000..9ef4e69517
--- /dev/null
+++ b/src/devices/Makefile.inc
@@ -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
+