summaryrefslogtreecommitdiff
path: root/src/device
diff options
context:
space:
mode:
Diffstat (limited to 'src/device')
-rw-r--r--src/device/Kconfig2
-rw-r--r--src/device/pci_device.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/device/Kconfig b/src/device/Kconfig
index 421ad66fea..8dc9ecdff9 100644
--- a/src/device/Kconfig
+++ b/src/device/Kconfig
@@ -117,7 +117,7 @@ config NO_GFX_INIT
endchoice
-config PRE_GRAPHICS_DELAY
+config PRE_GRAPHICS_DELAY_MS
int "Graphics initialization delay in ms"
default 0
depends on VGA_ROM_RUN
diff --git a/src/device/pci_device.c b/src/device/pci_device.c
index cd98f07605..161715fadd 100644
--- a/src/device/pci_device.c
+++ b/src/device/pci_device.c
@@ -734,8 +734,8 @@ static int should_load_oprom(struct device *dev)
static void oprom_pre_graphics_stall(void)
{
- if (CONFIG_PRE_GRAPHICS_DELAY)
- mdelay(CONFIG_PRE_GRAPHICS_DELAY);
+ if (CONFIG_PRE_GRAPHICS_DELAY_MS)
+ mdelay(CONFIG_PRE_GRAPHICS_DELAY_MS);
}
/** Default handler: only runs the relevant PCI BIOS. */