summaryrefslogtreecommitdiff
path: root/src/device/pci_device.c
diff options
context:
space:
mode:
authorPaul Menzel <pmenzel@molgen.mpg.de>2021-02-11 10:43:14 +0100
committerNico Huber <nico.h@gmx.de>2021-02-15 17:05:18 +0000
commitc4062c78a9d353d8d1f5250ab9bf65dda28c2b0c (patch)
tree16bd8da61c2cbd34b8c0d711983cd20ec144b2bf /src/device/pci_device.c
parent6b688f5329e560ef432f6ea281b2fe3d905ef297 (diff)
device: Add unit to Kconfig option name: `PRE_GRAPHICS_DELAY_MS`
It’s good practice to put the unit into the name. Change-Id: I1493f61d4e495c22f09abf1829bb2eab9b1fd2b6 Signed-off-by: Paul Menzel <pmenzel@molgen.mpg.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/50517 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/device/pci_device.c')
-rw-r--r--src/device/pci_device.c4
1 files changed, 2 insertions, 2 deletions
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. */