mirror of
https://github.com/Dasharo/slimbootloader.git
synced 2026-06-14 04:16:15 -07:00
Current SBL PCI enumeration does not allocate resource for PCI ROM bar because SBL does not deal with option ROM at all. However, the Linux kernel might expect the ROM bar resource to be allocated. This patch introduces a static build configuration to allow support PCI resource allocation for PCI ROM bar. To enable this feature, please add following into the project BoardConfig.py file: self._PCI_ENUM_FLAG_ALLOC_ROM_BAR = 1 By default, it will be disabled to keep the same behavior as before. Signed-off-by: Maurice Ma <maurice.ma@intel.com>