pci: Add bare metal HW.PCI.Dev implementation
Add a HW.PCI.Dev implementation that assumes direct hardware access,
i.e. its Map() implementations just returns the physical address of
a resource.
Change-Id: I055a05a17e207e8b43aa02d1b39023b027f94f6c
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/20551
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
diff --git a/common/hw-config.ads.template b/common/hw-config.ads.template
index a55b230..a45c849 100644
--- a/common/hw-config.ads.template
+++ b/common/hw-config.ads.template
@@ -19,4 +19,8 @@
Default_MMConf_Base : constant := <<DEFAULT_MMCONF_BASE>>;
+ ----------------------------------------------------------------------------
+
+ Default_MMConf_Base_Set : constant Boolean := Default_MMConf_Base /= 0;
+
end HW.Config;