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>
This commit is contained in:
Paul Menzel 2021-02-11 10:43:14 +01:00 committed by Nico Huber
parent 6b688f5329
commit c4062c78a9
4 changed files with 5 additions and 5 deletions

View File

@ -607,7 +607,7 @@ int &lt;expr&gt; \[if &lt;expr&gt;\]
##### Example:
config PRE_GRAPHICS_DELAY
config PRE_GRAPHICS_DELAY_MS
int "Graphics initialization delay in ms"
default 0
help

View File

@ -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

View File

@ -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. */

View File

@ -52,7 +52,7 @@ config MAINBOARD_VERSION
default "1.0" if BOARD_PURISM_LIBREM13_V1
default "2.0" if BOARD_PURISM_LIBREM15_V2
config PRE_GRAPHICS_DELAY
config PRE_GRAPHICS_DELAY_MS
int
default 50