pci: Add PCI device infrastructure
Add generic PCI packages:
o HW.PCI containing basic definitions for PCI devices and
configuration space headers,
o HW.PCI.MMConf that provides access to memory mapped confi-
guration space of a PCI device, and
o HW.PCI.Dev adding a method to map resources of a PCI device.
Change-Id: I266ea35e273ff49fdb3176d617bb0b4ab1f13f93
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/20258
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
diff --git a/configs/defconfig b/configs/defconfig
index c0db7c3..c47e560 100644
--- a/configs/defconfig
+++ b/configs/defconfig
@@ -5,3 +5,4 @@
CONFIG_HWBASE_TIMER_CLOCK_GETTIME = y
CONFIG_HWBASE_TIMER_MUTIME =
CONFIG_HWBASE_POSIX_FILE =
+CONFIG_HWBASE_DEFAULT_MMCONF = 16\#f000_0000\#
diff --git a/configs/posix b/configs/posix
index 183a5b5..f75f6e7 100644
--- a/configs/posix
+++ b/configs/posix
@@ -5,3 +5,4 @@
CONFIG_HWBASE_TIMER_CLOCK_GETTIME = y
CONFIG_HWBASE_TIMER_MUTIME =
CONFIG_HWBASE_POSIX_FILE = y
+CONFIG_HWBASE_DEFAULT_MMCONF = 0