diff options
author | Nico Huber <nico.h@gmx.de> | 2023-05-18 14:08:23 +0200 |
---|---|---|
committer | Felix Singer <service+coreboot-gerrit@felixsinger.de> | 2023-05-21 19:50:45 +0000 |
commit | eae75064a8c3c3cd08302f31561e051e1217dc72 (patch) | |
tree | 2fb8019965264a2b5928c27b91876949e2d8ae10 /src/mainboard/lenovo/x200 | |
parent | e55825f3c6686faba7af0538b3967a95ba26e10c (diff) |
nb/intel/gm45/gma: Centralize call to gm45_get_lvds_edid_str()
There is only a single place where we need the LVDS EDID string. Let's
call gm45_get_lvds_edid_str() right there. This simplifies the API and
helps to follow the execution flow.
The function is moved to avoid a forward declaration.
Change-Id: I86f3a88e6b661bcf60319edbe301e70304924727
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/75378
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
Diffstat (limited to 'src/mainboard/lenovo/x200')
-rw-r--r-- | src/mainboard/lenovo/x200/blc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/lenovo/x200/blc.c b/src/mainboard/lenovo/x200/blc.c index 655be567e6..99def22d23 100644 --- a/src/mainboard/lenovo/x200/blc.c +++ b/src/mainboard/lenovo/x200/blc.c @@ -38,7 +38,7 @@ int get_blc_values(const struct blc_pwm_t **entries) const char *mainboard_vbt_filename(void) { - u16 pwm_freq = get_blc_pwm_freq_value(gm45_get_lvds_edid_str()); + u16 pwm_freq = get_blc_pwm_freq_value(); if (pwm_freq == 0) { printk(BIOS_DEBUG, |