summaryrefslogtreecommitdiff
path: root/src/device/pci_device.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/device/pci_device.c')
-rw-r--r--src/device/pci_device.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/device/pci_device.c b/src/device/pci_device.c
index 13ab1127da..02eca66e27 100644
--- a/src/device/pci_device.c
+++ b/src/device/pci_device.c
@@ -671,6 +671,11 @@ static int should_run_oprom(struct device *dev)
if (should_run >= 0)
return should_run;
+ if (IS_ENABLED(CONFIG_ALWAYS_RUN_OPROM)) {
+ should_run = 1;
+ return should_run;
+ }
+
/* Don't run VGA option ROMs, unless we have to print
* something on the screen before the kernel is loaded.
*/